swh:1:snp:073f9f660876ea6d96214b0f286fe610ca1875c7
Tip revision: 9db28d59d65422c4ba10a109a3dc53d190f7d806 authored by Pierre-Yves Strub on 27 January 2020, 13:46:58 UTC
script for testing EasyCrypt on various external devs
script for testing EasyCrypt on various external devs
Tip revision: 9db28d5
Makefile
# -*- Makefile -*-
# --------------------------------------------------------------------
# docker.com account name
DNAME ?= easycryptpa
BBOX := build-box doc-box test-box
# --------------------------------------------------------------------
.PHONY: all __force__
default:
@echo "Available images: $(BBOX)"
all:
for i in $(BBOX); do $(MAKE) $$i-build; done
%-test-box-build:
[ -d $*-test-box ] || mkdir $*-test-box
sed -e 's/BRANCH/$*/g' < templates/Dockerfile > $*-test-box/Dockerfile
cd $*-test-box && docker build -t $(DNAME)/ec-$*-test-box .
%-build: __force__
cd $* && docker build -t $(DNAME)/ec-$* .
%-publish: __force__
cd $* && docker push $(DNAME)/ec-$*:latest