Skip to content

Commit

Permalink
Improve cc script
Browse files Browse the repository at this point in the history
  • Loading branch information
grunch committed May 27, 2024
1 parent e410b32 commit c74558b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions cross-compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@
# To make this work you need to have cross installed
# cargo install cross
app="mostro"
file="archs"
archs_file="archs"
manifest="manifest.txt"
arch=`cat $file`
mkdir -p bin
arch=`cat $archs_file`
if [ ! -d bin ]; then
mkdir bin
fi
rm bin/*
for i in $arch; do
echo "Cross compiling for $i"
Expand Down

0 comments on commit c74558b

Please sign in to comment.