diff --git a/Makefile b/Makefile index d7091c99..8f431701 100644 --- a/Makefile +++ b/Makefile @@ -68,6 +68,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