deps.edn
guide: https://clojure.org/guides/deps_and_clideps.edn
reference: https://clojure.org/reference/deps_and_cliInvoking the function provided by this library from the command-line. It returns an unimpressive map, which is what we expect:
clojure -X:run-x :arg '{:a 1}'
{:a 1}
Also, see ./test/piotr~yuxuan~/closeable~maptest~.clj.
This project was created with:
clojure -X:project/new :name piotr-yuxuan/closeable-map
Run the project's tests:
clojure -M:test:runner
Lint your code with:
clojure -M:lint/idiom
clojure -M:lint/kondo
Visualise links between project vars with:
mkdir graphs
clojure -M:graph/vars-svg
Build a deployable jar of this library:
lein do clean, jar
Install it locally:
lein do clean, install
Repository secrets are used; see in repository settings how to add:
CLOJARS_USERNAME
and CLOJARS_TOKEN
.
Create a new version once a jar has been created:
Version x.y.z
Deploy it to GitHub packages with this guide and:
mvn deploy -DaltDeploymentRepository=github::default::https://maven.pkg.github.com/piotr-yuxuan/closeable-map
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close