Last active
January 5, 2017 16:36
-
-
Save jeckel/52e848d27fd020b4082048cb8354478b to your computer and use it in GitHub Desktop.
Makefile for PHP project template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
COMPOSER = docker run --rm -it -v `pwd`:/project jeckel/composer:alpine-php7 | |
PHP = docker run --rm -it -v `pwd`:/project -w /project php:7-cli php | |
CODECEPTION = docker run --rm -it -v `pwd`:/project jeckel/codeception | |
.PHONY: default install update test | |
default: install | |
install: | |
$(COMPOSER) install --ignore-platform-reqs | |
update: | |
$(COMPOSER) update --ignore-platform-reqs | |
test: | |
$(CODECEPTION) run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment