-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (28 loc) · 775 Bytes
/
Makefile
File metadata and controls
33 lines (28 loc) · 775 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
build:
go build -o bin/git-gsub main.go
run:
go run main.go
test:
go test -v
e2e: build
E2E=1 go test -v
compile:
# 32-Bit Systems
# FreeBDS
GOOS=freebsd GOARCH=386 go build -o bin/main-freebsd-386 main.go
# MacOS
GOOS=darwin GOARCH=386 go build -o bin/main-darwin-386 main.go
# Linux
GOOS=linux GOARCH=386 go build -o bin/main-linux-386 main.go
# Windows
GOOS=windows GOARCH=386 go build -o bin/main-windows-386 main.go
# 64-Bit
# FreeBDS
GOOS=freebsd GOARCH=amd64 go build -o bin/main-freebsd-amd64 main.go
# MacOS
GOOS=darwin GOARCH=amd64 go build -o bin/main-darwin-amd64 main.go
# Linux
GOOS=linux GOARCH=amd64 go build -o bin/main-linux-amd64 main.go
# Windows
GOOS=windows GOARCH=amd64 go build -o bin/main-windows-amd64 main.go
ci: test e2e