~subsetpark/ec

ref: 0e89cde9278c1775aaf0eedd9d7fc08e6871828c ec/project.janet -rw-r--r-- 549 bytes
0e89cde9 — Zach Smith Update deps 1 year, 8 days 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)