forked from EDNA-LIFE/Token-Staking-Upgrade
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
20 lines (17 loc) · 825 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#eosio-cpp...
all: boidtoken
.PHONY: boidtoken
boidtoken:
mkdir -p build/contracts/boidtoken
eosio-cpp -I /usr/local/eosio.cdt/include/ boidtoken.cpp -o build/contracts/boidtoken/boidtoken.wasm
eosio-wasm2wast build/contracts/boidtoken/boidtoken.wasm -o build/contracts/boidtoken/boidtoken.wast
eosio-abigen boidtoken.cpp -output=build/contracts/boidtoken/boidtoken.abi
.PHONY: test
test: boidtoken
mkdir -p build/contracts/testboidpower
eosio-cpp -I /usr/local/eosio.cdt/include/ testing/src/testboidpower.cpp -o build/contracts/testboidpower/testboidpower.wasm
eosio-wasm2wast build/contracts/testboidpower/testboidpower.wasm -o build/contracts/testboidpower/testboidpower.wast
eosio-abigen testing/src/testboidpower.cpp -output=build/contracts/testboidpower/testboidpower.abi
.PHONY: clean
clean:
rm -rf build