Skip to content

Commit

Permalink
Only remove js dir if it exists. (#88)
Browse files Browse the repository at this point in the history
* Only remove js dir if it exists.

This is to fix a bug where scittle throws an error if you do a prod build on a fresh checkout.

* Update changelog.

* Simplify clean prod fix.
  • Loading branch information
chr15m authored Nov 15, 2024
1 parent 06621b2 commit fa99b05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<!-- - `bb gh-pages` -->

- [#89](https://github.com/babashka/babashka/issues/89): allow `evaluate_script_tags` to specify individual scripts.
- [#87](https://github.com/babashka/scittle/issues/87): prod build on fresh checkout fails

## v0.6.19 (2024-10-08)

Expand Down
2 changes: 1 addition & 1 deletion bb.edn
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
[babashka.process :as p :refer [process]])

clean {:doc "Start from clean slate."
:task (do (run! fs/delete (fs/list-dir (fs/file "resources" "public" "js") "**.*"))
:task (do (fs/delete-tree (fs/file "resources" "public" "js"))
(fs/delete-tree ".cpcache")
(fs/delete-tree ".shadow-cljs"))}

Expand Down

0 comments on commit fa99b05

Please sign in to comment.