{"action":"opened","issue":{"url":"https://api.github.com/repos/dart-lang/pub/issues/1184","labels_url":"https://api.github.com/repos/dart-lang/pub/issues/1184/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/pub/issues/1184/comments","events_url":"https://api.github.com/repos/dart-lang/pub/issues/1184/events","html_url":"https://github.com/dart-lang/pub/issues/1184","id":85646369,"number":1184,"title":"`pub build` customization","user":{"login":"DartBot","id":8958862,"avatar_url":"https://avatars.githubusercontent.com/u/8958862?v=3","gravatar_id":"","url":"https://api.github.com/users/DartBot","html_url":"https://github.com/DartBot","followers_url":"https://api.github.com/users/DartBot/followers","following_url":"https://api.github.com/users/DartBot/following{/other_user}","gists_url":"https://api.github.com/users/DartBot/gists{/gist_id}","starred_url":"https://api.github.com/users/DartBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DartBot/subscriptions","organizations_url":"https://api.github.com/users/DartBot/orgs","repos_url":"https://api.github.com/users/DartBot/repos","events_url":"https://api.github.com/users/DartBot/events{/privacy}","received_events_url":"https://api.github.com/users/DartBot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dart-lang/pub/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/dart-lang/pub/labels/NotPlanned","name":"NotPlanned","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-05T22:24:03Z","updated_at":"2015-06-05T22:24:03Z","closed_at":"2015-06-05T22:24:03Z","body":"_Originally opened as dart-lang/sdk#21500_\n\n*This issue was originally filed by eukr...&#064;gmail.com*\n_____\n**What steps will clearly show the issue / need for enhancement?**\n\n1. Using a content/source directory other than 'web' is not practical at the moment.\n\n2. The name 'web' is too specific to be the default/required layout standard.\n\n3. There is no clear way (impossible) to specify command line arguments to `pub build` within pubspec.yaml\n\n**What would you like to see instead?**\n\n1. Make it easier to customize the directory layout.\n\n2. Instead of the standard 'web' directory I think 'client', 'ui', 'app' or even just 'src' would be more generic and applicable as a standard directory name. Personally I like 'app' - it's generic and fits well with 'lib' (and it's not tied to specific medium like 'web'). It's easy to think of 'app' next to 'lib' being &quot;the specific 'app'lication of this specific lib&quot;.\n\n3. Provide the ability to specify command line arguments to pub commands inside pubspec.yaml, just like $include, $exclude, etc. Alternately, the command line arguments could be stored in a separate file, like Python's setup.py configuration with the setup.cfg file: https://docs.python.org/2/distutils/configfile.html"}}