Skip to content

Commit

Permalink
Makefile to simplify building images
Browse files Browse the repository at this point in the history
  • Loading branch information
wblankenship committed Aug 15, 2016
1 parent f708bfe commit ae981ba
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
.SILENT:
help:
echo
echo "NodeSource Docker Node.js Make commands"
echo
echo " Commands: "
echo
echo " help - Show this message"
echo " build - Build and test the NodeSource Docker images and the push to the Registry"
echo " deps - List the dependencies of this repo and check if they are installed"

install:
npm install

build: install
./tools/build.sh

deps:
echo " Dependencies: "
echo
echo " * docker $(shell which docker > /dev/null || echo '- \033[31mNOT INSTALLED\033[37m')"
echo " * dante $(shell which dante > /dev/null || echo '- \033[31mNOT INSTALLED\033[37m')"
echo " * node $(shell which node > /dev/null || echo '- \033[31mNOT INSTALLED\033[37m')"
echo " * npm $(shell which npm > /dev/null || echo '- \033[31mNOT INSTALLED\033[37m')"

0 comments on commit ae981ba

Please sign in to comment.