aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2023-01-29 17:48:24 +0100
committerlonkaars <loek@pipeframe.xyz>2023-01-29 17:48:59 +0100
commit5f85582e6e76042e253b51d7c943cb1533f4e3b4 (patch)
tree78d23c7188bbd9beada672da683f92ccf0ed802a /makefile
parente87f29e017a75af15d228d537bc20b9fc78ace24 (diff)
update makefiles3.0.0
Diffstat (limited to 'makefile')
-rw-r--r--makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..8f834fb
--- /dev/null
+++ b/makefile
@@ -0,0 +1,19 @@
+ARTIFACTS := yomichan/yomichan-chrome-patched.zip \
+ yomichan-user/yomichan-user.css \
+ yomichan-user/yomichan-user.js \
+ anki-card-template/back-template.html \
+ anki-card-template/front-template.html
+
+all: $(ARTIFACTS)
+
+yomichan/yomichan-chrome-patched.zip:
+ make -BC yomichan yomichan-chrome-patched.zip
+
+anki-card-template/back-template.html anki-card-template/front-template.html:
+ make -BC anki-card-template
+
+yomichan-user/yomichan-user.css yomichan-user/yomichan-user.js:
+ make -BC yomichan-user
+
+release: $(ARTIFACTS)
+ gh release create --latest -t "`git describe --tags`" `git describe --tags` $^