Skip to content

Commit

Permalink
chore: update install guide
Browse files Browse the repository at this point in the history
  • Loading branch information
Hanaasagi committed Dec 3, 2023
1 parent 9175fec commit 5a3cc68
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ pub fn main() !void {

## Installation

### Zig 0.11

Add `donuts` as dependency in `build.zig.zon`:

```
Expand All @@ -134,8 +136,8 @@ Add `donuts` as dependency in `build.zig.zon`:
.version = "0.1.0",
.dependencies = .{
.donuts = .{
.url = "https://github.com/dying-will-bullet/donuts/archive/refs/tags/v0.1.0.tar.gz",
.hash = "1220bada42a79e3a368511af68dbc71c71f5dfc55844ed420f3a1637936ef99356a7",
.url = "https://github.com/dying-will-bullet/donuts/archive/refs/tags/v0.2.0.tar.gz",
.hash = "1220c47de7b9878c2aeb26ab20383482b0319f8ead60682dc1e47d0be2feef5588b6"
},
},
}
Expand Down Expand Up @@ -168,6 +170,10 @@ index 957f625..d1a906c 100644
// standard location when the user invokes the "install" step (the default
```

### Zig 0.12 / nightly

Please use the master branch.

## LICENSE

MIT License Copyright (c) 2023, Hanaasagi

0 comments on commit 5a3cc68

Please sign in to comment.