Makefile and deploy.
This commit is contained in:
parent
f030608c0d
commit
6bcab7ce96
|
@ -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,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
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 5.5 KiB |
|
@ -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/
|
6
site.hs
6
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
|
||||
|
|
Loading…
Reference in New Issue