Skip to content

Commit ef24fde

Browse files
authored
Merge pull request #4 from oleg-balunenko/menu-refactor
Interactive menu Add tools dependencies Add build stage to travis Set up gorelesaser Update gitignore Helper scripts Update dependencies and vendor puzzles: Add tests cmd: Implement interactive menu
2 parents 9081c54 + 17db949 commit ef24fde

File tree

528 files changed

+258958
-183
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

528 files changed

+258958
-183
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@
1414
.idea
1515

1616
bin/
17+
dist/
18+
release/

.goreleaser.yml

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
release:
2+
github:
3+
owner: oleg-balunenko
4+
name: advent-of-code
5+
6+
before:
7+
hooks:
8+
- go mod tidy
9+
10+
builds:
11+
- id: cli
12+
binary: aoc-cli
13+
goos:
14+
- darwin
15+
- windows
16+
- linux
17+
goarch:
18+
- amd64
19+
- 386
20+
- arm
21+
env:
22+
- CGO_ENABLED=0
23+
main: ./cmd/aoc-cli
24+
ldflags:
25+
- -s -w
26+
- -X main.version={{.Version}}
27+
- -X main.commit={{.ShortCommit}}
28+
- -X main.date={{.Date}}
29+
- -X main.goversion={{.Env.GOVERSION}}
30+
31+
archives:
32+
- id: cli
33+
builds:
34+
- cli
35+
format: tar.gz
36+
wrap_in_directory: true
37+
format_overrides:
38+
- goos: windows
39+
format: zip
40+
replacements:
41+
amd64: 64-bit
42+
386: 32-bit
43+
darwin: macOS
44+
linux: Tux
45+
name_template: "{{ .Binary }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
46+
files:
47+
- LICENSE
48+
- README.md
49+
- input/*
50+
checksum:
51+
name_template: "{{ .ProjectName }}-{{ .Version }}-checksums.txt"
52+
53+
snapshot:
54+
name_template: SNAPSHOT-{{ .Commit }}
55+
56+
changelog:
57+
sort: asc
58+
filters:
59+
exclude:
60+
- "^docs:"
61+
- "^test:"
62+
- "^dev:"
63+
- "README"
64+
- "^readme"
65+
- "^scripts"
66+
- "scripts:"
67+
- Merge pull request
68+
- Merge branch
69+
- Rebase on master
70+
- "^Makefile"
71+
- "goreleaser"

.tools/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
This package is used to track CI tool dependencies.
2+
3+
* [Why does installing a tool via go get fail with error cannot find main module](https://github.com/golang/go/wiki/Modules#why-does-installing-a-tool-via-go-get-fail-with-error-cannot-find-main-module)

.tools/go.mod

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
module linters
2+
3+
go 1.13
4+
5+
require (
6+
github.com/Bubblyworld/gogroup v0.0.0-20190916104113-7932787f4667 // indirect
7+
github.com/client9/misspell v0.3.4 // indirect
8+
github.com/fatih/structtag v1.1.0 // indirect
9+
github.com/kisielk/errcheck v1.2.0 // indirect
10+
github.com/mattn/go-colorable v0.1.4 // indirect
11+
github.com/mattn/go-isatty v0.0.10 // indirect
12+
github.com/mattn/goveralls v0.0.4 // indirect
13+
github.com/mgechev/dots v0.0.0-20190921121421-c36f7dcfbb81 // indirect
14+
github.com/mgechev/revive v0.0.0-20191017201419-88015ccf8e97 // indirect
15+
github.com/olekukonko/tablewriter v0.0.3 // indirect
16+
golang.org/x/lint v0.0.0-20190930215403-16217165b5de // indirect
17+
golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e // indirect
18+
golang.org/x/tools v0.0.0-20191124021906-f5828fc9a103 // indirect
19+
honnef.co/go/tools v0.0.1-2019.2.3 // indirect
20+
mvdan.cc/unparam v0.0.0-20191111180625-960b1ec0f2c2 // indirect
21+
)

.tools/go.sum

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
github.com/Bubblyworld/gogroup v0.0.0-20190916104113-7932787f4667 h1:BzJcT0c0XRYDOmT68NH3DH/4kyVUjhtjojUidShnILQ=
2+
github.com/Bubblyworld/gogroup v0.0.0-20190916104113-7932787f4667/go.mod h1:qU/jtyMPZBNT6GdsA0KXkpIqzPSSjfEYgRUAywEHSPQ=
3+
github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=
4+
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
5+
github.com/client9/misspell v0.3.4 h1:ta993UF76GwbvJcIo3Y68y/M3WxlpEHPWIGDkJYwzJI=
6+
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
7+
github.com/fatih/color v1.7.0 h1:DkWD4oS2D8LGGgTQ6IvwJJXSL5Vp2ffcQg58nFV38Ys=
8+
github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4=
9+
github.com/fatih/structtag v1.0.0 h1:pTHj65+u3RKWYPSGaU290FpI/dXxTaHdVwVwbcPKmEc=
10+
github.com/fatih/structtag v1.0.0/go.mod h1:IKitwq45uXL/yqi5mYghiD3w9H6eTOvI9vnk8tXMphA=
11+
github.com/fatih/structtag v1.1.0 h1:6j4mUV/ES2duvnAzKMFkN6/A5mCaNYPD3xfbAkLLOF8=
12+
github.com/fatih/structtag v1.1.0/go.mod h1:mBJUNpUnHmRKrKlQQlmCrh5PuhftFbNv8Ys4/aAZl94=
13+
github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI=
14+
github.com/kisielk/errcheck v1.2.0 h1:reN85Pxc5larApoH1keMBiu2GWtPqXQ1nc9gx+jOU+E=
15+
github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00=
16+
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
17+
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
18+
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
19+
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
20+
github.com/mattn/go-colorable v0.1.2 h1:/bC9yWikZXAL9uJdulbSfyVNIR3n3trXl+v8+1sx8mU=
21+
github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE=
22+
github.com/mattn/go-colorable v0.1.4 h1:snbPLB8fVfU9iwbbo30TPtbLRzwWu6aJS6Xh4eaaviA=
23+
github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE=
24+
github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s=
25+
github.com/mattn/go-isatty v0.0.9 h1:d5US/mDsogSGW37IV293h//ZFaeajb69h+EHFsv2xGg=
26+
github.com/mattn/go-isatty v0.0.9/go.mod h1:YNRxwqDuOph6SZLI9vUUz6OYw3QyUt7WiY2yME+cCiQ=
27+
github.com/mattn/go-isatty v0.0.10 h1:qxFzApOv4WsAL965uUPIsXzAKCZxN2p9UqdhFS4ZW10=
28+
github.com/mattn/go-isatty v0.0.10/go.mod h1:qgIWMr58cqv1PHHyhnkY9lrL7etaEgOFcMEpPG5Rm84=
29+
github.com/mattn/go-runewidth v0.0.4 h1:2BvfKmzob6Bmd4YsL0zygOqfdFnK7GR4QL06Do4/p7Y=
30+
github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU=
31+
github.com/mattn/go-runewidth v0.0.6 h1:V2iyH+aX9C5fsYCpK60U8BYIvmhqxuOL3JZcqc1NB7k=
32+
github.com/mattn/go-runewidth v0.0.6/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI=
33+
github.com/mattn/goveralls v0.0.4 h1:/mdWfiU2y8kZ48EtgByYev/XT3W4dkTuKLOJJsh/r+o=
34+
github.com/mattn/goveralls v0.0.4/go.mod h1:8d1ZMHsd7fW6IRPKQh46F2WRpyib5/X4FOpevwGNQEw=
35+
github.com/mgechev/dots v0.0.0-20181228164730-18fa4c4b71cc h1:SQHr6jXnsY5YmRoO7RWDcZjmC3PgwPW/xQ9TYJ/SiRY=
36+
github.com/mgechev/dots v0.0.0-20181228164730-18fa4c4b71cc/go.mod h1:KQ7+USdGKfpPjXk4Ga+5XxQM4Lm4e3gAogrreFAYpOg=
37+
github.com/mgechev/dots v0.0.0-20190921121421-c36f7dcfbb81 h1:QASJXOGm2RZ5Ardbc86qNFvby9AqkLDibfChMtAg5QM=
38+
github.com/mgechev/dots v0.0.0-20190921121421-c36f7dcfbb81/go.mod h1:KQ7+USdGKfpPjXk4Ga+5XxQM4Lm4e3gAogrreFAYpOg=
39+
github.com/mgechev/revive v0.0.0-20191017201419-88015ccf8e97 h1:/traC0Wb959khmF0vgFqbE8uRhYfauj07hBuMcTFgow=
40+
github.com/mgechev/revive v0.0.0-20191017201419-88015ccf8e97/go.mod h1:37hJOqkogcmT5nmiriskuzkdJ/YhMlZwFSg87NDZbco=
41+
github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y=
42+
github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
43+
github.com/olekukonko/tablewriter v0.0.1 h1:b3iUnf1v+ppJiOfNX4yxxqfWKMQPZR5yoh8urCTFX88=
44+
github.com/olekukonko/tablewriter v0.0.1/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo=
45+
github.com/olekukonko/tablewriter v0.0.2 h1:sq53g+DWf0J6/ceFUHpQ0nAEb6WgM++fq16MZ91cS6o=
46+
github.com/olekukonko/tablewriter v0.0.2/go.mod h1:rSAaSIOAGT9odnlyGlUfAJaoc5w2fSBUmeGDbRWPxyQ=
47+
github.com/olekukonko/tablewriter v0.0.3 h1:i0LBnzgiChAWHJYTQAZJDOgf8MNxAVYZJ2m63SIDimI=
48+
github.com/olekukonko/tablewriter v0.0.3/go.mod h1:YZeBtGzYYEsCHp2LST/u/0NDwGkRoBtmn1cIWCJiS6M=
49+
github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I=
50+
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
51+
github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
52+
github.com/rogpeppe/go-internal v1.3.2/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc=
53+
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
54+
golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
55+
golang.org/x/lint v0.0.0-20190930215403-16217165b5de h1:5hukYrvBGR8/eNkX5mdUezrA6JiaEZDtJb9Ei+1LlBs=
56+
golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
57+
golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc=
58+
golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
59+
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
60+
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
61+
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
62+
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
63+
golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
64+
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
65+
golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a h1:aYOabOQFp6Vj6W1F80affTUvO9UxmJRx8K0gsfABByQ=
66+
golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
67+
golang.org/x/sys v0.0.0-20191008105621-543471e840be/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
68+
golang.org/x/sys v0.0.0-20191117211529-81af7394a238 h1:Bm3cDUUSrXTkUZ5SygdSTSdbkL29gk0MB0IOqdvfPuA=
69+
golang.org/x/sys v0.0.0-20191117211529-81af7394a238/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
70+
golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e h1:N7DeIrjYszNmSW409R3frPPwglRwMkXSBzwVbkOjLLA=
71+
golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
72+
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
73+
golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
74+
golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
75+
golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
76+
golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
77+
golang.org/x/tools v0.0.0-20190911151314-feee8acb394c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
78+
golang.org/x/tools v0.0.0-20191116214431-80313e1ba718 h1:cWviR33VVbwok1/RNvFm9XHNcdJCsaSocBflkEXrIdo=
79+
golang.org/x/tools v0.0.0-20191116214431-80313e1ba718/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
80+
golang.org/x/tools v0.0.0-20191124021906-f5828fc9a103 h1:etSZZCMgaL7Z8Zy3W70DnOZ9RNPujuF/2ueQnnM+Uoc=
81+
golang.org/x/tools v0.0.0-20191124021906-f5828fc9a103/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
82+
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
83+
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
84+
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
85+
gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI=
86+
honnef.co/go/tools v0.0.1-2019.2.3 h1:3JgtbtFHMiCmsznwGVTUWbgGov+pVqnlf1dEJTNAXeM=
87+
honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg=
88+
mvdan.cc/unparam v0.0.0-20191111180625-960b1ec0f2c2 h1:K7wru2CfJGumS5hkiguQ0Rb9ebKM2Jo8s5d4Jm9lFaM=
89+
mvdan.cc/unparam v0.0.0-20191111180625-960b1ec0f2c2/go.mod h1:rCqoQrfAmpTX/h2APczwM7UymU/uvaOluiVPIYCSY/k=

.travis.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,25 @@ jobs:
2121
- echo "Run unit tests..."
2222
- go vet $(go list ./...)
2323
- go test -v -race $(go list ./...)
24+
25+
- stage: Build
26+
go:
27+
- 1.13.x
28+
os:
29+
- linux
30+
before_script:
31+
- go mod tidy -v
32+
- export GOVERSION=$(go version | awk '{print $3;}')
33+
script:
34+
- echo "Build stage"
35+
- make compile
36+
after_success:
37+
deploy:
38+
skip_cleanup: true
39+
provider: script
40+
script: make release
41+
on:
42+
tags: true
43+
condition: "$TRAVIS_OS_NAME = linux"
44+
addons:
45+
ssh_known_hosts: github.com

Makefile

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
NAME=aoc-cli
2+
BIN_DIR=./bin
3+
4+
# COLORS
5+
GREEN := $(shell tput -Txterm setaf 2)
6+
YELLOW := $(shell tput -Txterm setaf 3)
7+
WHITE := $(shell tput -Txterm setaf 7)
8+
RESET := $(shell tput -Txterm sgr0)
9+
10+
11+
TARGET_MAX_CHAR_NUM=20
12+
13+
14+
define colored
15+
@echo '${GREEN}$1${RESET}'
16+
endef
17+
18+
## Show help
19+
help:
20+
${call colored, help is running...}
21+
@echo ''
22+
@echo 'Usage:'
23+
@echo ' ${YELLOW}make${RESET} ${GREEN}<target>${RESET}'
24+
@echo ''
25+
@echo 'Targets:'
26+
@awk '/^[a-zA-Z\-\_0-9]+:/ { \
27+
helpMessage = match(lastLine, /^## (.*)/); \
28+
if (helpMessage) { \
29+
helpCommand = substr($$1, 0, index($$1, ":")-1); \
30+
helpMessage = substr(lastLine, RSTART + 3, RLENGTH); \
31+
printf " ${YELLOW}%-$(TARGET_MAX_CHAR_NUM)s${RESET} ${GREEN}%s${RESET}\n", helpCommand, helpMessage; \
32+
} \
33+
} \
34+
{ lastLine = $$0 }' $(MAKEFILE_LIST)
35+
36+
37+
38+
## app compile
39+
compile:
40+
${call colored, compile is running...}
41+
./scripts/compile.sh
42+
.PHONY: compile
43+
44+
## Cross os compile
45+
cross-compile:
46+
${call colored, compile is running...}
47+
./scripts/cross-compile.sh
48+
.PHONY: cross-compile
49+
50+
## lint project
51+
lint:
52+
${call colored, lint is running...}
53+
./scripts/run-linters.sh
54+
.PHONY: lint
55+
56+
lint-ci:
57+
${call colored, lint_ci is running...}
58+
./scripts/run-linters-ci.sh
59+
.PHONY: lint-ci
60+
61+
## format markdown files in project
62+
pretty-markdown:
63+
find . -name '*.md' -not -wholename './vendor/*' | xargs prettier --write
64+
.PHONY: pretty-markdown
65+
66+
## Test all packages
67+
test:
68+
${call colored, test is running...}
69+
./scripts/run-tests.sh
70+
.PHONY: test
71+
72+
## Test coverage
73+
test-cover:
74+
${call colored, test-cover is running...}
75+
./scripts/coverage.sh
76+
.PHONY: test-cover
77+
78+
new-version: lint test compile
79+
${call colored, new version is running...}
80+
./scripts/version.sh
81+
.PHONY: new-version
82+
83+
84+
## Release
85+
release:
86+
${call colored, release is running...}
87+
./scripts/release.sh
88+
.PHONY: release
89+
90+
## Fix imports sorting
91+
imports:
92+
${call colored, sort and group imports...}
93+
./scripts/fix-imports.sh
94+
.PHONY: imports
95+
96+
## dependencies - fetch all dependencies for sripts
97+
dependencies:
98+
${call colored, dependensies is running...}
99+
./scripts/get-dependencies.sh
100+
.PHONY: dependencies
101+
102+
.DEFAULT_GOAL := test

0 commit comments

Comments
 (0)