Move input to cwd

main
Adam Millerchip 4 months ago
parent 8a7dab06d2
commit 6d677300ee
  1. 3
      2020/zig/.gitignore
  2. 2
      2020/zig/src/day01.zig

@ -1,4 +1,5 @@
zig-cache/
zig-out/
data/
src/sample
src/input
build_runner.zig

@ -3,7 +3,7 @@ const tokenize = std.mem.tokenize;
const parseInt = std.fmt.parseInt;
const print = std.debug.print;
const data = @embedFile("../data/day01.txt");
const data = @embedFile("input");
pub fn main() !void {
var it = tokenize(u8, data, "\n");

Loading…
Cancel
Save