~subsetpark/bagatto

ref: bf3c03db9dcce2cfb24e5ecc95d8c424961f889c bagatto/project.janet -rw-r--r-- 743 bytes
bf3c03db — Zach Smith Spork deps 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
(declare-project
  :name "bagatto" # required
  :description "an extensible, transparent static site generator"
  :dependencies ["https://github.com/andrewchambers/janet-sh.git"
                 "spork"
                 "https://github.com/janet-lang/json.git"
                 "https://github.com/pyrmont/markable"
                 "https://github.com/andrewchambers/janet-jdn.git"
                 "https://github.com/pyrmont/testament"
                 "https://git.sr.ht/~subsetpark/mago"])

(def *static-build* (= (or (os/getenv "BAG_STATIC_BUILD") "0") "1"))

(declare-executable
  :name "bag"
  :entry "main.janet"
  :lflags (if *static-build* ["-static"] [])
  :install true)

(declare-source
  :source ["bagatto.janet" "repl.janet"])