guidesmiths/generator-systemic

View on GitHub
generators/app/templates/root/_makefile

Summary

Maintainability
Test Coverage


ensure-dependencies:
    @echo "Ensuring docker is installed..."
    @docker info
    <%_ if (showcase) { -%>
    @docker-compose version
    <%_ } -%>

brand:
    @echo "Creating our <%= name %> manifest file..."
    @node_modules/make-manifest/bin/make-manifest
    @cat ./manifest.json

package:
    @echo "Building our <%= name %> docker image..."
    @docker build --tag <%= name %> .
    @docker images

qa:
    @echo "Checking that our <%= name %> tests dont fail..."
    @npm run qa