Skip to content

Commit

Permalink
UPDATE: icon credits, more badger->fflint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
fileformat committed Nov 20, 2023
1 parent 2e6635b commit aa8ffb1
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ Expected output:

Actual output:

OS and Badger versions:
OS and FFLint versions:

Please attach sample files needed to replicate
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions action.yaml
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
2 changes: 1 addition & 1 deletion cmd/fflint/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
})
Expand Down
2 changes: 1 addition & 1 deletion internal/command/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
go test -timeout 30s -run "^TestFFLint$" github.com/FileFormatInfo/fflint/cmd/fflint
2 changes: 1 addition & 1 deletion testdata/version.txt
Original file line number Diff line number Diff line change
@@ -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]+.*'

0 comments on commit aa8ffb1

Please sign in to comment.