Skip to content

Commit

Permalink
add wasm build tag to Wasm package for playground (fix #297)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysd committed Jun 10, 2023
1 parent 2d99b21 commit c9ea498
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ make test
[staticcheck](https://staticcheck.io/) is used to lint Go sources.

```sh
staticcheck ./ ./cmd/...
staticcheck ./...
```

or
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ endif
test: .testtimestamp

.staticchecktimestamp: $(TESTS) $(SRCS) $(TOOL)
staticcheck ./ ./cmd/... ./scripts/...
staticcheck ./...
GOOS=js GOARCH=wasm staticcheck ./playground
touch .staticchecktimestamp

Expand Down
1 change: 0 additions & 1 deletion fuzz/check.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build gofuzz
// +build gofuzz

package actionlint_fuzz

Expand Down
1 change: 0 additions & 1 deletion fuzz/expr.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build gofuzz
// +build gofuzz

package actionlint_fuzz

Expand Down
1 change: 0 additions & 1 deletion fuzz/glob.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build gofuzz
// +build gofuzz

package actionlint_fuzz

Expand Down
1 change: 0 additions & 1 deletion fuzz/parse.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build gofuzz
// +build gofuzz

package actionlint_fuzz

Expand Down
2 changes: 2 additions & 0 deletions playground/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build wasm

package main

import (
Expand Down

0 comments on commit c9ea498

Please sign in to comment.