add dev & releasing doc
This commit is contained in:
parent
42e29a6c50
commit
c2cd56f94a
2 changed files with 32 additions and 0 deletions
15
doc/Developement.md
Normal file
15
doc/Developement.md
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
# Project Setup
|
||||||
|
|
||||||
|
## dev environment
|
||||||
|
|
||||||
|
```
|
||||||
|
sudo apt install npm
|
||||||
|
sudo npm install -g npx
|
||||||
|
|
||||||
|
# maybe
|
||||||
|
sudo npm install -g shadow-cljs
|
||||||
|
|
||||||
|
# in project root to retrieve all dependencies
|
||||||
|
npm install --ignore-scripts
|
||||||
|
npx shadow-cljs compile test
|
||||||
|
```
|
17
doc/Releasing.md
Normal file
17
doc/Releasing.md
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
# stable release (should be done from master)
|
||||||
|
|
||||||
|
```
|
||||||
|
#adjust [version]
|
||||||
|
vi package.json
|
||||||
|
vi project.clj
|
||||||
|
|
||||||
|
git commit -am "release"
|
||||||
|
git tag -am "release" [release version no]
|
||||||
|
git push --follow-tags
|
||||||
|
|
||||||
|
# bump version - increase version and add -SNAPSHOT
|
||||||
|
vi package.json
|
||||||
|
vi project.clj
|
||||||
|
git commit -am "version bump"
|
||||||
|
git push
|
||||||
|
```
|
Reference in a new issue