janet/tools/patch-header.janet

4 lines
152 B
Plaintext
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)))