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

Commit

Permalink
Add comments to Makefile and fix make test command
Browse files Browse the repository at this point in the history
  • Loading branch information
ubombar committed Nov 30, 2023
1 parent b91e9ed commit 4961f51
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# When initially cloned the project, run make sync to download the libraries.
# Then run the
GOCMD=go
GOCLEAN=$(GOCMD) clean
GOTEST=$(GOCMD) test
Expand All @@ -12,7 +14,8 @@ GIT_VERSION:=$(or \
)
.PHONY: build

# This is for github actions, do not run this in a project.
# DO NOT MAUALLY RUN
# This is for github actions.
bootstrap:
mkdir -p ${HOME}/.kube
cp ./configs/public.cfg ${HOME}/.kube/config
Expand All @@ -31,8 +34,11 @@ sync:
$(GOMOD)

test:
cp ./configs/smtp_test_template.yaml ./configs/smtp_test.yaml
cp ./configs/headnode_template.yaml ./configs/headnode.yaml
cp ./configs/namecheap_template.yaml ./configs/namecheap.yaml
$(GOCLEAN) -testcache
$(GOTEST) -covermode atomic ./... -v
$(GOTEST) -covermode atomic ./...

build:
docker-compose -f ./build/yamls/docker-compose.yaml build
Expand Down

0 comments on commit 4961f51

Please sign in to comment.