added Makefile

This commit is contained in:
Bilawal Hameed
2020-02-07 11:55:26 +01:00
parent 1b8c5a184b
commit ee5f49b7a2
+18
View File
@@ -0,0 +1,18 @@
###
# All-in-one build command.
###
build: build-protocol-definitions
###
# Protobuf Definitions.
# This will generate Protobuf definitions from ./proto to both Go and JS/TypeScript.
###
build-protocol-definitions:
prototool generate ${PWD}/proto
###
# Create new frontend plugin.
# This will run Cookiecutter to generate a new Backstage frontend plugin.
###
scaffold-new-frontend-plugin:
${PWD}/tools/cookiecutter/init.sh frontend/packages/plugins/_template --output-dir frontend/packages/plugins