Skip to content

Commit

Permalink
make it a go workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
pquerna committed Feb 28, 2023
1 parent 1f7b04e commit e28f808
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ add-dep:
go mod tidy -v
go mod vendor

.PHONY: build-jcapi
build-jcapi:
rm -rf build/jcapi
mkdir -p build/jcapi
Expand All @@ -36,8 +37,6 @@ build-jcapi:
find pkg/jcapi \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i 's/GIT_USER_ID\/GIT_REPO_ID/ConductorOne\/baton\-jumpcloud\/pkg/g'
cd pkg/jcapi && go mod init github.com/ConductorOne/baton-jumpcloud/pkg/jcapi && go mod tidy -v



.PHONY: lint
lint:
golangci-lint run
6 changes: 6 additions & 0 deletions go.work
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
go 1.19

use (
.
./pkg/jcapi
)

0 comments on commit e28f808

Please sign in to comment.