AntMan (A Nonsensical Toolchain Manager)
is a manager written in bash, It is used by Neutron Clang to download/sync, upgrade and manage toolchain builds.
Here's an exmaple on how to sync latest build using AntMan:
mkdir -p "$HOME/toolchains/neutron-clang"
cd "$HOME/toolchains/neutron-clang"
curl -LO "https://raw.githubusercontent.com/Neutron-Toolchains/antman/main/antman"
chmod +x antman
./antman -S
AntMan can also be ran without actually downloading the script:
mkdir -p "$HOME/toolchains/neutron-clang"
cd "$HOME/toolchains/neutron-clang"
bash <(curl -s "https://raw.githubusercontent.com/Neutron-Toolchains/antman/main/antman") -S
Some basic AntMan commands:
- To sync latest toolchain build.
./antman -S
or./antman -S=latest
- To sync a specific toolchain release.
./antman -S=<release tag>
- To check for updates.
./antman -C
- To check for updates and sync update.
./antman -U
- To sync a specific update.
./antman -U=<release tag>
- To delete synced build.
./antman -D
- To show information on synced build.
./antman -I
Run ./antman --help
for more information about all AntMan commands.