Update release script for Replicant Tictactoe case (#112)
This commit is contained in:
parent
a1b2723ef6
commit
d9da6ffce1
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -26,6 +26,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"))
|
||||
(fs/create-dirs html-target-dir)
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue