Merge pull request #1091 from manongjohn/remove_git_files_from_build

Remove .gitkeep files from package
This commit is contained in:
manongjohn 2022-12-02 22:18:35 -05:00 committed by GitHub
commit 1e42028702
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 0 deletions

View file

@ -35,6 +35,8 @@ mv appdir/usr/share/tahoma2d/stuff Tahoma2D/tahomastuff
chmod -R 777 Tahoma2D/tahomastuff
rmdir appdir/usr/share/tahoma2d
find Tahoma2D/tahomastuff -name .gitkeep -exec rm -f {} \;
if [ -d ../../thirdparty/apps/ffmpeg/bin ]
then
echo ">>> Copying FFmpeg to Tahoma2D/ffmpeg"

View file

@ -22,6 +22,8 @@ fi
cp -R stuff $TOONZDIR/Tahoma2D.app/tahomastuff
chmod -R 777 $TOONZDIR/Tahoma2D.app/tahomastuff
find $TOONZDIR/Tahoma2D.app/tahomastuff -name .gitkeep -exec rm -f {} \;
if [ -d thirdparty/apps/ffmpeg/bin ]
then
echo ">>> Copying FFmpeg to $TOONZDIR/Tahoma2D.app/ffmpeg"

View file

@ -43,6 +43,8 @@ echo ">>> Copying stuff to Tahoma2D\tahomastuff"
mkdir Tahoma2D\tahomastuff
xcopy /Y /E ..\..\stuff Tahoma2D\tahomastuff
del /A- /S Tahoma2D\tahomastuff\*.gitkeep
IF EXIST ..\..\thirdparty\apps\ffmpeg\bin (
echo ">>> Copying FFmpeg to Tahoma2D\ffmpeg"
IF EXIST Tahoma2D\ffmpeg rmdir /S /Q Tahoma2D\ffmpeg