~subsetpark/ec

2f3cbf598c187ea02bf626923d02d318d3b69047 — Zach Smith 2 months ago 45225db
Update lockfile
2 files changed, 4 insertions(+), 14 deletions(-)

M lockfile.jdn
M project.janet
M lockfile.jdn => lockfile.jdn +4 -4
@@ 1,4 1,4 @@
@[{:sha "12e2e338cba69b02f284d8082804d8e811436651" :repo "https://github.com/pyrmont/testament"}
  {:sha "dedfa7d6dbd7e8176be02ee3a630067b2b107d76" :repo "https://git.sr.ht/~subsetpark/janet-rl"}
  {:sha "1aaea684afc5901e7943ad491453f955500d7dfc" :repo "https://git.sr.ht/~subsetpark/fugue"}
  {:sha "5d1bea51664cf2f076ce6ac4786c2fb744f2c02c" :repo "https://github.com/janet-lang/argparse.git"}]
@[{:sha "e564dba2d7541a5211be399ceaf4755a070cdb13" :repo "https://git.sr.ht/~subsetpark/janet-rl"}
  {:sha "5d1bea51664cf2f076ce6ac4786c2fb744f2c02c" :repo "https://github.com/janet-lang/argparse.git"}
  {:sha "12e2e338cba69b02f284d8082804d8e811436651" :repo "https://github.com/pyrmont/testament"}
  {:sha "18d7772632ed329ceb2038bf6d13ca2b5f55999d" :repo "https://git.sr.ht/~subsetpark/fugue"}]

M project.janet => project.janet +0 -10
@@ 8,16 8,6 @@

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

(defn pkg-config [what]
  (def f (file/popen (string "pkg-config " what)))
  (def v (->>
           (file/read f :all)
           (string/trim)
           (string/split " ")))
  (unless (zero? (file/close f))
    (error "pkg-config failed!"))
  v)

(declare-executable
  :name "ec"
  :entry "main.janet"