clj-new -- https://github.com/seancorfield/clj-new
This will generate new projects for you, either based on `clj`, or from any
existing Leiningen or Boot template (or, I hope in the future, `clj-template`
projects!).
You'll probably want to add clj-new as an alias in your ~/.clojure/deps.edn
like this:
{:aliases
{:new {:extra-deps {seancorfield/clj-new
{:git/url "https://github.com/seancorfield/clj-new"
:sha "492bb2e7ad7373a8b5958124a86cddc4c7a123d5"}}
:main-opts ["-m" "clj-new.create"]}}
...}
Create a basic application:
clj -A:new app myname/myapp
cd myapp
clj -m myname.myapp
Run the tests:
clj -A:test:runner
Yes, the `deps.edn` generated from the `app` (and `lib`) built-in template
includes aliases to include your `test` folder, add `test.check` as a
dependency, and bring in and run Cognitect's `test-runner`
The project name should either be a qualified Clojure symbol or a multi-segment
name -- single segment project names are not allowed!
For a qualified Clojure symbol, the first part is typically your GitHub account
name or your organization's domain reversed, e.g., `com.acme`, and the second
part is the "local" name for your project (and is used as the name of the
folder in which the project is created).
For a multi-segment project name, such as `foo.bar`, the folder that will be
created would be called `foo.bar` and will contain `src/foo/bar.clj`.
Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.