forked from salomvary/soundcleod
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
43 lines (31 loc) · 930 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
39
40
41
42
43
install-mac: pack
rm -rf "/Applications/SoundCleod.app"
cp -R "dist/mac/SoundCleod.app" /Applications
pack:
. ./.codesign && npm run pack
dist-mac:
. ./.codesign && npm run dist -- --mac
dist-win:
. ./.codesign && npm run dist -- --win
dist-all:
. ./.codesign && npm run dist -- --mac --win
release-all:
. ./.codesign && npm run release -- --mac --win
clean:
rm -rf build dist
mrproper: clean
rm -rf node_modules app/node_modules
increment_version:
./release.sh increment_version
history:
./release.sh history
release: clean increment_version release-all history
git add README.markdown CHANGELOG.md app/package.json app/npm-shrinkwrap.json
git commit -m "v$$(./release.sh print_version)"
git tag -m "v$$(./release.sh print_version)" "v$$(./release.sh print_version)"
update-website:
git fetch origin gh-pages
git checkout gh-pages
make update-readme update-and-push
git checkout master
.PHONY: dist