{"action":"created","issue":{"url":"https://api.github.com/repos/google/closure-compiler/issues/897","labels_url":"https://api.github.com/repos/google/closure-compiler/issues/897/labels{/name}","comments_url":"https://api.github.com/repos/google/closure-compiler/issues/897/comments","events_url":"https://api.github.com/repos/google/closure-compiler/issues/897/events","html_url":"https://github.com/google/closure-compiler/issues/897","id":66246033,"number":897,"title":"Allow closure_entry_point flag to accept a filename instead of a goog.provide'd symbol.","user":{"login":"freshp86","id":7547039,"avatar_url":"https://avatars.githubusercontent.com/u/7547039?v=3","gravatar_id":"","url":"https://api.github.com/users/freshp86","html_url":"https://github.com/freshp86","followers_url":"https://api.github.com/users/freshp86/followers","following_url":"https://api.github.com/users/freshp86/following{/other_user}","gists_url":"https://api.github.com/users/freshp86/gists{/gist_id}","starred_url":"https://api.github.com/users/freshp86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freshp86/subscriptions","organizations_url":"https://api.github.com/users/freshp86/orgs","repos_url":"https://api.github.com/users/freshp86/repos","events_url":"https://api.github.com/users/freshp86/events{/privacy}","received_events_url":"https://api.github.com/users/freshp86/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/google/closure-compiler/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-03T23:17:24Z","updated_at":"2015-04-06T18:08:20Z","closed_at":"2015-04-06T15:51:58Z","body":".... or add a new closure_enty_file flag instead of reusing the existing flag.\r\n\r\nAsking for this because I am interested in compiling JSUnit tests individually (just for type checking, no intention to actually run the test in compiled mode for now). Because currently the flag is only accepting goog.provide'd symbols I have to add a goog.provide statement in each file, even though those namespaces are never ever need to be goog.require'd anywhere."},"comment":{"url":"https://api.github.com/repos/google/closure-compiler/issues/comments/90178456","html_url":"https://github.com/google/closure-compiler/issues/897#issuecomment-90178456","issue_url":"https://api.github.com/repos/google/closure-compiler/issues/897","id":90178456,"user":{"login":"freshp86","id":7547039,"avatar_url":"https://avatars.githubusercontent.com/u/7547039?v=3","gravatar_id":"","url":"https://api.github.com/users/freshp86","html_url":"https://github.com/freshp86","followers_url":"https://api.github.com/users/freshp86/followers","following_url":"https://api.github.com/users/freshp86/following{/other_user}","gists_url":"https://api.github.com/users/freshp86/gists{/gist_id}","starred_url":"https://api.github.com/users/freshp86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freshp86/subscriptions","organizations_url":"https://api.github.com/users/freshp86/orgs","repos_url":"https://api.github.com/users/freshp86/repos","events_url":"https://api.github.com/users/freshp86/events{/privacy}","received_events_url":"https://api.github.com/users/freshp86/received_events","type":"User","site_admin":false},"created_at":"2015-04-06T18:08:20Z","updated_at":"2015-04-06T18:08:20Z","body":"Sure, fixing Closure's test to not produce any errors would be nice, but still compiling the entire codebase without any pruning seems very wasteful and unnecessary. I am planning to compile about 100 JSUnit tests individually. I believe that pruning would make all those 100 build tasks to run faster (I believe). By not using an \"entry point\" I am basically forced to create the dependency graph myselfd and pass only those files to the closure compiler jar, but I would really want to avoid re-implementing functionality that the compiler already provides (creating a dep graph and pruning)."}}