Move python scripts to subfolder
This commit is contained in:
parent
d15dabb4b5
commit
73f9a1b08c
24
Dockerfile
24
Dockerfile
@ -1,24 +0,0 @@
|
||||
FROM ethereum/solc:0.6.12
|
||||
|
||||
# The solc image messes up the alpine environment, so we have to go all over again
|
||||
FROM alpine
|
||||
COPY --from=0 /usr/bin/solc /usr/bin/solc
|
||||
|
||||
RUN apk update && \
|
||||
apk add make
|
||||
|
||||
WORKDIR /usr/src
|
||||
|
||||
COPY ./Makefile ./cic-contracts/Makefile
|
||||
COPY ./*.sol ./cic-contracts/
|
||||
|
||||
RUN cd cic-contracts && \
|
||||
make -B && make install -B
|
||||
|
||||
#RUN mkdir -vp /usr/local/share/cic/solidity && \
|
||||
# cp -rv cic-contracts/abis
|
||||
|
||||
LABEL authors="Louis Holbrook <dev@holbrook.no> 0826EDA1702D1E87C6E2875121D2E7BB88C2A746"
|
||||
LABEL spdx-license-identifier="GPL-3.0-or-later"
|
||||
LABEL description="Ethereum smart contract interfaces used by the CIC component suite"
|
||||
LABEL version="3"
|
@ -3,5 +3,5 @@
|
||||
d=`mktemp -d`
|
||||
b=`basename $1`
|
||||
s=${b%%.*}
|
||||
python3 reduce_to_methods.py $1 > $d/$b
|
||||
python3 calculate_eip165.py $d/$b
|
||||
python3 scripts/reduce_to_methods.py $(realpath $1) > $d/$b
|
||||
python3 scripts/calculate_eip165.py $d/$b
|
||||
|
Loading…
Reference in New Issue
Block a user