Skip to content

donut-party/single-page-app-template

Repository files navigation

party.donut/single-page-app

Template for a Donut single page app. Uses the minimal project as its base.

Development

To update this template, we copy over files from minimal and perform some transformations to get the files template-ready.

This is done in a shell script, as is the command to try the template:

./bin/update.sh
./bin/try.sh # ensure the template works

Usage

This is a template project for use with deps-new. As originally generated, it will produce a new library project when run:

clojure \
  -Sdeps '{:deps {party.donut/single-page-app {:local/root "./"}}}'\
  -Tnew create \
  :template party.donut/single-page-app \
  :name group-name/app-name \
  :target-dir ../your-target-directory

Assuming you have installed deps-new as your new "tool" via:

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

Note: once the template has been published (to a public git repo), the invocation will be the same, except the :local/root dependency will be replaced by a git or Maven-like coordinate.

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 Daniel Higginbotham

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published