Commits

Shu Zong Chen  committed 7497c61

Use makefile instead of custom run command

  • Participants
  • Parent commits e97dd46

Comments (0)

Files changed (3)

 *.swp
 *.local
 __pycache__
+static/vendor/
+wget = wget -nv -nc
+vendor_dir = static/vendor
+
+.PHONY: clean
+
+clean:
+	: Nothing
+
+pyreq:
+	pip install -r requirements.txt
+
+run:
+	circusd conf/circus.ini
+
+daemon:
+	circusd --daemon conf/circus.ini
+
+vendor:
+	mkdir -p $(vendor_dir)
+	$(wget) -P $(vendor_dir) https://raw.github.com/less/less.js/master/dist/less-1.6.1.min.js
+	$(wget) -P $(vendor_dir) http://requirejs.org/docs/release/2.1.10/minified/require.js
+	$(wget) -P $(vendor_dir) http://backbonejs.org/backbone-min.js
+	$(wget) -P $(vendor_dir) http://underscorejs.org/underscore-min.js
+	$(wget) -P $(vendor_dir) https://raw.github.com/dfilatov/vow/master/vow.min.js
+	$(wget) -P $(vendor_dir) http://code.jquery.com/jquery-1.10.2.min.js

File run

-#!/bin/bash
-circusd conf/circus.ini