mirror of
git://holbrook.no/eth-address-index
synced 2025-01-06 17:27:32 +01:00
Clean up makefile
This commit is contained in:
parent
3612c7e680
commit
c09b43c762
@ -51,7 +51,6 @@ class TestAddressDeclarator(TestAddressDeclaratorBase):
|
|||||||
|
|
||||||
|
|
||||||
def test_basic(self):
|
def test_basic(self):
|
||||||
|
|
||||||
d = add_0x(os.urandom(32).hex())
|
d = add_0x(os.urandom(32).hex())
|
||||||
|
|
||||||
nonce_oracle = RPCNonceOracle(self.accounts[0], self.rpc)
|
nonce_oracle = RPCNonceOracle(self.accounts[0], self.rpc)
|
||||||
|
@ -1,37 +1,15 @@
|
|||||||
SOLC = /usr/bin/solc
|
SOLC = /usr/bin/solc
|
||||||
|
|
||||||
#all: address_declarator token_index accounts_index
|
|
||||||
all: address_declarator
|
all: address_declarator
|
||||||
|
|
||||||
address_declarator:
|
address_declarator:
|
||||||
$(SOLC) AddressDeclarator.sol --abi --evm-version byzantium | awk 'NR>3' > AddressDeclarator.json
|
$(SOLC) AddressDeclarator.sol --abi --evm-version byzantium | awk 'NR>3' > AddressDeclarator.json
|
||||||
$(SOLC) AddressDeclarator.sol --bin --evm-version byzantium | awk 'NR>3' > AddressDeclarator.bin
|
$(SOLC) AddressDeclarator.sol --bin --evm-version byzantium | awk 'NR>3' > AddressDeclarator.bin
|
||||||
$(SOLC) AddressDeclarator.sol --metadata --evm-version byzantium | awk 'NR>3' > AddressDeclarator.metadata.json
|
$(SOLC) AddressDeclarator.sol --metadata --evm-version byzantium | awk 'NR>3' > AddressDeclarator.metadata.json
|
||||||
#$(SOLC) AddressDeclaratorKV.sol --abi --evm-version byzantium | awk 'NR>3' > AddressDeclaratorKV.json
|
|
||||||
#$(SOLC) AddressDeclaratorKV.sol --bin --evm-version byzantium | awk 'NR>3' > AddressDeclaratorKV.bin
|
|
||||||
#$(SOLC) AddressDeclaratorKV.sol --metadata --evm-version byzantium | awk 'NR>3' > AddressDeclaratorKV.metadata.json
|
|
||||||
truncate -s -1 AddressDeclarator.bin
|
truncate -s -1 AddressDeclarator.bin
|
||||||
#truncate -s -1 AddressDeclaratorKV.bin
|
|
||||||
|
|
||||||
#token_index:
|
|
||||||
# $(SOLC) TokenUniqueSymbolIndexAddressDeclarator.sol --abi --evm-version byzantium | awk 'NR>3' > TokenUniqueSymbolIndexAddressDeclarator.json
|
|
||||||
# $(SOLC) TokenUniqueSymbolIndexAddressDeclarator.sol --bin --evm-version byzantium | awk 'NR>3' > TokenUniqueSymbolIndexAddressDeclarator.bin
|
|
||||||
# truncate -s -1 TokenUniqueSymbolIndexAddressDeclarator.bin
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#accounts_index:
|
|
||||||
# $(SOLC) AccountsIndexAddressDeclarator.sol --abi --evm-version byzantium | awk 'NR>3' > AccountsIndexAddressDeclarator.json
|
|
||||||
# $(SOLC) AccountsIndexAddressDeclarator.sol --bin --evm-version byzantium | awk 'NR>3' > AccountsIndexAddressDeclarator.bin
|
|
||||||
# truncate -s -1 AccountsIndexAddressDeclarator.bin
|
|
||||||
|
|
||||||
#test: all
|
|
||||||
#python test.py
|
|
||||||
#python test_tokenindex.py
|
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
cp -v *.json ../python/eth_address_declarator/data/
|
cp -v *.json ../python/eth_address_declarator/data/
|
||||||
cp -v *.bin ../python/eth_address_declarator/data/
|
cp -v *.bin ../python/eth_address_declarator/data/
|
||||||
#cp -v TokenUniqueSymbolIndexAddressDeclarator.{json,bin} ../python/eth_address_declarator/data/
|
|
||||||
#cp -v AccountsIndexAddressDeclarator.{json,bin} ../python/eth_address_declarator/data/
|
|
||||||
|
|
||||||
.PHONY: test install
|
.PHONY: test install
|
||||||
|
Loading…
Reference in New Issue
Block a user