diff --git a/.github/ISSUE_TEMPLATE/bug.md b/.github/ISSUE_TEMPLATE/bug.md index eb824de..e98d2da 100644 --- a/.github/ISSUE_TEMPLATE/bug.md +++ b/.github/ISSUE_TEMPLATE/bug.md @@ -8,6 +8,6 @@ Expected output: Actual output: -OS and Badger versions: +OS and FFLint versions: Please attach sample files needed to replicate diff --git a/README.md b/README.md index 4fd3577..537925c 100644 --- a/README.md +++ b/README.md @@ -54,5 +54,7 @@ For anyone who cannot use AGPL software, an inexpensive commercial license is av * [GoReleaser](https://goreleaser.com/) * [mathiasbynens/small](https://github.com/mathiasbynens/small) - sample files for testing - +* [svgrepo](https:svgrepo.com) - [flint hand axe icon](https://www.svgrepo.com/svg/156483/hand-axe) +* IconFinder alternate icon: [flint hammer](https://www.iconfinder.com/icons/3286710/caveman_flint_hammer_prehistoric_stone_tribal_weapon_icon) (purchased) +* IconFinder alternate icon: [flint axe](https://www.iconfinder.com/icons/11293805/stone_weapon_age_ancient_ax_icon) (purchased) * See [`go.mod`](https://github.com/FileFormatInfo/fflint/blob/main/go.mod) for the GoLang modules used diff --git a/action.yaml b/action.yaml index 38053f8..27df9ab 100644 --- a/action.yaml +++ b/action.yaml @@ -1,5 +1,5 @@ -name: 'File Format Badger' -description: 'Badger you about your file formats'' +name: 'File Format Lint' +description: 'Checks your file formats' inputs: cmd: description: 'command to run' diff --git a/cmd/fflint/main_test.go b/cmd/fflint/main_test.go index f920a46..9401948 100644 --- a/cmd/fflint/main_test.go +++ b/cmd/fflint/main_test.go @@ -80,7 +80,7 @@ func TestMain(m *testing.M) { os.Exit(exitVal) } -func TestBadger(t *testing.T) { +func TestFFLint(t *testing.T) { testscript.Run(t, testscript.Params{ Dir: "../../testdata", }) diff --git a/internal/command/version.go b/internal/command/version.go index b4b3df9..fadd566 100644 --- a/internal/command/version.go +++ b/internal/command/version.go @@ -27,7 +27,7 @@ var versionCmd = &cobra.Command{ versionJSON, _ := json.Marshal(vi) fmt.Println(string(versionJSON)) } else if shared.OutputFormat.String() == "text" { - fmt.Printf("Badger v%s (%s)\n", vi.Version, vi.LastMod) + fmt.Printf("FFLint v%s (%s)\n", vi.Version, vi.LastMod) if shared.Debug { fmt.Printf("\tCommit: %s\n\tBuilder: %s\n", vi.Commit, vi.Builder) } diff --git a/run.sh b/run.sh index b5cbd7c..842b439 100755 --- a/run.sh +++ b/run.sh @@ -11,4 +11,4 @@ rm -rf ./fflint go build -o ./fflint cmd/fflint/main.go export PATH=$PATH:$(pwd) fflint version -go test -timeout 30s -run "^TestBadger$" github.com/FileFormatInfo/fflint/cmd/fflint \ No newline at end of file +go test -timeout 30s -run "^TestFFLint$" github.com/FileFormatInfo/fflint/cmd/fflint \ No newline at end of file diff --git a/testdata/version.txt b/testdata/version.txt index 583f003..bd0eb70 100644 --- a/testdata/version.txt +++ b/testdata/version.txt @@ -1,2 +1,2 @@ exec fflint version -stdout 'Badger v[0-9]+\.[0-9]+\.[0-9]+.*' +stdout 'fflint v[0-9]+\.[0-9]+\.[0-9]+.*'