source: trunk/Makefile@ 6357

Last change on this file since 6357 was 6357, checked in by roland, 16 years ago

Worked on unittests, rewrote a small part of freeMasterIP and made some error
and out of bounds checking

File size: 1.0 KB
Line 
1SQLDB="exodus/exodus.db"
2
3help:
4#Usage
5 @grep -e '[a-z\-]:' -e '^#' Makefile | sed -e 's/:.*/:/g' | tr '\n' '@' |\
6 sed -e 's/@#/ /g' -e 's/@$$//g' | tr '@' '\n' |\
7 sed -e 's/^/make /g'
8
9init: ./bin/buildout
10#Setup environment database
11 @./bin/buildout
12 @echo "no" | ./bin/django syncdb
13
14./bin/buildout:
15#Setup environment database - part creation
16 @python bootstrap.py
17
18
19debug: init
20#Run server in extra debugging mode
21 @./bin/django runserver_plus
22
23run: init
24#Run server in normal power mode
25 @./bin/django runserver
26
27
28debug-init: init
29#Put debug.sql in database
30 @sqlite3 $(SQLDB) < debug.sql
31
32clean:
33#Remove all created data, development ground, but keep downloaded files
34 @rm -f $(SQLDB)
35 @rm -Rf develop-eggs eggs parts .installed.cfg bin
36
37dist-clean: clean
38#Remove all created data, development ground and downloaded files
39 @rm -Rf downloads
40
41test: init
42# Testing suite
43 @./bin/test
44
45new: clean debug-init debug
46#Fresh start, with new datebase which include debugging code
47
48batch: clean debug-init run
49#Intended usage for batch runs only e.g. no debug server
Note: See TracBrowser for help on using the repository browser.