From 6bcab7ce96d262a51bac26c6cd2b3d1368f779f8 Mon Sep 17 00:00:00 2001 From: Justin Hsu Date: Sun, 4 Jan 2015 22:20:06 -0800 Subject: [PATCH] Makefile and deploy. --- Makefile | 14 ++++++++++++++ content/about.md | 2 +- files/docs/AGGH14paper.pdf | Bin files/docs/BGGHKS14paper.pdf | Bin files/docs/GHHNP13paper.pdf | Bin files/docs/WHE13paper.pdf | Bin files/posters/GGHRW14poster.pdf | Bin files/posters/HHRRW14poster.pdf | Bin files/slides/HKR12slides.pdf | Bin files/slides/HRRU14slides.pdf | Bin files/slides/HRU13slides.pdf | Bin images/haskell-logo.png | Bin 5674 -> 0 bytes scripts/deploy.sh | 5 +++++ site.hs | 6 +++++- 14 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 Makefile mode change 100755 => 100644 files/docs/AGGH14paper.pdf mode change 100755 => 100644 files/docs/BGGHKS14paper.pdf mode change 100755 => 100644 files/docs/GHHNP13paper.pdf mode change 100755 => 100644 files/docs/WHE13paper.pdf mode change 100755 => 100644 files/posters/GGHRW14poster.pdf mode change 100755 => 100644 files/posters/HHRRW14poster.pdf mode change 100755 => 100644 files/slides/HKR12slides.pdf mode change 100755 => 100644 files/slides/HRRU14slides.pdf mode change 100755 => 100644 files/slides/HRU13slides.pdf delete mode 100644 images/haskell-logo.png create mode 100644 scripts/deploy.sh diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..1605259 --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +TOP = site +CABAL_SB = ./.cabal-sandbox/x86_64-osx-ghc-7.8.3-packages.conf.d +GHC_FLAGS = -v -package-db=$(CABAL_SB) -threaded + +all: $(TOP) + +deploy: $(TOP) + ./$(TOP) rebuild && ./$(TOP) deploy + +clean: + rm *.hi *.o $(TOP) + +$(TOP): $(TOP).hs + ghc $(GHC_FLAGS) $(TOP).hs diff --git a/content/about.md b/content/about.md index 53a561d..2ee588b 100644 --- a/content/about.md +++ b/content/about.md @@ -1,6 +1,6 @@ I am a graduate student in the [Department of Computer Science](http://cis.upenn.edu) at the [University of -Pennsylvania](http://upenn.edu). +Pennsylvania](http://www.upenn.edu). There, I am associated with the [Theory Group](http://theory.cis.upenn.edu), the [PL Club], and the [Privacy Group](http://privacy.cis.upenn.edu). I am very fortunate to be co-advised by [Benjamin diff --git a/files/docs/AGGH14paper.pdf b/files/docs/AGGH14paper.pdf old mode 100755 new mode 100644 diff --git a/files/docs/BGGHKS14paper.pdf b/files/docs/BGGHKS14paper.pdf old mode 100755 new mode 100644 diff --git a/files/docs/GHHNP13paper.pdf b/files/docs/GHHNP13paper.pdf old mode 100755 new mode 100644 diff --git a/files/docs/WHE13paper.pdf b/files/docs/WHE13paper.pdf old mode 100755 new mode 100644 diff --git a/files/posters/GGHRW14poster.pdf b/files/posters/GGHRW14poster.pdf old mode 100755 new mode 100644 diff --git a/files/posters/HHRRW14poster.pdf b/files/posters/HHRRW14poster.pdf old mode 100755 new mode 100644 diff --git a/files/slides/HKR12slides.pdf b/files/slides/HKR12slides.pdf old mode 100755 new mode 100644 diff --git a/files/slides/HRRU14slides.pdf b/files/slides/HRRU14slides.pdf old mode 100755 new mode 100644 diff --git a/files/slides/HRU13slides.pdf b/files/slides/HRU13slides.pdf old mode 100755 new mode 100644 diff --git a/images/haskell-logo.png b/images/haskell-logo.png deleted file mode 100644 index 97c0937482e1c82c0e2a778f3ab3c4db99edcc4f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5674 zcmW+)3pi7a8$a&%Yp7gD5)EM`B)JSDRKqaJed!=%NT~Tn&9&qhm3==)YA;eY)1JZI-Q=Q-y&@9p>dz3-cJ(ZO0oP*xBC01+D$5)GYupd*c+7yAFN z|CAYY;tn^rapH%5vHX4{=vp8YOS9q$ zYXuulfu=A4n>orr?AK+x7JSs~a@FQ2)nUgZBNYAX&h@iT*Vc<@4ar$(UjSpyd!%aR z$`kkR%~jS&%glK5&<6DK!$ylTDR+dirWO+tA!T@I=a5x z*eVRWhf2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lD2bga^sL0lDp* zIK@{B>1S%gc*yl;n!QHO53v#%_1Lu3)JHHII=QLsqPp?nDACK25N}Ad9|>Cm)SN1@ z^ta_$L>!R>nKk*%U?3O2BA0eoodLDE8;uqT-l3t-C7zi|J;4H_T@G=sGPevce)t}EwsPN)Y|`CH1wW%VG--s3 z-PPfv*C0Mxn|WEy^CJ|RZFbAC^ee2jLX%1}($`FgkpL?T8td5qC8em0>J0yXr}ND8 zS(m*3!w5(K=poEM#C>3{_Wezdm_kDV(%2(psV%eue{G?NUy z>kG~U{cpv@T*xfLAf;^SB-FmB|A7kh_?mqA_^X&r93a+J$OVwMsyEl?_LM(tzk^n6 zHsGmG1_Q+Au3xuyZk2&7eO^93IVkB8G)rXQ<*~S$cX5A}%u%0=Yh2V*p}j6(W9fjb IGWYuDe^AuAqW}N^ diff --git a/scripts/deploy.sh b/scripts/deploy.sh new file mode 100644 index 0000000..a86a8a7 --- /dev/null +++ b/scripts/deploy.sh @@ -0,0 +1,5 @@ +#!/opt/local/bin/zsh + +find . -type d -exec chmod 755 {} \; +find . -type f -exec chmod 644 {} \; +\rsync -avzp -e ssh ./_site/ jackknife:/home/justhsu/html/ diff --git a/site.hs b/site.hs index a429b52..c1e9176 100644 --- a/site.hs +++ b/site.hs @@ -8,6 +8,10 @@ import System.Process import Text.Pandoc.Options import Text.Regex +config :: Configuration +config = defaultConfiguration + { deployCommand = "./scripts/deploy" } + -------------------------------------------------------------------------------- bibHeaders :: [(String, String, [String])] bibHeaders = [ ("confs", "Conference Publications", @@ -54,7 +58,7 @@ bib2bibParse file = -------------------------------------------------------------------------------- main :: IO () -main = hakyll $ do +main = hakyllWith config $ do match "files/**" $ do route idRoute compile copyFileCompiler