-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (28 loc) · 778 Bytes
/
Makefile
File metadata and controls
34 lines (28 loc) · 778 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
buildandinstall: dictdir xcodebuild install
#
#
#
dictdir:
-mkdir ~/.gyaimdict
xcodebuild:
xcodebuild -target Gyaim -configuration Debug
install:
macruby_deploy --embed build/Debug/Gyaim.app
cp -r build/Debug/Gyaim.app ~/Library/Input\ Methods
# macruby_deploy --no-stdlib --stdlib openssl --stdlib net --stdlib nkf --embed build/Debug/Gyaim.app
dmg:
/bin/rm -f Gyaim.dmg
hdiutil create -srcfolder build/Debug/Gyaim.app -volname Gyaim Gyaim.dmg
publish: dmg
scp Gyaim.dmg pitecan.com:/www/www.pitecan.com/tmp
clean:
/bin/rm -f *~ */*~
#
# Ruby1.9のmacrubyを使うとmake testが失敗するが気にしない
# 1.8なら大丈夫?
#
test:
macruby Tests/run_suite.rb
push:
git push pitecan.com:/home/masui/git/Gyaim.git
git push git@github.com:masui/Gyaim.git