forked from eudicots/Cactus
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
39 lines (31 loc) · 642 Bytes
/
Makefile
File metadata and controls
39 lines (31 loc) · 642 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
install:
make skeleton
python setup.py install
make clean
uninstall:
python setup.py uninstall
reinstall:
make uninstall
make install
clean:
rm -Rf build Cactus.egg-info dist
test:
nosetests -s
shelltest:
tests/test.sh
alltests:
make clean
make skeleton
make uninstall
make install
make test
make shelltest
skeleton:
rm -Rf skeleton.tar.gz
rm -f cactus/skeleton.py
cd skeleton; tar -cz --exclude='.[^/]*' -f ../skeleton.tar.gz .
echo 'data = """' > cactus/skeleton.py
cat skeleton.tar.gz | base64 | fold -sw 60 >> cactus/skeleton.py
echo '"""' >> cactus/skeleton.py
rm -Rf skeleton.tar.gz
.PHONY: test skeleton