Move python scripts to subfolder

This commit is contained in:
nolash 2021-04-29 08:40:26 +02:00
parent d15dabb4b5
commit 73f9a1b08c
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746
4 changed files with 2 additions and 26 deletions

View File

@ -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"

View File

@ -3,5 +3,5 @@
d=`mktemp -d` d=`mktemp -d`
b=`basename $1` b=`basename $1`
s=${b%%.*} s=${b%%.*}
python3 reduce_to_methods.py $1 > $d/$b python3 scripts/reduce_to_methods.py $(realpath $1) > $d/$b
python3 calculate_eip165.py $d/$b python3 scripts/calculate_eip165.py $d/$b