aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2023-01-17 01:21:52 +0900
committernsfisis <nsfisis@gmail.com>2023-01-17 01:21:57 +0900
commit67744974df46b1f78de9acc227f62d1e6db5f393 (patch)
treea75d847d347f9f9c81bb8fe82848d9b158272e77 /Makefile
parent00b1a28374f71dcb521662788343cd72f53f5c22 (diff)
downloadphpstudy-148-slides-67744974df46b1f78de9acc227f62d1e6db5f393.tar.gz
phpstudy-148-slides-67744974df46b1f78de9acc227f62d1e6db5f393.tar.zst
phpstudy-148-slides-67744974df46b1f78de9acc227f62d1e6db5f393.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