Move input to cwd

This commit is contained in:
Adam Millerchip 2022-08-11 18:57:01 +09:00
parent 8a7dab06d2
commit 6d677300ee
2 changed files with 3 additions and 2 deletions

3
2020/zig/.gitignore vendored
View file

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

View file

@ -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");