Update release script for Replicant Tictactoe case

This commit is contained in:
Jeroen van Dijk 2025-06-16 17:02:56 +03:00
parent 1977424508
commit b9e5365604
3 changed files with 8 additions and 1 deletions

View file

@ -25,6 +25,9 @@
(fs/copy "resources/public/codemirror.html" "gh-pages"
{:replace-existing true})
(fs/copy "resources/public/replicant_tictactoe.html" "gh-pages"
{:replace-existing true})
(def html-source-dir (fs/file "resources" "public" "html"))
(def html-target-dir (fs/file "gh-pages" "html"))
@ -62,6 +65,9 @@
{:replace-existing true}))
(fs/glob cljs-source-dir "*.cljs"))
(println "Copying dir resources/public/cljs/replicant-tictactoe")
(fs/copy-tree (fs/file cljs-source-dir "replicant-tictactoe") (fs/file cljs-target-dir "replicant-tictactoe") {:replace-existing true})
(run! (fn [f]
(println "Copying" (str f))
(fs/copy f