mirror of
https://github.com/MeexReay/bRAC.git
synced 2025-09-13 23:47:39 +03:00
fix: some build.sh fixes
This commit is contained in:
parent
f93e963972
commit
4a9a774a79
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,4 +4,3 @@
|
|||||||
/config.yml
|
/config.yml
|
||||||
/bRAC
|
/bRAC
|
||||||
/.direnv/
|
/.direnv/
|
||||||
/misc/mslink.sh
|
|
||||||
|
@ -39,7 +39,7 @@ build_windows() {
|
|||||||
package; # package it (adds some libs)
|
package; # package it (adds some libs)
|
||||||
mv package build/windows-x86_64;
|
mv package build/windows-x86_64;
|
||||||
chmod -R 777 build/windows-x86_64;
|
chmod -R 777 build/windows-x86_64;
|
||||||
rm -rf target/x86_64-pc-windows-gnu"
|
chmod -R 777 target"
|
||||||
|
|
||||||
# copy readme, license and make a zip
|
# copy readme, license and make a zip
|
||||||
cp README.md build/windows-x86_64
|
cp README.md build/windows-x86_64
|
||||||
@ -47,6 +47,8 @@ build_windows() {
|
|||||||
zip -r build/bRAC-windows-x86_64.zip build/windows-x86_64
|
zip -r build/bRAC-windows-x86_64.zip build/windows-x86_64
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mkdir -p build
|
||||||
|
|
||||||
if [ $# -eq 0 ]; then
|
if [ $# -eq 0 ]; then
|
||||||
if [ ! -d build/windows-x86_64 ]; then
|
if [ ! -d build/windows-x86_64 ]; then
|
||||||
build_windows
|
build_windows
|
||||||
|
Loading…
x
Reference in New Issue
Block a user