upgrade docs
This commit is contained in:
parent
1a55b3401e
commit
e7790d9885
4
bb.edn
4
bb.edn
|
@ -1,7 +1,9 @@
|
||||||
{:tasks
|
{:tasks
|
||||||
{:requires ([babashka.fs :as fs])
|
{:requires ([babashka.fs :as fs])
|
||||||
clean {:doc "Start from clean slate."
|
clean {:doc "Start from clean slate."
|
||||||
:task (run! fs/delete (fs/list-dir (fs/file "resources" "public" "js") "**.*"))}
|
:task (do (run! fs/delete (fs/list-dir (fs/file "resources" "public" "js") "**.*"))
|
||||||
|
(fs/delete-tree ".cpcache")
|
||||||
|
(fs/delete-tree ".shadow-cljs"))}
|
||||||
dev {:doc "Development build. Starts webserver and watches for changes."
|
dev {:doc "Development build. Starts webserver and watches for changes."
|
||||||
:task (clojure "-M:dev -m shadow.cljs.devtools.cli watch main")}
|
:task (clojure "-M:dev -m shadow.cljs.devtools.cli watch main")}
|
||||||
prod {:doc "Builds production artifacts."
|
prod {:doc "Builds production artifacts."
|
||||||
|
|
12
doc/dev.md
12
doc/dev.md
|
@ -39,21 +39,19 @@ git worktree add gh-pages gh-pages
|
||||||
To deploy to Github Pages:
|
To deploy to Github Pages:
|
||||||
|
|
||||||
```
|
```
|
||||||
script/release
|
bb release
|
||||||
```
|
```
|
||||||
|
|
||||||
To create a new release:
|
To create a new release:
|
||||||
|
|
||||||
|
To upgrade examples:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
rg '0.0.1' --files-with-matches | xargs sed -i '' 's/0.0.1/0.0.2/g'
|
||||||
|
bb release
|
||||||
cd gh-pages
|
cd gh-pages
|
||||||
git checkout -b v0.0.2
|
git checkout -b v0.0.2
|
||||||
git push --set-upstream origin v0.0.2
|
git push --set-upstream origin v0.0.2
|
||||||
```
|
```
|
||||||
|
|
||||||
Then make a new release on Github with the `v0.0.2` tag.
|
Then make a new release on Github with the `v0.0.2` tag.
|
||||||
|
|
||||||
To upgrade examples:
|
|
||||||
|
|
||||||
```
|
|
||||||
rg '0.0.1' --files-with-matches | xargs sed -i '' 's/0.0.1/0.0.2/g'
|
|
||||||
```
|
|
||||||
|
|
Loading…
Reference in a new issue