{"action":"created","issue":{"url":"https://api.github.com/repos/gittup/tup/issues/239","labels_url":"https://api.github.com/repos/gittup/tup/issues/239/labels{/name}","comments_url":"https://api.github.com/repos/gittup/tup/issues/239/comments","events_url":"https://api.github.com/repos/gittup/tup/issues/239/events","html_url":"https://github.com/gittup/tup/pull/239","id":95137933,"number":239,"title":"^-input pattern to exclude a specific file from the previously listed","user":{"login":"naudhr","id":798574,"avatar_url":"https://avatars.githubusercontent.com/u/798574?v=3","gravatar_id":"","url":"https://api.github.com/users/naudhr","html_url":"https://github.com/naudhr","followers_url":"https://api.github.com/users/naudhr/followers","following_url":"https://api.github.com/users/naudhr/following{/other_user}","gists_url":"https://api.github.com/users/naudhr/gists{/gist_id}","starred_url":"https://api.github.com/users/naudhr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naudhr/subscriptions","organizations_url":"https://api.github.com/users/naudhr/orgs","repos_url":"https://api.github.com/users/naudhr/repos","events_url":"https://api.github.com/users/naudhr/events{/privacy}","received_events_url":"https://api.github.com/users/naudhr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-15T08:48:27Z","updated_at":"2015-10-23T04:44:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/gittup/tup/pulls/239","html_url":"https://github.com/gittup/tup/pull/239","diff_url":"https://github.com/gittup/tup/pull/239.diff","patch_url":"https://github.com/gittup/tup/pull/239.patch"},"body":"Adding ability to exclude some files from, for example, «:foreach» rule.\r\n\r\nUseful in the case when all the library sources are placed into one directory and just a few of them are used to build some special tool (like script generator, testtapp, supervisor app, etc) with special dependencies. So one can «:foreach *.c ^main.c ^test.c», and then add specific rules for excepted modules."},"comment":{"url":"https://api.github.com/repos/gittup/tup/issues/comments/150468518","html_url":"https://github.com/gittup/tup/pull/239#issuecomment-150468518","issue_url":"https://api.github.com/repos/gittup/tup/issues/239","id":150468518,"user":{"login":"hidroto","id":230615,"avatar_url":"https://avatars.githubusercontent.com/u/230615?v=3","gravatar_id":"","url":"https://api.github.com/users/hidroto","html_url":"https://github.com/hidroto","followers_url":"https://api.github.com/users/hidroto/followers","following_url":"https://api.github.com/users/hidroto/following{/other_user}","gists_url":"https://api.github.com/users/hidroto/gists{/gist_id}","starred_url":"https://api.github.com/users/hidroto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hidroto/subscriptions","organizations_url":"https://api.github.com/users/hidroto/orgs","repos_url":"https://api.github.com/users/hidroto/repos","events_url":"https://api.github.com/users/hidroto/events{/privacy}","received_events_url":"https://api.github.com/users/hidroto/received_events","type":"User","site_admin":false},"created_at":"2015-10-23T04:44:18Z","updated_at":"2015-10-23T04:44:18Z","body":"would this work with a directory with files \r\n- a.file\r\n- b.file\r\n- c.file\r\n\r\nand Tupfile\r\n\r\n: *.file ^b.file |> wc %f > %o | lines_in_a_and_c.file\r\n\r\nto make a file lines_in_a_and_c.file with word count of a.file and c.file without b.file."}}