Compare commits
2 Commits
a6453733f3
...
f78a8eaf1a
| Author | SHA1 | Date | |
|---|---|---|---|
| f78a8eaf1a | |||
| 372738e03e |
23
README.md
23
README.md
@@ -1,3 +1,24 @@
|
||||
# faller
|
||||
|
||||
Small logging library.
|
||||
Small logging library.
|
||||
|
||||
## Installation
|
||||
|
||||
Run:
|
||||
```bash
|
||||
zig fetch --save git+https://git.pascalzittlau.de/pzittlau/faller.git
|
||||
```
|
||||
|
||||
Then put this in `build.zig`:
|
||||
```zig
|
||||
const faller = b.dependency("faller", .{
|
||||
.target = target,
|
||||
.optimize = optimize,
|
||||
// Other options
|
||||
});
|
||||
mod.addImport("faller", faller.module("faller"));
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
Apache 2.0
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
const std = @import("std");
|
||||
|
||||
pub fn build(b: *std.Build) void {
|
||||
const optimize = b.standardOptimizeOption(.{ .preferred_optimize_mode = .ReleaseSafe });
|
||||
const optimize = b.standardOptimizeOption(.{});
|
||||
const target = b.standardTargetOptions(.{});
|
||||
|
||||
const faller = b.addModule("faller", .{
|
||||
|
||||
Reference in New Issue
Block a user