Skip to content

Instantly share code, notes, and snippets.

@eslam-mahmoud
Last active July 14, 2019 17:11
Show Gist options
  • Save eslam-mahmoud/d7417b3b8c12eb632c786f2f6968f7a6 to your computer and use it in GitHub Desktop.
Save eslam-mahmoud/d7417b3b8c12eb632c786f2f6968f7a6 to your computer and use it in GitHub Desktop.
sample Makefile for tutorial
REPO_TAG=3.0.0
all: build
i18n-nodejs-$(REPO_TAG):
curl https://github.com/eslam-mahmoud/i18n-nodejs/archive/$(REPO_TAG).zip -L -o i18n-nodejs-$(REPO_TAG).zip
unzip i18n-nodejs-$(REPO_TAG).zip
build: i18n-nodejs-$(REPO_TAG)
cd i18n-nodejs-$(REPO_TAG); npm install
clean:
rm -rf i18n-nodejs-$(REPO_TAG).zip
rm -rf i18n-nodejs-$(REPO_TAG)
.PHONY: all build clean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment