Skip to content

Latest commit

 

History

History
51 lines (28 loc) · 2.11 KB

README.md

File metadata and controls

51 lines (28 loc) · 2.11 KB

flexiana/templates

New templates using deps-new

Usage

This is a template project for use with deps-new. Assuming you have installed deps-new as your new "tool" via:

clojure -Ttools install io.github.seancorfield/deps-new '{:git/tag "v0.5.1"}' :as new

As originally generated, it will produce a new library project when you run one of these:

clojure -Sdeps '{:deps {io.github.flexiana/templates {:git/sha "<git-sha>"}}}' -Tnew create :template <template-name> :name <app-name>

<git-sha> can be the sha from the most recent commit to the main branch. Scroll up and find the SHA here.

Screenshot of SHA location

Available templates

Xiana Template

clojure -Sdeps '{:deps {io.github.flexiana/templates {:git/sha "588236a387e8184c2cdd2c562dfac528930e47d0"}}}' -Tnew create :template flexiana/xiana :name coolapp

Xiana-unstable Template

In order to use this template you need to clone xiana-framework into the same directory that contains your new project directory. You may need to checkout a particular branch there in order to use new features that we are working on.

clojure -Sdeps '{:deps {io.github.flexiana/templates {:git/sha "588236a387e8184c2cdd2c562dfac528930e47d0"}}}' -Tnew create :template flexiana/xiana_unstable :name coolapp

Electric Template

clojure -Sdeps '{:deps {io.github.flexiana/templates {:git/sha "588236a387e8184c2cdd2c562dfac528930e47d0"}}}' -Tnew create :template flexiana/electric :name coolapp

Run this template project's tests (by default, this just validates your template's template.edn file -- that it is valid EDN and it satisfies the deps-new Spec for template files):

clojure -T:build test

License

Copyright © 2023 Flexiana

EPLv1.0 is just the default for projects generated by deps-new: you are not required to open source this project, nor are you required to use EPLv1.0! Feel free to remove or change the LICENSE file and remove or update this section of the README.md file!

Distributed under the Eclipse Public License version 1.0.