Skip to content

Commit 7da334a

Browse files
committed
feat: fix test
1 parent c67c6ee commit 7da334a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

recipes/jpm/tests/test_new_project.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ cat <<'EOF' > project.janet
1111
:version "0.1.0")
1212
1313
(rule "build/ok.txt" []
14-
(spit $out "ok"))
14+
(when (not (os/stat "build" :mode))
15+
(os/mkdir "build"))
16+
(spit "build/ok.txt" "ok"))
1517
1618
(task "build" ["build/ok.txt"])
1719
EOF

0 commit comments

Comments
 (0)