~hilaire-fernandes/drgeo/trunk

« back to all changes in this revision

Viewing changes to make-iPad-release

  • Committer: Hilaire Fernandes
  • Date: 2012-01-27 21:15:40 UTC
  • Revision ID: hilaire.fernandes@gmail.com-20120127211540-912spf97bhpx6mve
Initial additions

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
# The packaged VM
 
4
vm="vm-2010-07-13"
 
5
# The packaged image
 
6
smalltalkImage="PharoCore-1.3"
 
7
 
 
8
# Path
 
9
vmPath="`pwd`/VMs/linux-mac-windows/$vm/DrGeo.app"
 
10
vmExec="$vmPath/Contents/Linux-i686/bin/squeak"
 
11
smalltalkImagePath="`pwd`/images/$smalltalkImage.image"
 
12
installScript="`pwd`/images/install-drgeo4ipad-clean.st"
 
13
documentMount="/home/hilaire/mnt"
 
14
drgeoApp="de.freudenbergs.DrGeo"
 
15
 
 
16
# Install package and clean up image
 
17
$vmExec $smalltalkImagePath $installScript
 
18
 
 
19
# Copy in DrGeo app document folder
 
20
ifuse --appid  $drgeoApp $documentMount
 
21
cp images/drgeo.image $documentMount
 
22
 
 
23
echo "--== DONE build DrGeo image for iPad ==--"