1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-14 20:54:48 +00:00
janet/tools/patch-header.janet

4 lines
152 B
Clojure
Raw Normal View History

# Patch janet.h
(def [_ janeth janetconf output] (dyn :args))
2020-11-19 01:37:18 +00:00
(spit output (string/replace `#include "janetconf.h"` (slurp janetconf) (slurp janeth)))