-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add badge to readme OWASP/wrongsecrets#1243
- Loading branch information
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |