Skip to content

Commit

Permalink
Remove verbatim WORKSPACE instrcuctions from README.md
Browse files Browse the repository at this point in the history
Let's use what's in the release notes
  • Loading branch information
lalten authored Nov 20, 2023
1 parent 3903a86 commit 32de215
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,7 @@ See also [Alternatives](#alternatives) below.

### Installation

See the [latest release notes](https://github.com/lalten/rules_appimage/releases/latest) for a snippet to add to your `WORKSPACE`, or use the following:

```py
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

RULES_APPIMAGE_VER = "1.2.0"

http_archive(
name = "rules_appimage",
# sha256 = "", # FIXME: Bazel will print the proper value to add here during the first build.
strip_prefix = "rules_appimage-{}".format(RULES_APPIMAGE_VER),
url = "https://github.com/lalten/rules_appimage/archive/refs/tags/v{}.tar.gz".format(RULES_APPIMAGE_VER),
)

load("@rules_appimage//:deps.bzl", "rules_appimage_deps")

rules_appimage_deps()
```
See the [latest release notes](https://github.com/lalten/rules_appimage/releases/latest) for a snippet to add to your `WORKSPACE`.

### Usage

Expand Down

0 comments on commit 32de215

Please sign in to comment.