Skip to content

Commit 1b24dde

Browse files
committed
Initial commit
0 parents  commit 1b24dde

File tree

24 files changed

+1551
-0
lines changed

24 files changed

+1551
-0
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.svg binary

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/dist/
2+
/ets

.goreleaser.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
project_name: ets
2+
before:
3+
hooks:
4+
- go mod download
5+
builds:
6+
- env:
7+
- CGO_ENABLED=0
8+
ldflags:
9+
- -s -w -X main.version={{.Version}}
10+
goos:
11+
- darwin
12+
- linux
13+
goarch:
14+
- 386
15+
- amd64
16+
ignore:
17+
- goos: darwin
18+
goarch: 386
19+
archives:
20+
- replacements:
21+
386: i386
22+
nfpms:
23+
- formats:
24+
- deb
25+
- rpm
26+
replacements:
27+
386: i386
28+
files:
29+
"ets.1": "/usr/share/man/man1/ets.1"
30+
release:
31+
draft: true
32+
prerelease: auto
33+
changelog:
34+
sort: asc
35+
filters:
36+
exclude:
37+
- "^docs:"
38+
- "^test:"

COPYING

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Copyright (c) 2020 Zhiming Wang <[email protected]>
2+
3+
Permission is hereby granted, free of charge, to any person obtaining
4+
a copy of this software and associated documentation files (the
5+
"Software"), to deal in the Software without restriction, including
6+
without limitation the rights to use, copy, modify, merge, publish,
7+
distribute, sublicense, and/or sell copies of the Software, and to
8+
permit persons to whom the Software is furnished to do so, subject to
9+
the following conditions:
10+
11+
The above copyright notice and this permission notice shall be
12+
included in all copies or substantial portions of the Software.
13+
14+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Makefile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
.PHONY: all build test shorttest update-readme clean
2+
3+
all: build
4+
5+
build:
6+
go build
7+
8+
test:
9+
go test -v
10+
11+
shorttest:
12+
go test -v -short
13+
14+
update-readme:
15+
tools/update-readme.sh
16+
doctoc README.md
17+
18+
clean:
19+
@- $(RM) ets

0 commit comments

Comments
 (0)