diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-09-14 19:17:09 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-09-14 19:17:16 -0700 |
| commit | e22c35681f90740b4f5006c30b3f154ebd1f8ea2 (patch) | |
| tree | c7f04d968bade120ebf75cfa0b9f073602917122 /tools/autoformat.nom | |
| parent | 7112af7cb6ee52f4ef9664db9c03db52d8c73ac9 (diff) | |
Auto-upgraded everything.
Diffstat (limited to 'tools/autoformat.nom')
| -rwxr-xr-x | tools/autoformat.nom | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/autoformat.nom b/tools/autoformat.nom index 42e7dca..a915fa4 100755 --- a/tools/autoformat.nom +++ b/tools/autoformat.nom @@ -1,4 +1,4 @@ -#!/usr/bin/env nomsu -V3.8.7.6 +#!/usr/bin/env nomsu -V4.8.8.6 # Auto-format Nomsu code. Usage: nomsu tools/autoformat.nom [-i] file1 file2 directory1 ... @@ -16,9 +16,9 @@ if (%args.1 is "-i"): for %path in %args: for file %filename in %path: unless (%filename::matches "%.nom$"): do next %filename - %formatted = ".." - #!/usr/bin/env nomsu -V\(Nomsu version) - \((parse (read file %filename) from %filename) as nomsu) + %formatted = "\ + ..#!/usr/bin/env nomsu -V\(Nomsu version) + \((parse (read file %filename) from %filename) as nomsu)" if %inplace: write %formatted to file %filename |
