Skip to content

Commit

Permalink
Update for the newest event
Browse files Browse the repository at this point in the history
  • Loading branch information
Rukenshia committed Sep 11, 2021
1 parent 562ca0c commit 2aed1da
Show file tree
Hide file tree
Showing 22 changed files with 2,807 additions and 6,567 deletions.
14 changes: 7 additions & 7 deletions backend/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ FUNCTION_NAME ?= schedule

build:
export GO111MODULE=on
env GOOS=linux go build -ldflags="-s -w" -o bin/refresh functions/refresh/main.go
env GOOS=linux go build -ldflags="-s -w" -o bin/requestRefresh functions/requestRefresh/main.go
env GOOS=linux go build -ldflags="-s -w" -o bin/schedule functions/schedule/main.go
env GOOS=linux go build -ldflags="-s -w" -o bin/login functions/login/main.go
env GOOS=linux go build -ldflags="-s -w" -o bin/click functions/click/main.go
env GOOS=linux go build -ldflags="-s -w" -o bin/generateGlobalStats functions/generateGlobalStats/main.go
env GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o bin/refresh functions/refresh/main.go
env GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o bin/requestRefresh functions/requestRefresh/main.go
env GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o bin/schedule functions/schedule/main.go
env GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o bin/login functions/login/main.go
env GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o bin/click functions/click/main.go
env GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o bin/generateGlobalStats functions/generateGlobalStats/main.go

clean:
rm -rf ./bin ./vendor Gopkg.lock
Expand All @@ -24,4 +24,4 @@ invoke:
npx sls invoke -f $(FUNCTION_NAME) -l --path functions/$(FUNCTION_NAME)/resources/request.json

invoke-local: build
./invoke.sh $(FUNCTION_NAME)
./invoke.sh $(FUNCTION_NAME)
Loading

0 comments on commit 2aed1da

Please sign in to comment.