evm-tokenvote

Voting machine using ERC20 tokens as votes.
Log | Files | Refs | README

Makefile (393B)


      1 SOLC = /usr/bin/solc
      2 
      3 all:
      4 	$(SOLC) --bin Voter.sol --evm-version byzantium | awk 'NR>3' > Voter.bin
      5 	$(SOLC) --abi Voter.sol --evm-version byzantium | awk 'NR>3' > Voter.json
      6 	$(SOLC) --metadata Voter.sol --evm-version byzantium | awk 'NR>3' > Voter.metadata.json
      7 	truncate -s -1 Voter.bin
      8 
      9 install: all
     10 	cp -v *.json ../python/evm_tokenvote/data/
     11 	cp -v *.bin ../python/evm_tokenvote/data/
     12