1
0
Fork 0

Update Mac release build to sync from Telascience

This commit is contained in:
James Turner 2012-08-02 10:34:00 +01:00
parent 05f4f85b27
commit 022f1791d9
4 changed files with 38 additions and 30 deletions

1
.gitignore vendored
View file

@ -10,3 +10,4 @@ fgBuild
sgBuild
image
macflightgear
fgdata

View file

@ -2,37 +2,37 @@
- *.xcf
- *.tex
+ /data/Aircraft/Generic
+ /data/Aircraft/Instruments
+ /data/Aircraft/Instruments-3d
+ /fgdata/Aircraft/Generic
+ /fgdata/Aircraft/Instruments
+ /fgdata/Aircraft/Instruments-3d
+ /data/Aircraft/UIUC
+ /data/Aircraft/c172p
+ /data/Aircraft/777
+ /data/Aircraft/777-200
+ /data/Aircraft/b1900d
+ /data/Aircraft/ufo
+ /data/Aircraft/CitationX
+ /data/Aircraft/ZLT-NT
+ /data/Aircraft/dhc2
+ /data/Aircraft/Cub
+ /data/Aircraft/sopwithCamel
+ /data/Aircraft/f-14b
+ /data/Aircraft/ASK13
+ /data/Aircraft/bo105
+ /data/Aircraft/Dragonfly
+ /data/Aircraft/SenecaII
+ /data/Aircraft/A6M2
+ /fgdata/Aircraft/UIUC
+ /fgdata/Aircraft/c172p
+ /fgdata/Aircraft/777
+ /fgdata/Aircraft/777-200
+ /fgdata/Aircraft/b1900d
+ /fgdata/Aircraft/ufo
+ /fgdata/Aircraft/CitationX
+ /fgdata/Aircraft/ZLT-NT
+ /fgdata/Aircraft/dhc2
+ /fgdata/Aircraft/Cub
+ /fgdata/Aircraft/sopwithCamel
+ /fgdata/Aircraft/f-14b
+ /fgdata/Aircraft/ASK13
+ /fgdata/Aircraft/bo105
+ /fgdata/Aircraft/Dragonfly
+ /fgdata/Aircraft/SenecaII
+ /fgdata/Aircraft/A6M2
- /data/Aircraft/*
- /fgdata/Aircraft/*
- /data/Textures.high/*.new
- /data/Textures.high/*.orig
- /data/Textures.high/*.save
- /data/Textures/Unused
- /data/Textures/*.orig
- /data/Docs/source
- /data/Models/Airspace
- /data/Models/MNUAV
- /fgdata/Textures.high/*.new
- /fgdata/Textures.high/*.orig
- /fgdata/Textures.high/*.save
- /fgdata/Textures/Unused
- /fgdata/Textures/*.orig
- /fgdata/Docs/source
- /fgdata/Models/Airspace
- /fgdata/Models/MNUAV

View file

@ -60,5 +60,10 @@ gcc -o FlightGear -mmacosx-version-min=$OSX_TARGET -isysroot $SDK_PATH -arch i38
popd
################################################################################
echo "Syncing base packages files from sphere.telascience.org"
rsync -avz --filter 'merge base-package.rules' \
-e ssh jturner@sphere.telascience.org:/home/jturner/fgdata .
echo "Running package script"
./hudson_mac_package_release.rb

View file

@ -115,7 +115,9 @@ File.open("#{contents}/Info.plist", 'w') { |f|
`cp #{srcDir}/package/mac/FlightGear.icns #{resourcesDir}/FlightGear.icns`
`cp #{srcDir}/COPYING #{dmgDir}`
`rsync -a --verbose --filter 'merge #{Dir.pwd}/base-package.rules' /Users/Shared/FGFS/data #{resourcesDir}`
puts "Copying base package files into the image"
`rsync -a fgdata/ #{resourcesDir}/data`
puts "Creating DMG"