Skip to content

Commit

Permalink
Merge pull request #2 from edcdavid/ci
Browse files Browse the repository at this point in the history
Fix shfmt lint
  • Loading branch information
edcdavid authored Aug 19, 2024
2 parents 3c99bf0 + e3668af commit 190cc42
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ build:
install-lint:
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b ${GO_PATH}/bin ${GOLANGCI_VERSION}
test:
scripts/test.sh
scripts/test.sh
vet:
go vet ${GO_PACKAGES}
6 changes: 3 additions & 3 deletions scripts/test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
make build
./basic 2>&1| sed 's/time="[^"]*" //' > test/actual.txt
diff test/actual.txt test/expected.txt
make build
./basic 2>&1 | sed 's/time="[^"]*" //' >test/actual.txt
diff test/actual.txt test/expected.txt

0 comments on commit 190cc42

Please sign in to comment.