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

@ -178,6 +178,7 @@
Babashka + scittle implementation of the Luminus guestbook.
</a></li>
<li><a href="codemirror.html">Codemirror</a></li>
<li><a href="replicant_tictactoe.html">Tic-tac-toe with Replicant</a></li>
</ul>
</body>

View file

@ -16,7 +16,7 @@
</head>
<body>
<h1>Scittle tic-tac-toe</h1>
<h1>Scittle tic-tac-toe built with Replicant</h1>
<h2>What is Scittle?</h2>
<p>Read <a href="index.html">the main page</a> for more details.</p>
<h2>The game</h2>

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