~subsetpark/ec

ref: 0f5a4a72ac5c34a153a2534fbf32ae55c27109a1 ec/project.janet -rw-r--r-- 549 bytes
0f5a4a72 — Zach Smith Regularlize get-shape 1 year, 1 month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
(declare-project
  :name "ec"
  :description "a very good calculator"
  :dependencies ["https://git.sr.ht/~subsetpark/fugue"
                 "https://github.com/janet-lang/argparse.git"
                 "https://github.com/pyrmont/testament"
                 "https://git.sr.ht/~subsetpark/janet-rl"
                 "https://github.com/zenlor/janet-csv.git"])

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

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