Skip to content

Commit

Permalink
Use bundle/add-bin if available.
Browse files Browse the repository at this point in the history
  • Loading branch information
bakpakin committed Aug 10, 2024
1 parent e13e82a commit 43701d3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bundle/init.janet
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
(defn install [m &]
(bundle/add-file m "src/tarray.h" "tarray.h")
(bundle/add m "spork")
(when (dyn 'bundle/add-bin)
(bundle/add-bin m "bin/janet-format")
(bundle/add-bin m "bin/janet-netrepl"))
(each file (os/dir "build")
(def f (string "build/" file))
(when (= (os/stat f :mode) :file)
Expand Down

0 comments on commit 43701d3

Please sign in to comment.