Extract plugin version from manifest

This commit is contained in:
Hanzei 2018-08-24 23:07:03 +02:00
parent fac781a229
commit 8cb9ff92df
No known key found for this signature in database
GPG key ID: 69A2DEFD98937BA0
6 changed files with 28 additions and 12 deletions

View file

@ -8,7 +8,7 @@ endif
$(shell cd build/manifest && $(GO) build -o ../bin/manifest)
# Extract the plugin id from the manifest.
PLUGIN_ID ?= $(shell build/bin/manifest plugin_id)
PLUGIN_ID ?= $(shell build/bin/manifest id)
ifeq ($(PLUGIN_ID),)
$(error "Cannot parse id from $(MANIFEST_FILE)")
endif