-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Makefile to simplify building images
- Loading branch information
wblankenship
committed
Aug 15, 2016
1 parent
f708bfe
commit ae981ba
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
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')" |