Document best practices for developing "bbin-ready" bb scripts

Open
#94 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale
Tech stack
clojure
Domain
cli, documentation

Research direction

Start by comparing the linked antq.clj example with the mentioned bb.edn, version.edn, and neil-related deps.edn files. The issue is complete when the project documents agreed best practices for versioning and preparing bb scripts for bbin installation, including whether a dedicated repository is needed.

Written by the indexing model from the issue text.

Description

I developed a few bb scripts for which I recommend direct raw file bbin installation (e.g. here).

But now I hit a limit: what if I want to version these scripts?

I see antq.clj use ad hoc versioning. Is this the recommended way?

Do I need to dedicate a repo to a script to set its version in a bb.edn file? in a version.edn file?

How does neil interplay (because I see this deps adds a version related to neil)?

Not sure where to start but my main question is: what are the best practices for developing "bbin-ready" bb scripts?

Dominant language
Clojure
Stars
195
Forks
15
Avg merge
1m
Merged PRs (30d)
2

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from babashka/bbin

All issues in babashka/bbin

Similar issues

More Clojure issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.