-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathMakefile
38 lines (28 loc) · 879 Bytes
/
Makefile
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
.PHONY: build windows osx debian clean install tests
all: build
build: clean assets
python3.3 build/scripts/build.py build
python3.3 build/scripts/zip_extensions.py
assets:
mkdir build/resources || true
pyrcc4 -py3 commotion_client/assets/commotion_assets.qrc -o build/resources/commotion_assets_rc.py
windows:
@echo "windows compileing is not yet implemented"
osx:
@echo "macintosh saddening is not yet implemented"
linux: build
python3.3 setup.py build
debian:
@echo "debian packaging is not yet implemented"
test: tests
@echo "test build complete"
tests: build
mkdir tests/temp || true
mkdir tests/mock/assets || true
cp build/resources/commotion_assets_rc.py tests/mock/assets/. || true
python3.3 tests/run_tests.py
clean:
python3.3 build/scripts/build.py clean
rm -fr build/resources || true
rm -fr build/exe.* || true
rm -fr tests/temp/* || true