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 breaking syntax change: ??x to x.? (#1095) 2018-06-09 23:42:14 -04:00
c.zig fix self hosted compiler on windows 2018-01-03 04:55:49 -05:00
errmsg.zig use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
introspect.zig std.os.path.dirname: return null instead of empty slice 2018-06-14 16:15:32 -04:00
ir.zig use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
llvm.zig breaking syntax change: ??x to x.? (#1095) 2018-06-09 23:42:14 -04:00
main.zig zig fmt: support directories 2018-06-18 13:58:08 -04:00
module.zig breaking syntax change: orelse keyword instead of ?? (#1096) 2018-06-10 01:13:51 -04:00
scope.zig use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
target.zig use * for pointer type instead of & 2018-05-31 17:28:07 -04:00