Skip to content

Commit e4902b2

Browse files
committed
fix: generate task.
1 parent fd2a618 commit e4902b2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ fast_generate: assets/github-action-config.json
4444

4545
fast_check_generated:
4646
$(MAKE) --always-make fast_generate
47-
git checkout -- go.mod go.sum # can differ between go1.12 and go1.13
47+
git checkout -- go.mod go.sum # can differ between go1.15 and go1.16
4848
git diff --exit-code # check no changes
4949

5050
release: .goreleaser.yml tools/goreleaser
@@ -78,7 +78,8 @@ assets/demo.svg: tools/svg-term tools/Dracula.itermcolors
7878
./tools/svg-term --cast=183662 --out assets/demo.svg --window --width 110 --height 30 --from 2000 --to 20000 --profile ./tools/Dracula.itermcolors --term iterm2
7979

8080
assets/github-action-config.json: FORCE golangci-lint
81-
go run ./scripts/gen_github_action_config/main.go $@
81+
# go run ./scripts/gen_github_action_config/main.go $@
82+
cd ./scripts/gen_github_action_config/; go run ./main.go ../../$@
8283

8384
go.mod: FORCE
8485
go mod tidy

0 commit comments

Comments
 (0)