Skip to content

Commit

Permalink
Secret support for create, read, list (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
carrala committed May 7, 2021
1 parent 3553dd0 commit 11ca5dc
Show file tree
Hide file tree
Showing 7 changed files with 1,199 additions and 27 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ vendor
vendor_glide-link_bak
build
e3db
.env
*~
12 changes: 12 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
BINARY=e3db
# For backwards compatibility / lack of surprise for using this library in >= go 1.11 but before 1.14
export GO111MODULE=on
# Import environment file
include .env
# Source all variables in environment file
# This only runs in the make command shell
# so won't muddy up, e.g. your login shell
export $(shell sed 's/=.*//' .env)

# Default target executed when user runs `make`
default:
Expand All @@ -22,6 +28,12 @@ build:
install:
go install ./cmd/${BINARY}

test : lint
go test -count=1 -v -cover --race ./...

testone: lint
TEST_SERVICE_API=$(serviceApi) TEST_LOGFILE=$(log) LOG_QUERIES=$(qlog) PARATEST=$(paratest) go test -v -race -count=1 ./... -run "^($(method))$$"

# target for tagging and publishing a new version of the SDK
# run like make version=X.Y.Z
version:
Expand Down

0 comments on commit 11ca5dc

Please sign in to comment.