• R/O
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revision18 (tree)
Time2014-02-20 02:36:30
Authormm-rounded

Log Message

リリーススクリプトの内容を変更
集めてリネームするだけに

Change Summary

Incremental Difference

--- trunk/mplus_outline_fonts/release/renamer.py (nonexistent)
+++ trunk/mplus_outline_fonts/release/renamer.py (revision 18)
@@ -0,0 +1,15 @@
1+#!/bin/python
2+
3+import sys
4+import os
5+
6+param = sys.argv
7+workdir = param[2]
8+
9+def process_file(file_name):
10+ os.rename(workdir + '/' + file_name, workdir + '/rounded' + param[1] + '-' + file_name)
11+
12+for root, dirs, files in os.walk(workdir):
13+ for file_ in files:
14+ if os.path.splitext(file_)[1] == u'.ttf':
15+ process_file(file_);
--- trunk/mplus_outline_fonts/release/Makefile (revision 17)
+++ trunk/mplus_outline_fonts/release/Makefile (revision 18)
@@ -1,6 +1,8 @@
1-TESTFLIGHT_VER= 057
1+# FAMILY=
2+# FAMILY= -l
3+# FAMILY= -x
24
3-RELEASE= mplus-TESTFLIGHT-${TESTFLIGHT_VER}
5+RELEASE= fonts
46
57 FILES= LICENSE_E LICENSE_J README_E README_J m++ipa.pe
68
@@ -55,11 +57,12 @@
5557
5658 release:
5759 mkdir -p ${RELEASE}
58- cp -p $(FILES) ${RELEASE}
5960 cp -p $(FONTS) ${RELEASE}
61+ ./renamer.py ${FAMILY} ${RELEASE}
62+
6063 # tar cvfz ${RELEASE}.tar.gz ${RELEASE}/
61- tar cf - ${RELEASE}/ | xz -9 -c > ${RELEASE}.tar.xz
62- rm -rf ${RELEASE}
64+# tar cf - ${RELEASE}/ | xz -9 -c > ${RELEASE}.tar.xz
65+# rm -rf ${RELEASE}
6366
6467 clean:
6568 rm -rf ${RELEASE} ${RELEASE}.tar.gz