Skip to content

Commit

Permalink
filter more junk out of distributed tarball/zip files
Browse files Browse the repository at this point in the history
  • Loading branch information
nrnrnr committed Jun 28, 2018
1 parent cefee37 commit 66a26da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nwsrcfilter.icn
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
procedure main(args)
while line := read() do
if not (line[-1] == "~" | line == "." | find("/RCS", line) |
match("./.git", line) | find("/.#", line) |
find("/.gitignore", line) |
(line ? (tab(find("./binaries/")), move(1))) |
line[3] == line[-1] == "#" | line == "./nwsrcfilter") then
line ? (="./" & save_file(tab(0)))
Expand Down

0 comments on commit 66a26da

Please sign in to comment.