Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
phoinixgrr committed Nov 9, 2023
1 parent b174531 commit eef9e6e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,8 @@ lint: go-lint docker-lint ## to lint
test: go-test ## to test

package-software: ## to package the binary
@$(INFO) Packaging ${APP_NAME}:${APP_VERSION}
# Loop through each binary and create a tar.gz file with the structure we need
for file in $(GO_OUT_BIN_DIR)/mattermost-push-proxy-*; do \
@$(INFO) Packaging
$(AT) for file in $(GO_OUT_BIN_DIR)/mattermost-push-proxy-*; do \
target=$$(basename $$file); \
mkdir -p $(GO_OUT_BIN_DIR)/$${target}_temp/bin; \
cp -RL config $(GO_OUT_BIN_DIR)/$${target}_temp/config; \
Expand All @@ -163,7 +162,7 @@ package-software: ## to package the binary
tar -czf $(GO_OUT_BIN_DIR)/$${target}.tar.gz -C $(GO_OUT_BIN_DIR) $${target}; \
rm -r $(GO_OUT_BIN_DIR)/$${target}; \
done
@$(OK) Packaging ${APP_NAME}:${APP_VERSION}
@$(OK) Packaging

.PHONY: docker-build
docker-build: ## to build the docker image
Expand Down

0 comments on commit eef9e6e

Please sign in to comment.