-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (32 loc) · 750 Bytes
/
Makefile
File metadata and controls
36 lines (32 loc) · 750 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
.PHONY: build
build:
python2 setup.py build_ext --inplace
.PHONY: test
test: build
pytest
.PHONY: test-debug
test-debug: build
pytest --pdb
.PHONY: package
package: build
cd packaging && \
pyinstaller -y --clean --windowed TuneScope.spec && \
cd dist && \
mkdir -p dmg-root && \
mv TuneScope.app dmg-root && \
cp -r ../Licenses dmg-root && \
create-dmg \
--volname "TuneScope Installer" \
--window-size 500 500 \
--icon-size 100 \
--icon "TuneScope.app" 200 100 --icon "Licenses" 100 250 \
--app-drop-link 300 250 \
TuneScope.dmg dmg-root
.PHONY: clean
clean:
python2 setup.py clean
rm -rf build/
rm -f tunescope/*.{pyc,so}
rm -rf tunescope/__pycache__
rm -rf tests/__pycache__
rm -rf packaging/build/ packaging/dist/