zig/src-self-hosted
Andrew Kelley 1ca90b5856 zig fmt: support directories
zig fmt accepts any number of file paths. For each one, if it
is a file, then it formats the file. If it is a directory, then
zig recursively scans the directory, formatting all files that
end in `.zig`.

it maintains a map of paths that have been seen already, to avoid
softlink loops.

closes #1068
2018-06-18 13:58:08 -04:00
..
arg.zig
c.zig
errmsg.zig
introspect.zig std.os.path.dirname: return null instead of empty slice 2018-06-14 16:15:32 -04:00
ir.zig
llvm.zig
main.zig zig fmt: support directories 2018-06-18 13:58:08 -04:00
module.zig
scope.zig
target.zig