From 9447a55b61029a899ae8efff571153e540e51ce2 Mon Sep 17 00:00:00 2001 From: Alex Jia Date: Tue, 16 Apr 2019 09:29:10 +0800 Subject: [PATCH] added help to Makefile Signed-off-by: Alex Jia --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Makefile b/Makefile index a73762a6..c8e94695 100644 --- a/Makefile +++ b/Makefile @@ -67,6 +67,19 @@ endif # use source debugging tools like delve. all: binary docs-in-container +help: + @echo "Usage: make " + @echo + @echo " * 'install' - Install binaries and documents to system locations" + @echo " * 'binary' - Build skopeo with a container" + @echo " * 'binary-local' - Build skopeo locally" + @echo " * 'test-unit' - Execute unit tests" + @echo " * 'test-integration' - Execute integration tests" + @echo " * 'validate' - Verify whether there is no conflict and all Go source files have been formatted, linted and vetted" + @echo " * 'check' - Including above validate, test-integration and test-unit" + @echo " * 'shell' - Run the built image and attach to a shell" + @echo " * 'clean' - Clean artifacts" + # Build a container image (skopeobuild) that has everything we need to build. # Then do the build and the output (skopeo) should appear in current dir binary: cmd/skopeo