mirror of
https://github.com/zyedidia/micro
synced 2024-11-05 17:41:24 +00:00
Update to cross compile script
This commit is contained in:
parent
d1402b6502
commit
a60d348274
1 changed files with 6 additions and 9 deletions
|
@ -1,19 +1,17 @@
|
|||
# Source tar
|
||||
|
||||
./vendor-src.sh micro-$1-src
|
||||
cd ..
|
||||
|
||||
mkdir -p binaries
|
||||
mkdir -p micro-$1
|
||||
|
||||
cp LICENSE micro-$1
|
||||
cp README.md micro-$1
|
||||
|
||||
# Source tar
|
||||
|
||||
cd tools
|
||||
./vendor-src.sh micro-$1-src
|
||||
cd ..
|
||||
mv micro-$1-src.tar.gz binaries
|
||||
mv micro-$1-src.zip binaries
|
||||
|
||||
cp LICENSE micro-$1
|
||||
cp README.md micro-$1
|
||||
|
||||
HASH="$(git rev-parse --short HEAD)"
|
||||
VERSION="$(go run tools/build-version.go)"
|
||||
DATE="$(go run tools/build-date.go)"
|
||||
|
@ -81,4 +79,3 @@ zip -r -q -T micro-$1-win32.zip micro-$1
|
|||
mv micro-$1-win32.zip binaries
|
||||
|
||||
rm -rf micro-$1
|
||||
|
||||
|
|
Loading…
Reference in a new issue