Skip to content

Commit cfec788

Browse files
committed
Add makefile target for ffjson
Signed-off-by: Michael Crosby <[email protected]>
1 parent 4e99e8f commit cfec788

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ test: .govet .golint .gitvalidation
5656
.gitvalidation:
5757
git-validation -q -run DCO,short-subject -v -range $(EPOCH_TEST_COMMIT)..HEAD
5858

59+
# `go get https://github.com/pquerna/ffjson`
60+
ffjson:
61+
cd specs-go/ && ffjson config.go
62+
cd specs-go/ && ffjson state.go
63+
5964
clean:
6065
rm -rf output/ *~
6166

specs-go/serialize_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ var spec = &Spec{
130130
},
131131
}
132132

133-
func BenchmarkMarsalSpec(b *testing.B) {
133+
func BenchmarkMarshalSpec(b *testing.B) {
134134
for i := 0; i < b.N; i++ {
135135
_, err := ffjson.Marshal(spec)
136136
if err != nil {

0 commit comments

Comments
 (0)