aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2023-02-12 19:09:52 +0900
committernsfisis <nsfisis@gmail.com>2023-02-12 20:52:47 +0900
commitae5b7a122f8e24dd38faa476cb3a1ec84f13b564 (patch)
tree4aa1167b52e50e7c0baed5cb34ed37fd6c2a4ec1 /Makefile
parent09831c67395848379506ca30f284310c9887572b (diff)
downloadphpstudy-149-slides-ae5b7a122f8e24dd38faa476cb3a1ec84f13b564.tar.gz
phpstudy-149-slides-ae5b7a122f8e24dd38faa476cb3a1ec84f13b564.tar.zst
phpstudy-149-slides-ae5b7a122f8e24dd38faa476cb3a1ec84f13b564.zip
スライドを作成
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..34d193e
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,33 @@
+.PHONY: all
+all: slide.pdf
+
+slide.pdf: slide.saty
+ docker run \
+ -it \
+ --rm \
+ --name satysfi \
+ --mount type=bind,src=$$(pwd),dst=/work \
+ satysfi \
+ satysfi slide.saty
+
+.PHONY: shell
+shell:
+ docker run \
+ -it \
+ --rm \
+ --name satysfi \
+ --mount type=bind,src=$$(pwd),dst=/work \
+ satysfi \
+ sh
+
+.PHONY: docker
+docker:
+ docker build --tag satysfi .
+
+.PHONY: clean
+clean:
+ rm -f *.pdf *.satysfi-aux
+
+.PHONY: test
+test:
+ @bash test.sh