Infrastructure Scripts

git-svn-id: svn://ultimatepp.org/upp/trunk@994 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2009-03-20 21:36:39 +00:00
parent 05a4980470
commit cda0e0fe90
2 changed files with 29 additions and 18 deletions

9
uppbox/Scripts/Makefile Normal file
View file

@ -0,0 +1,9 @@
.PHONY: all install clean
all:
make -C uppsrc
cp uppsrc/ide.out ~/theide
install:
clean:

View file

@ -1,18 +1,20 @@
set -e
rm ~/upload/* || true
#remove Win32 specific files
rm ~/upp.tmp/u/*.exe || true
rm ~/upp.tmp/u/*.map || true
rm ~/upp.tmp/u/*.dll || true
rm ~/upp.tmp/u/*.upp || true
rm ~/upp.tmp/u/*.chk || true
~/bin/theide uppsrc ide GCC -asrxM ~/upp.tmp/u/uppsrc
# cp ~/upp.src/uppbox/Scripts/Makefile ~/upp.tmp/u
cd ~/upp.tmp
mv u upp-src-`svnversion ~/upp.src`
tar -cvvzf ~/upload/upp-src-`svnversion ~/upp.src`.tar.gz upp-src-`svnversion ~/upp.src`
~/bin/upload
mv upp-src-`svnversion ~/upp.src` u
set -e
rm ~/upload/* || true
#remove Win32 specific files
rm ~/upp.tmp/u/*.exe || true
rm ~/upp.tmp/u/*.map || true
rm ~/upp.tmp/u/*.dll || true
rm ~/upp.tmp/u/*.upp || true
rm ~/upp.tmp/u/*.chk || true
rm ~/upp.tmp/u/*.scd || true
~/bin/theide uppsrc ide GCC -asrxM ~/upp.tmp/u/uppsrc
cp ~/upp.src/uppbox/Scripts/Makefile ~/upp.tmp/u
cd ~/upp.tmp
mv u upp-src-`svnversion ~/upp.src`
tar -cvvzf ~/upload/upp-src-`svnversion ~/upp.src`.tar.gz upp-src-`svnversion ~/upp.src`
~/bin/upload
mv upp-src-`svnversion ~/upp.src` u