Skip to content

Commit 29912a9

Browse files
authored
Merge pull request #34 from future-architect/feature/go-releaser
Fix cli launch bug
2 parents d782474 + cc0052c commit 29912a9

File tree

10 files changed

+8
-6
lines changed

10 files changed

+8
-6
lines changed

.goreleaser.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ before:
77
# you may remove this if you don't need go generate
88
- go generate ./...
99
builds:
10-
- env:
10+
- main: ./cmd/exceltesting/
11+
env:
1112
- CGO_ENABLED=0
1213
goos:
1314
- linux
@@ -29,7 +30,8 @@ changelog:
2930
filters:
3031
exclude:
3132
- '^docs:'
32-
- '^test:'
33+
- '^testdata:'
34+
- '^testonly:'
3335

3436
# modelines, feel free to remove those if you don't want/use them:
3537
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ GoでExcelを使ったテーブルドリブンテストを行うためのヘル
1313
`go-exceltesting` ではこうしたデータベースへの事前データの投入や、実際の更新結果と期待結果の比較をより効率的に行うためのAPIを提供します。
1414
視認性に優れることから事前データや期待するデータはExcelを使います。
1515

16-
![](./doc/image/overview.drawio.png)
16+
![](docs/image/overview.drawio.png)
1717

1818
現在は PostgreSQL のみサポートしています。
1919

2020
## 使い方
2121

22-
* [データの投入方法](./doc/insert.md)
23-
* [DBの値と比較する方法](./doc/compare.md)
22+
* [データの投入方法](docs/insert.md)
23+
* [DBの値と比較する方法](docs/compare.md)
2424

2525
## インストール
2626

cli/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ var (
2727

2828
compareCommand = app.Command("compare", "Compare database to excel file")
2929
compareFile = compareCommand.Arg("file", "Target excel file path (e.g. want.xlsx)").Required().NoEnvar().ExistingFile()
30-
enableDumpCSVCompare = loadCommand.Flag("enableDumpCSV", "Enable excel file dump to csv for code review or version history").NoEnvar().Bool()
30+
enableDumpCSVCompare = compareCommand.Flag("enableDumpCSV", "Enable excel file dump to csv for code review or version history").NoEnvar().Bool()
3131
)
3232

3333
func Main() {
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)