summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-11-24 12:42:26 +0100
committerTor Andersson <tor@ccxvii.net>2024-11-24 12:42:26 +0100
commitb514d08712dd7ed9b0c12f06ed6eaf1e99230e3c (patch)
treed7af8834031a02363bec5db3644a417f137e258e /Makefile
parentd2f00514f9e3b078b322ee6f18d9b5edb3286d4f (diff)
downloadred-flag-over-paris-b514d08712dd7ed9b0c12f06ed6eaf1e99230e3c.tar.gz
Add makefile and eslint config.HEADmaster
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..db72c84
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,5 @@
+default: rules.js
+rules.js: events.txt
+ sed '/const CODE /,$$d' < rules.js > /tmp/rules.js
+ node tools/gencode.js >> /tmp/rules.js
+ cp /tmp/rules.js rules.js