Skip to content

Instantly share code, notes, and snippets.

@jeckel
Last active January 5, 2017 16:36
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save jeckel/52e848d27fd020b4082048cb8354478b to your computer and use it in GitHub Desktop.
Makefile for PHP project template
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