Skip to content

practicalli/random-clojure-function

Repository files navigation

random-clojure-function

An application that returns a random function name and description from the Clojure standard library

CircleCI

Installation

Download from https://github.com/practicalli/random-clojure-function.

Development

Open the src/practicalli/random-clojure-function.clj file in a Clojure editor, evaluate the whole namespace.

Cognitect Labs test runner is included in the deps.edn project configuration, for running all tests

clojure -A:test:runner

Run the application on the command line:

clojure -m practicalli.random-clojure-function

The application can take arguments that are names of namespaces available in the Clojure Standard Library.

clojure -m practicalli.random-clojure-function "clojure.string" "clojure.repl"

Deployment

Package the application into a JVM jar file, creating an uberjar that contains the application and the Clojure standard library.

clojure -A:uberjar-depstar

Run the application from the uberjar:

    $ java -jar random-clojure-function.jar

License

Copyright © 2020 Practicalli

Distributed under the Creative Commons Attribution Share-Alike 4.0 International

About

Show a random function from the Clojure Standard library

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published