{"action":"created","issue":{"url":"https://api.github.com/repos/HaxeFoundation/haxelib/issues/275","labels_url":"https://api.github.com/repos/HaxeFoundation/haxelib/issues/275/labels{/name}","comments_url":"https://api.github.com/repos/HaxeFoundation/haxelib/issues/275/comments","events_url":"https://api.github.com/repos/HaxeFoundation/haxelib/issues/275/events","html_url":"https://github.com/HaxeFoundation/haxelib/issues/275","id":125903456,"number":275,"title":"Dependencies per target in haxelib.json","user":{"login":"markknol","id":576184,"avatar_url":"https://avatars.githubusercontent.com/u/576184?v=3","gravatar_id":"","url":"https://api.github.com/users/markknol","html_url":"https://github.com/markknol","followers_url":"https://api.github.com/users/markknol/followers","following_url":"https://api.github.com/users/markknol/following{/other_user}","gists_url":"https://api.github.com/users/markknol/gists{/gist_id}","starred_url":"https://api.github.com/users/markknol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markknol/subscriptions","organizations_url":"https://api.github.com/users/markknol/orgs","repos_url":"https://api.github.com/users/markknol/repos","events_url":"https://api.github.com/users/markknol/events{/privacy}","received_events_url":"https://api.github.com/users/markknol/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-11T09:23:39Z","updated_at":"2016-01-11T12:05:23Z","closed_at":null,"body":"In the `haxelib.json` of Flambe this line exist. \r\n```json\r\n  \"dependencies\": {\r\n    \"air3\": \"\",\r\n    \"hxsl\": \"2.0.5\"\r\n  }\r\n```\r\nThis means you need these libraries to compile the project. But both projects are for the swf-target.\r\n\r\nI mostly use the JavaScript-target of Flambe. I still need air3 to be installed. Can I define a rule that I only need certain haxelib when compiling to swf-target?"},"comment":{"url":"https://api.github.com/repos/HaxeFoundation/haxelib/issues/comments/170521172","html_url":"https://github.com/HaxeFoundation/haxelib/issues/275#issuecomment-170521172","issue_url":"https://api.github.com/repos/HaxeFoundation/haxelib/issues/275","id":170521172,"user":{"login":"markknol","id":576184,"avatar_url":"https://avatars.githubusercontent.com/u/576184?v=3","gravatar_id":"","url":"https://api.github.com/users/markknol","html_url":"https://github.com/markknol","followers_url":"https://api.github.com/users/markknol/followers","following_url":"https://api.github.com/users/markknol/following{/other_user}","gists_url":"https://api.github.com/users/markknol/gists{/gist_id}","starred_url":"https://api.github.com/users/markknol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markknol/subscriptions","organizations_url":"https://api.github.com/users/markknol/orgs","repos_url":"https://api.github.com/users/markknol/repos","events_url":"https://api.github.com/users/markknol/events{/privacy}","received_events_url":"https://api.github.com/users/markknol/received_events","type":"User","site_admin":false},"created_at":"2016-01-11T12:05:23Z","updated_at":"2016-01-11T12:05:23Z","body":"Exactly, but the compilation fails if I don't have it's dependencies installed, and I only have `-lib flambe` added to the project.\r\n``` Error: Library air3 is not installed : run 'haxelib install air3' ```"}}