-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
18 lines (15 loc) · 721 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
.PHONY: deps clean build
deps:
go get -u ./...
clean:
rm -rf ./fn/get-upload-url/get-upload-url
rm -rf ./fn/get-download-url/get-download-url
rm -rf ./fn/resize-image/resize-image
rm -rf ./fn/signin/signin
rm -rf ./fn/respond-to-challenge/respond-to-challengen
build:
GOOS=linux GOARCH=amd64 go build -o fn/get-upload-url/get-upload-url ./fn/get-upload-url
GOOS=linux GOARCH=amd64 go build -o fn/get-download-url/get-download-url ./fn/get-download-url
GOOS=linux GOARCH=amd64 go build -o fn/resize-image/resize-image ./fn/resize-image
GOOS=linux GOARCH=amd64 go build -o fn/signin/signin ./fn/signin
GOOS=linux GOARCH=amd64 go build -o fn/respond-to-challenge/respond-to-challenge ./fn/respond-to-challenge