https://github.com/EasyCrypt/easycrypt
Raw File
Tip revision: 93748b3beeb1b7194645ecb7fcec5cf0c8424f1b authored by Pierre-Yves Strub on 01 December 2020, 09:41:56 UTC
Decimal numbers are now translated to irreducible fractions
Tip revision: 93748b3
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
back to top