Skip to content

Commit

Permalink
fix(build): fix packr path
Browse files Browse the repository at this point in the history
  • Loading branch information
zhourong committed Apr 2, 2021
1 parent 4aa2022 commit 2b68446
Show file tree
Hide file tree
Showing 2 changed files with 191 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,12 @@ test-coverage:

## make install: Go install the project
install:
cd cmd/goduck && packr
$(GO) install -ldflags '${GO_LDFLAGS}' ./cmd/${APP_NAME}
@printf "${GREEN}Build ${APP_NAME} successfully!${NC}\n"

build:
cd internal/repo && packr
cd cmd/goduck && packr
@mkdir -p bin
$(GO) build -ldflags '${GO_LDFLAGS}' ./cmd/${APP_NAME}
@mv ./${APP_NAME} bin
Expand Down
189 changes: 189 additions & 0 deletions cmd/goduck/a_main-packr.go

Large diffs are not rendered by default.

0 comments on commit 2b68446

Please sign in to comment.