mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-20 07:29:02 +00:00
Add CircleCI configuration (#18)
* Simplify Makefile * Add CircleCI configuration
This commit is contained in:
parent
d18c12b776
commit
823e8a5c68
6
Makefile
6
Makefile
@ -5,8 +5,8 @@ clean:
|
||||
|
||||
compile: clean
|
||||
@solc --bin --abi --overwrite -o . deposit_contract.sol
|
||||
@/bin/echo -n '{"abi": ' > deposit_contract.json
|
||||
@echo -n '{"abi": ' > deposit_contract.json
|
||||
@cat DepositContract.abi >> deposit_contract.json
|
||||
@/bin/echo -n ', "bytecode": "0x' >> deposit_contract.json
|
||||
@echo -n ', "bytecode": "0x' >> deposit_contract.json
|
||||
@cat DepositContract.bin >> deposit_contract.json
|
||||
@/bin/echo -n '"}' >> deposit_contract.json
|
||||
@echo -n '"}' >> deposit_contract.json
|
||||
|
16
circle.yml
Normal file
16
circle.yml
Normal file
@ -0,0 +1,16 @@
|
||||
version: 2.0
|
||||
jobs:
|
||||
build:
|
||||
docker:
|
||||
- image: cimg/base:2020.01
|
||||
steps:
|
||||
- checkout
|
||||
- run:
|
||||
name: Install solidity
|
||||
command: |
|
||||
sudo add-apt-repository ppa:ethereum/ethereum
|
||||
sudo apt-get update
|
||||
sudo apt-get install solc
|
||||
- run:
|
||||
name: Compile the contract
|
||||
command: make
|
Loading…
x
Reference in New Issue
Block a user