Skip to content

Commit 95418a2

Browse files
committed
✨ Add GitHub plugin
1 parent aace9b6 commit 95418a2

29 files changed

+4251
-0
lines changed

plugins/github/.gitignore

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
2+
# Go template downloaded with gut
3+
*.exe
4+
*.exe~
5+
*.dll
6+
*.so
7+
*.dylib
8+
*.test
9+
*.out
10+
go.work
11+
.gut
12+
13+
# Dev files
14+
*.log
15+
devManifest.*
16+
.init
17+
18+
dist/

plugins/github/.goreleaser.yaml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
2+
version: 2
3+
4+
before:
5+
hooks:
6+
# You may remove this if you don't use go modules.
7+
- go mod tidy
8+
9+
builds:
10+
- env:
11+
- CGO_ENABLED=0
12+
goos:
13+
- linux
14+
- windows
15+
- darwin
16+
17+
goarch:
18+
- amd64
19+
- arm64
20+
21+
archives:
22+
- format: binary
23+
24+
changelog:
25+
sort: asc
26+
filters:
27+
exclude:
28+
- "^docs:"
29+
- "^test:"

plugins/github/Makefile

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
files := $(wildcard *.go)
3+
4+
all: $(files)
5+
go build -o github.out $(files)
6+
7+
prod: $(files)
8+
go build -o github.out -ldflags "-s -w" $(files)
9+
10+
clean:
11+
rm -f notion.out
12+
13+
.PHONY: all clean

0 commit comments

Comments
 (0)