Makefile and deploy.

This commit is contained in:
Justin Hsu
2015-01-04 22:20:06 -08:00
parent f030608c0d
commit 6bcab7ce96
14 changed files with 25 additions and 2 deletions
+14
View File
@@ -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
+1 -1
View File
@@ -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
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

+5
View File
@@ -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/
+5 -1
View File
@@ -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