Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Commit

Permalink
added version variable to all makefiles
Browse files Browse the repository at this point in the history
  • Loading branch information
brooksmtownsend committed Jan 13, 2021
1 parent feb454b commit 36712db
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ endef

CAPABILITY_ID := $(call readvar,CAPABILITY_ID)
NAME := $(shell cargo metadata --no-deps --format-version 1 | jq -r '.packages[].name')
VERSION := $(shell cargo metadata --no-deps --format-version 1 | jq -r '.packages[].version')
LIBNAME := $(shell echo $(NAME) | tr '-' '_')
VENDOR := wasmCloud
REVISION ?= 0
Expand Down
1 change: 1 addition & 0 deletions fs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ endef

CAPABILITY_ID := $(call readvar,CAPABILITY_ID)
NAME := $(shell cargo metadata --no-deps --format-version 1 | jq -r '.packages[].name')
VERSION := $(shell cargo metadata --no-deps --format-version 1 | jq -r '.packages[].version')
LIBNAME := $(shell echo $(NAME) | tr '-' '_')
VENDOR := wasmCloud
REVISION ?= 0
Expand Down
1 change: 1 addition & 0 deletions http-client/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ endef

CAPABILITY_ID := $(call readvar,CAPABILITY_ID)
NAME := $(shell cargo metadata --no-deps --format-version 1 | jq -r '.packages[].name')
VERSION := $(shell cargo metadata --no-deps --format-version 1 | jq -r '.packages[].version')
LIBNAME := $(shell echo $(NAME) | tr '-' '_')
VENDOR := wasmCloud
REVISION ?= 0
Expand Down
1 change: 1 addition & 0 deletions http-server/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ endef

CAPABILITY_ID := $(call readvar,CAPABILITY_ID)
NAME := $(shell cargo metadata --no-deps --format-version 1 | jq -r '.packages[].name')
VERSION := $(shell cargo metadata --no-deps --format-version 1 | jq -r '.packages[].version')
LIBNAME := $(shell echo $(NAME) | tr '-' '_')
VENDOR := wasmCloud
REVISION ?= 0
Expand Down
1 change: 1 addition & 0 deletions logging/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ endef

CAPABILITY_ID := $(call readvar,CAPABILITY_ID)
NAME := $(shell cargo metadata --no-deps --format-version 1 | jq -r '.packages[].name')
VERSION := $(shell cargo metadata --no-deps --format-version 1 | jq -r '.packages[].version')
LIBNAME := $(shell echo $(NAME) | tr '-' '_')
VENDOR := wasmCloud
REVISION ?= 0
Expand Down
1 change: 1 addition & 0 deletions redis-streams/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ endef

CAPABILITY_ID := $(call readvar,CAPABILITY_ID)
NAME := $(shell cargo metadata --no-deps --format-version 1 | jq -r '.packages[].name')
VERSION := $(shell cargo metadata --no-deps --format-version 1 | jq -r '.packages[].version')
LIBNAME := $(shell echo $(NAME) | tr '-' '_')
VENDOR := wasmCloud
REVISION ?= 0
Expand Down
1 change: 1 addition & 0 deletions redis/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ endef

CAPABILITY_ID := $(call readvar,CAPABILITY_ID)
NAME := $(shell cargo metadata --no-deps --format-version 1 | jq -r '.packages[].name')
VERSION := $(shell cargo metadata --no-deps --format-version 1 | jq -r '.packages[].version')
LIBNAME := $(shell echo $(NAME) | tr '-' '_')
VENDOR := wasmCloud
REVISION ?= 0
Expand Down
1 change: 1 addition & 0 deletions redisgraph/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ endef

CAPABILITY_ID := $(call readvar,CAPABILITY_ID)
NAME := $(shell cargo metadata --no-deps --format-version 1 | jq -r '.packages[].name')
VERSION := $(shell cargo metadata --no-deps --format-version 1 | jq -r '.packages[].version')
LIBNAME := $(shell echo $(NAME) | tr '-' '_')
VENDOR := wasmCloud
REVISION ?= 0
Expand Down
1 change: 1 addition & 0 deletions s3/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ endef

CAPABILITY_ID := $(call readvar,CAPABILITY_ID)
NAME := $(shell cargo metadata --no-deps --format-version 1 | jq -r '.packages[].name')
VERSION := $(shell cargo metadata --no-deps --format-version 1 | jq -r '.packages[].version')
LIBNAME := $(shell echo $(NAME) | tr '-' '_')
VENDOR := wasmCloud
REVISION ?= 0
Expand Down
1 change: 1 addition & 0 deletions telnet/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ endef

CAPABILITY_ID := $(call readvar,CAPABILITY_ID)
NAME := $(shell cargo metadata --no-deps --format-version 1 | jq -r '.packages[].name')
VERSION := $(shell cargo metadata --no-deps --format-version 1 | jq -r '.packages[].version')
LIBNAME := $(shell echo $(NAME) | tr '-' '_')
VENDOR := wasmCloud
REVISION ?= 0
Expand Down

0 comments on commit 36712db

Please sign in to comment.