Skip to content

Commit

Permalink
example: remove a build tag
Browse files Browse the repository at this point in the history
  • Loading branch information
hajimehoshi committed May 4, 2023
1 parent 689d7ac commit cd7d235
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ This will make the browser reload. You can add this command to a build script or
Running a remote package

```sh
# Be careful that `-tags=example` is required to run the below example application.
wasmserve -tags=example github.com/hajimehoshi/wasmserve/example
wasmserve github.com/hajimehoshi/wasmserve/example
```

And open `http://localhost:8080/` on your browser.
Expand All @@ -50,7 +49,7 @@ Running a local package
```sh
git clone https://github.com/hajimehoshi/ebiten # This might take several minutes.
cd ebiten
wasmserve -tags=example ./examples/sprites
wasmserve ./examples/sprites
```

And open `http://localhost:8080/` on your browser.
Expand Down
2 changes: 0 additions & 2 deletions example/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build example

package main

import (
Expand Down

0 comments on commit cd7d235

Please sign in to comment.