trying to include config in mac bundle

This commit is contained in:
Dagen Brock 2017-01-23 15:00:06 -06:00
parent 30c35d4474
commit 56b204f052
2 changed files with 5 additions and 5 deletions

View File

@ -22,7 +22,7 @@ package-ubuntu-x:
stage: package
script:
- cp src/config.txt .
- 'echo "\n\n# CI_BUILD_ID: $CI_BUILD_ID" > config.txt'
- echo "# CI_BUILD_ID: $CI_BUILD_ID" >> config.txt'
- cp COPYING.txt doc/
artifacts:
paths:
@ -66,7 +66,7 @@ package-ubuntu-sdl2:
stage: package
script:
- cp src/config.txt .
- 'echo "\n\n# CI_BUILD_ID: $CI_BUILD_ID" > config.txt'
- echo "# CI_BUILD_ID: $CI_BUILD_ID" >> config.txt'
- cp COPYING.txt doc/
artifacts:
paths:
@ -96,7 +96,8 @@ package-osx:
- osx
stage: package
script:
- 'echo "\n\n# CI_BUILD_ID: $CI_BUILD_ID" > doc/README.txt'
- cp src/config.txt .
- echo "# CI_BUILD_ID: $CI_BUILD_ID" >> config.txt'
- chmod +x make_dist_mac.sh
- ./make_dist_mac.sh
- chmod +x make_dmg_mac.sh

View File

@ -5,6 +5,7 @@ mkdir -p $DDIR/Contents/MacOS
mkdir -p $DDIR/Contents/Resources
cp gsplus $DDIR/Contents/MacOS
cp config.txt $DDIR/Contents/MacOS
cp $ADIR/Info.plist $DDIR/Contents
cp $ADIR/gsp-icons.icns $DDIR/Contents/Resources
dylibbundler -od -b -x $DDIR/Contents/MacOS/gsplus -d $DDIR/Contents/libs/
@ -15,6 +16,4 @@ cp doc/gsplusmanual.txt $DEXTRAS
cp doc/README.txt $DEXTRAS
cp COPYING.txt $DEXTRAS
#tar -cvzf gsplus-osx.tar.gz gsplus-osx/
# packaging now in DMG script