From 4f2565f832067f8cfc9eec49aeaadeed50128e34 Mon Sep 17 00:00:00 2001 From: frio Date: Sat, 8 Sep 2012 03:45:14 +0000 Subject: [PATCH] Updates makefile for production usage --- .gitignore | 1 + Makefile | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 9506ae3..58f86a5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ cabal-dev/ dist/ +build/ diff --git a/Makefile b/Makefile index 711e1f5..49bec60 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,5 @@ +SHELL=/bin/bash + setup: mkdir build mkdir -p dist/build/static/{css,js,img} @@ -18,6 +20,7 @@ devel: prod: cabal-dev build -refresh: +update: git pull - ... \ No newline at end of file + +refresh: update prod static