A CLI tool to edit dinit service files with ease
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add build instructions

iacore d0fb95e9 baec9556

+13 -3
+1
.gitignore
··· 1 1 *.o 2 + main
+5
Makefile
··· 1 + main: main.zig 2 + zig build-exe -O ReleaseSafe main.zig 3 + 4 + # install: main 5 + # install main
+2
main.zig
··· 69 69 return std.posix.execveZ("/bin/sh", &.{ "sh", "-c", command }, @ptrCast(std.os.environ)); 70 70 } 71 71 } 72 + std.debug.print("Cannot find service file\n", .{}); 73 + std.process.exit(1); 72 74 }
+5 -3
readme.md
··· 2 2 3 3 Please don't have space or other weird characters inside the service file path, since it's passed to `sh -c '$EDITOR $service_file_path'`. 4 4 5 + ## Building 6 + 7 + Use Zig 0.14.1 8 + 5 9 ``` 6 - zig run main.zig 7 - zig build-exe main.zig 8 - zig build-exe -O ReleaseSafe main.zig 10 + make 9 11 install ./main <somewhere> 10 12 ``` 11 13