filemorph

Check-in [5a0c23d92e]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Update build script
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 5a0c23d92e43527dae307129db80ac56215f64e4
User & Date: kevin 2017-01-16 16:15:52
Context
2017-01-16
16:38
More tweaks check-in: d7660b61b7 user: kevin tags: trunk
16:15
Update build script check-in: 5a0c23d92e user: kevin tags: trunk
03:01
Tweak version check check-in: d0287b1faa user: kevin tags: trunk
Changes
Hide Diffs Unified Diffs Show Whitespace Changes Patch

Changes to buildapp.sh.

161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215


#make website build and appstore build
echo "Making website build..."
ditto --rsrc  --arch x86_64 FileMorph.app build/FileMorph.app
cp -f Info-cbk.plist build/FileMorph.app/Contents/Info.plist


find build/FileMorph.app -type f -name "*.bundle"  -exec codesign --verbose --signature-size 9400 -f -s "Developer ID Application: Kevin Walzer" {} \;
find build/FileMorph.app -type f -name "*.dylib"  -exec codesign --verbose --signature-size 9400 -f -s "Developer ID Application: Kevin Walzer" {} \; 

codesign  --verbose --signature-size 9400 -f -s "Developer ID Application: Kevin Walzer" build/FileMorph.app/Contents/Frameworks/Tk.framework/Versions/8.6/Resources/Wish.app/Contents/MacOS/Wish
codesign  --verbose --signature-size 9400 -f -s "Developer ID Application: Kevin Walzer" build/FileMorph.app/Contents/Frameworks/Tk.framework/Versions/Current
codesign --verbose --signature-size 9400 -f -s "Developer ID Application: Kevin Walzer" build/FileMorph.app/Contents/Frameworks/Tcl.framework/Versions/Current
codesign  --verbose --signature-size 9400 -f -s "Developer ID Application: Kevin Walzer" build/FileMorph.app/Contents/MacOS/perl

xattr -cr build/FileMorph.app

codesign  --signature-size 9400 -f -s "Developer ID Application: Kevin Walzer" --verbose=2  build/FileMorph.app

echo "Creating and signing DMG file..."

hdiutil create  -srcfolder build -fs HFS+ -volname FileMorph FileMorph.dmg

codesign  --signature-size 9400 -f -s "Developer ID Application: Kevin Walzer" --verbose=2  FileMorph.dmg

echo "Uploading DMG..."

cp -f FileMorph.dmg /Users/kevin/share/kevin/Sites/codebykevin/updates/FileMorph.dmg

echo "Done."

 
# cd build
# zip -r -y FileMorph.zip FileMorph.app

# cp FileMorph.zip /Users/kevin/share/kevin/Sites/codebykevin/FileMorph.zip

# cd ../

#pwd

cp -f filemorph-changes.tcl /Users/kevin/share/kevin/Sites/codebykevin/filemorph-changes.tcl
cp -f filemorph-version.tcl /Users/kevin/share/kevin/Sites/codebykevin/filemorph-version.tcl

#echo "Copying zip to Amazon S3..."
#aws s3 cp build/FileMorph.zip s3://codebykevin/FileMorph.zip --acl public-read

cd ../

#create archive of entire source tree
tar cvfz FileMorph-$1.tgz FileMorph


echo "Done."







<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
161
162
163
164
165
166
167


















































#make website build and appstore build
echo "Making website build..."
ditto --rsrc  --arch x86_64 FileMorph.app build/FileMorph.app
cp -f Info-cbk.plist build/FileMorph.app/Contents/Info.plist