anchor/Makefile

38 lines
1.0 KiB
Makefile
Raw Permalink Normal View History

2021-06-29 14:04:59 -07:00
.PHONY: build-cli
build-cli:
cargo build -p anchor-cli --release
cp target/release/anchor cli/npm-package/anchor
.PHONY: clean
clean:
find . -type d -name .anchor -print0 | xargs -0 rm -rf
find . -type d -name node_modules -print0 | xargs -0 rm -rf
find . -type d -name target -print0 | xargs -0 rm -rf
2022-01-09 13:50:10 -08:00
.PHONY: publish
publish:
cd lang/syn/ && cargo publish && cd ../../
sleep 25
2022-01-09 13:50:10 -08:00
cd lang/derive/accounts/ && cargo publish && cd ../../../
sleep 25
2022-01-09 13:50:10 -08:00
cd lang/attribute/access-control/ && cargo publish && cd ../../../
sleep 25
2022-01-09 13:50:10 -08:00
cd lang/attribute/account/ && cargo publish && cd ../../../
sleep 25
2022-01-09 13:50:10 -08:00
cd lang/attribute/constant/ && cargo publish && cd ../../../
sleep 25
2022-01-09 13:50:10 -08:00
cd lang/attribute/error/ && cargo publish && cd ../../../
sleep 25
2022-01-09 13:50:10 -08:00
cd lang/attribute/program/ && cargo publish && cd ../../..
sleep 25
2022-01-09 14:19:19 -08:00
cd lang/attribute/event/ && cargo publish && cd ../../../
sleep 25
2022-04-12 14:40:48 -07:00
cd lang/ && cargo publish && cd ../
sleep 25
2022-01-09 13:50:10 -08:00
cd spl/ && cargo publish && cd ../
sleep 25
2022-01-09 13:50:10 -08:00
cd client/ && cargo publish && cd ../
2022-04-20 08:38:57 -07:00
sleep 25
cd cli/ && cargo publish && cd ../
sleep 25