1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-24 15:30:27 +00:00
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)))