reitit/doc/development.md

42 lines
939 B
Markdown
Raw Normal View History

2018-05-20 16:49:41 +00:00
# Development Instructions
## Building
```bash
./scripts/lein-modules do clean, install
```
## Running tests
```bash
./scripts/test.sh clj
./scripts/test.sh cljs
```
## Documentation
The documentation lives under `doc` and it is hosted on [cljdoc](https://cljdoc.org). See their
documentation for [library authors](https://github.com/cljdoc/cljdoc/blob/master/doc/userguide/for-library-authors.adoc)
2018-05-20 16:49:41 +00:00
2021-03-05 18:45:28 +00:00
## Making a release
2018-05-20 16:49:41 +00:00
2019-03-14 07:50:21 +00:00
We use [Break Versioning][breakver]. Remember our promise: patch-level bumps never include breaking changes!
[breakver]: https://github.com/ptaoussanis/encore/blob/master/BREAK-VERSIONING.md
2018-05-20 16:49:41 +00:00
```bash
2021-03-05 18:45:28 +00:00
# Check that you're using Java 8! Making the release with a newer Java version
# means that it is broken when used with Java 8.
java -version
2018-05-20 16:49:41 +00:00
# new version
./scripts/set-version "1.0.0"
./scripts/lein-modules install
# works
lein test
# deploy to clojars
./scripts/lein-modules do clean, deploy clojars
```