~subsetpark/ec

ref: e85c9853e2f2332e47aaa381a543d0f78de5cd4e ec/project.janet -rw-r--r-- 432 bytes
e85c9853 — Zach Smith test-arity helper 10 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
(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"])

(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)