]> Dogcows Code - chaz/talk-introduction-to-psgi/blobdiff - Makefile
add example psgi app and slide of debug middleware
[chaz/talk-introduction-to-psgi] / Makefile
index eb0b95f79ef59f90571d72a102a7e45abef1d148..0f98a52f0386ff2e4468647f24a33639a6298fca 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,7 @@
 SLIDES  = introduction-to-psgi
 BROWSER = chrome
 DOT     = dot
+PLACKUP = plackup
 
 dotfiles = $(shell find . -iname '*.dot')
 svgfiles = $(patsubst %.dot,%.svg,$(dotfiles))
@@ -18,6 +19,9 @@ pdf: $(SLIDES).pdf
 run: $(svgfiles)
        $(BROWSER) slides.html
 
+run-app: offline
+       $(PLACKUP)
+
 run-offline: offline
        $(BROWSER) slides-offline.html
 
@@ -34,5 +38,5 @@ slides-offline.html: slides.html
 remark.min.js:
        curl -Lo $@ https://gnab.github.io/remark/downloads/remark-latest.min.js
 
-.PHONY: all clean offline pdf run run-offline
+.PHONY: all clean offline pdf run run-app run-offline
 
This page took 0.017509 seconds and 4 git commands to generate.