Skip to content

Commit cc7ef52

Browse files
author
Kirill
authored
[bazel] Update README.md (#1427)
Provides simpler using and less errors
1 parent 0b3bcbc commit cc7ef52

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

bazel/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44

55
In `WORKSPACE` file, put:
66
```starlark
7-
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
8-
http_archive(
7+
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
8+
git_repository(
99
name = "emsdk",
10-
sha256 = "d55e3c73fc4f8d1fecb7aabe548de86bdb55080fe6b12ce593d63b8bade54567",
11-
strip_prefix = "emsdk-3891e7b04bf8cbb3bc62758e9c575ae096a9a518/bazel",
12-
url = "https://github.com/emscripten-core/emsdk/archive/3891e7b04bf8cbb3bc62758e9c575ae096a9a518.tar.gz",
10+
remote = "https://github.com/emscripten-core/emsdk.git",
11+
tag = "3.1.64",
12+
strip_prefix = "bazel",
1313
)
1414

1515
load("@emsdk//:deps.bzl", emsdk_deps = "deps")

0 commit comments

Comments
 (0)