Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/rietveld/files/Makefile

Issue 5459448122310656: Add rietveld to infrastructure (Closed)
Patch Set: Add Changes Created Feb. 10, 2014, 9:04 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « modules/private-stub/manifests/rietveld.pp ('k') | modules/rietveld/files/rietveld.conf » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/rietveld/files/Makefile
===================================================================
new file mode 100644
--- /dev/null
+++ b/modules/rietveld/files/Makefile
@@ -0,0 +1,46 @@
+RIETVELDREV=32c87e882d9b
+
+default:
+ @echo "Run 'make all' to fetch required sources to run this example."
+
+all: static templates codereview gae2django dev.db
+ @echo "Run './manage.py runserver' to run Rietveld."
+
+clean: clean_local clean_external
+
+clean_external: clean_rietveld
+
+clean_rietveld:
+ @if [ -x codereview ]; then unlink codereview; fi;
+ @if [ -x static ]; then unlink static; fi;
+ @if [ -x templates ]; then unlink templates; fi;
+ @if [ -x upload.py ]; then unlink upload.py; fi;
+ @rm -rf rietveld.hg
+
+clean_local:
+ @if [ -x gae2django ]; then unlink gae2django; fi;
+ @rm -f dev.db
+
+gae2django:
+ ln -s ../../gae2django .
+
+dev.db:
+ ./manage.py syncdb --noinput
+
+rietveld.hg:
+ hg clone -u $(RIETVELDREV) http://code.google.com/p/rietveld rietveld.hg
+
+codereview: rietveld.hg
+ ln -s rietveld.hg/codereview .
+ patch -p1 < patches/download.link.diff
+
+static: rietveld.hg upload.py
+ ln -s rietveld.hg/static .
+
+upload.py: rietveld.hg
+ ln -s rietveld.hg/upload.py .
+ patch -p0 < patches/upload.diff
+
+templates: rietveld.hg
+ ln -s rietveld.hg/templates .
+ patch -p1 < patches/account-login-links.diff
« no previous file with comments | « modules/private-stub/manifests/rietveld.pp ('k') | modules/rietveld/files/rietveld.conf » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld