Skip to content

Commit

Permalink
Add badge to readme OWASP/wrongsecrets#1243
Browse files Browse the repository at this point in the history
  • Loading branch information
commjoen committed Mar 1, 2024
1 parent 9a045b8 commit c469933
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions prep_quickbuild.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#!/bin/bash

ehco "this script is to prepare your mac to be able to run quickbuild.sh"

echo "preparing dockcross"
git clone https://github.com/dockcross/dockcross.git
cd dockcross
docker run --rm dockcross/linux-arm64-lts > ./dockcross-linux-arm64-lts
chmod +x ./dockcross-linux-arm64-lts && mv ./dockcross-linux-arm64-lts ..
docker run --rm dockcross/linux-x64 > ./dockcross-linux-x64
chmod +x ./dockcross-linux-x64 && mv ./dockcross-linux-x64 ..
docker run --rm dockcross/windows-static-x64 > ./dockcross-windows-static-x64
chmod +x ./dockcross-windows-static-x64 && mv ./dockcross-windows-static-x64 ..
docker run --rm dockcross/linux-arm64-musl > ./dockcross-linux-arm64-musl
chmod +x ./dockcross-linux-arm64-musl && mv ./dockcross-linux-arm64-musl ..

echo "preparing musl cross, which requires brew to be installed"
brew install FiloSottile/musl-cross/musl-cross
ln -s /usr/local/opt/musl-cross/bin/x86_64-linux-musl-gcc /usr/local/bin/musl-gcc


echo "preparing golang"
brew install go

echo "preparing rust"
brew install rust
cargo install -f cross
rustup target add x86_64-apple-darwin
rustup target add aarch64-apple-darwin
rustup target add x86_64-pc-windows-gnu
rustup target add x86_64-unknown-linux-musl
rustup target add aarch64-unknown-linux-musl
rustup component add rust-std
rustup update


echo "preparing dotnet"
brew install dotnet

0 comments on commit c469933

Please sign in to comment.