Skip to content

Instantly share code, notes, and snippets.

@nbari
Created January 25, 2016 12:00
Show Gist options
  • Save nbari/219ce8400eeaf6cf3c28 to your computer and use it in GitHub Desktop.
Save nbari/219ce8400eeaf6cf3c28 to your computer and use it in GitHub Desktop.
make & gnumake compatible
.PHONY: all test
all: test
test:
@if test -n "${BRANCH}"; then \
if test "${BRANCH}" = "master"; then echo "build master"; fi; \
fi;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment