mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-10 03:44:16 +00:00
Added $zip variable in dist.sh and updated to new 0.8.0-beta version.
This commit is contained in:
parent
fe72c5ccdf
commit
cbe0814f89
28
misc/dist.sh
28
misc/dist.sh
@ -1,8 +1,10 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
|
|
||||||
dir="`pwd`"
|
dir="`pwd`"
|
||||||
version=0.8.0
|
version=0.8.0-beta
|
||||||
distdir=ase-$version
|
distdir=ase-$version
|
||||||
|
zip="zip -9"
|
||||||
|
zip_recursive_flag="-r"
|
||||||
|
|
||||||
freetype_files="third_party/freetype/ChangeLog \
|
freetype_files="third_party/freetype/ChangeLog \
|
||||||
third_party/freetype/descrip.mms \
|
third_party/freetype/descrip.mms \
|
||||||
@ -81,10 +83,11 @@ ase_files="config.h \
|
|||||||
makefile.vc \
|
makefile.vc \
|
||||||
*.txt \
|
*.txt \
|
||||||
*.html \
|
*.html \
|
||||||
data/aseicon.* \
|
|
||||||
data/convmatr.def \
|
data/convmatr.def \
|
||||||
data/*.xml \
|
data/*.xml \
|
||||||
data/fonts/*.pcx \
|
data/fonts/*.pcx \
|
||||||
|
data/icons/ase*.ico \
|
||||||
|
data/icons/ase*.png \
|
||||||
data/palettes/*.col \
|
data/palettes/*.col \
|
||||||
data/skins/*/*.pcx \
|
data/skins/*/*.pcx \
|
||||||
data/skins/*/*.png \
|
data/skins/*/*.png \
|
||||||
@ -146,6 +149,7 @@ ase_files="config.h \
|
|||||||
src/widgets/*.cpp \
|
src/widgets/*.cpp \
|
||||||
src/widgets/*.h \
|
src/widgets/*.h \
|
||||||
src/widgets/editor/*.cpp \
|
src/widgets/editor/*.cpp \
|
||||||
|
src/widgets/editor/*.h \
|
||||||
src/widgets/editor/*.txt \
|
src/widgets/editor/*.txt \
|
||||||
third_party/*.txt"
|
third_party/*.txt"
|
||||||
|
|
||||||
@ -172,7 +176,7 @@ cd "$dir"
|
|||||||
|
|
||||||
# tar vczf $distdir.tar.gz $distdir
|
# tar vczf $distdir.tar.gz $distdir
|
||||||
# tar vcjf $distdir.tar.bz2 $distdir
|
# tar vcjf $distdir.tar.bz2 $distdir
|
||||||
zip -r -9 $distdir.zip $distdir
|
$zip $zip_recursive_flag $distdir.zip $distdir
|
||||||
rm -fr $distdir
|
rm -fr $distdir
|
||||||
|
|
||||||
fi
|
fi
|
||||||
@ -213,13 +217,27 @@ cd "$dir/.."
|
|||||||
#make -f makefile.vc CONFIGURED=1 RELEASE=1 STATIC_ALLEG_LINK=1
|
#make -f makefile.vc CONFIGURED=1 RELEASE=1 STATIC_ALLEG_LINK=1
|
||||||
def_common_files .
|
def_common_files .
|
||||||
mkdir "$dir/$distdir-win32"
|
mkdir "$dir/$distdir-win32"
|
||||||
|
|
||||||
|
# For Allegro dll / C Runtime dll
|
||||||
|
#cp -r --parents $txt_files $bin_files aseprite.exe alleg44.dll msvcr90.dll "$dir/$distdir-win32"
|
||||||
|
|
||||||
|
# For Allegro static / static C runtime dll (use /MT to compile Allegro)
|
||||||
cp -r --parents $txt_files $bin_files aseprite.exe "$dir/$distdir-win32"
|
cp -r --parents $txt_files $bin_files aseprite.exe "$dir/$distdir-win32"
|
||||||
|
|
||||||
cd "$dir"
|
cd "$dir"
|
||||||
def_common_files $distdir-win32
|
def_common_files $distdir-win32
|
||||||
zip -9 $distdir-win32.zip $txt_files
|
$zip $distdir-win32.zip $txt_files
|
||||||
zip -9 $distdir-win32.zip $bin_files \
|
|
||||||
|
# Dynamic version of DLLs
|
||||||
|
#$zip $distdir-win32.zip $bin_files \
|
||||||
|
# $distdir-win32/aseprite.exe \
|
||||||
|
# $distdir-win32/alleg44.dll \
|
||||||
|
# $distdir-win32/msvcr90.dll
|
||||||
|
|
||||||
|
# Static version
|
||||||
|
$zip $distdir-win32.zip $bin_files \
|
||||||
$distdir-win32/aseprite.exe
|
$distdir-win32/aseprite.exe
|
||||||
|
|
||||||
rm -fr $distdir-win32
|
rm -fr $distdir-win32
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user