Has an alias created in edn with the name “run”
CONFIG=moclojer.yml clojure -X:run
moclojer uses
XDG_CONFIG_HOMEto fetch the default moclojer configuration file, if you want to set a different directory you must use the-corCONFIGenvironment variable
You don’t have the binary file yet? Download it here. The moclojer is distributed as follows:
moclojer_<OS> - in binary format (you don’t need anything additional on your operating system to run it)
moclojer_Linuxmoclojer_macOSmoclojer.jar - in java format (you need to install java to run it)After creating the file you must run moclojer passing the configuration file by the CONFIG environment variable:
CONFIG=moclojer.yml moclojer # binary filename
CONFIG=moclojer.yml java -jar moclojer.jar
docker pull ghcr.io/avelino/moclojer:latest
docker run -it \
-v $(pwd)/moclojer.yml:/app/moclojer.yml \
ghcr.io/avelino/moclojer:latest
to use the edn format, you must pass the following parameters to docker:
-e CONFIG=moclojer.edn -v $(pwd)/moclojer.edn:/app/moclojer.edn
Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |