Skip to content

Commit

Permalink
Remove flag type generation code
Browse files Browse the repository at this point in the history
and related tooling, given all of it has been replaced by ✨
generics magic ✨

Connected to #833
  • Loading branch information
meatballhat committed Nov 27, 2022
1 parent 04736d1 commit df2f6f8
Show file tree
Hide file tree
Showing 18 changed files with 3 additions and 771 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/cli.yml
Expand Up @@ -34,12 +34,10 @@ jobs:
env:
GFLAGS: -tags urfave_cli_no_docs
- run: make test
- run: make -C cmd/urfave-cli-genflags
- run: make check-binary-size
env:
GFLAGS: -tags urfave_cli_no_docs
- run: make check-binary-size
- run: make yamlfmt
- if: matrix.go == '1.19.x' && matrix.os == 'ubuntu-latest'
run: make generate
- run: make diffcheck
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Expand Up @@ -5,7 +5,6 @@
.envrc
.idea
/.local/
/cmd/urfave-cli-genflags/urfave-cli-genflags
/site/
coverage.txt
internal/*/built-example
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -7,7 +7,7 @@
GO_RUN_BUILD := go run internal/build/build.go

.PHONY: all
all: generate vet test check-binary-size gfmrun yamlfmt
all: generate vet test check-binary-size gfmrun

# NOTE: this is a special catch-all rule to run any of the commands
# defined in internal/build/build.go with optional arguments passed
Expand Down
2 changes: 0 additions & 2 deletions cli.go
Expand Up @@ -21,5 +21,3 @@
// app.Run(os.Args)
// }
package cli

//go:generate make -C cmd/urfave-cli-genflags run
28 changes: 0 additions & 28 deletions cmd/urfave-cli-genflags/Makefile

This file was deleted.

15 changes: 0 additions & 15 deletions cmd/urfave-cli-genflags/README.md

This file was deleted.

87 changes: 0 additions & 87 deletions cmd/urfave-cli-genflags/generated.gotmpl

This file was deleted.

29 changes: 0 additions & 29 deletions cmd/urfave-cli-genflags/generated_altsrc.gotmpl

This file was deleted.

42 changes: 0 additions & 42 deletions cmd/urfave-cli-genflags/generated_test.gotmpl

This file was deleted.

15 changes: 0 additions & 15 deletions cmd/urfave-cli-genflags/go.mod

This file was deleted.

14 changes: 0 additions & 14 deletions cmd/urfave-cli-genflags/go.sum

This file was deleted.

0 comments on commit df2f6f8

Please sign in to comment.