{"action":"created","issue":{"url":"https://api.github.com/repos/fsprojects/Paket/issues/1681","repository_url":"https://api.github.com/repos/fsprojects/Paket","labels_url":"https://api.github.com/repos/fsprojects/Paket/issues/1681/labels{/name}","comments_url":"https://api.github.com/repos/fsprojects/Paket/issues/1681/comments","events_url":"https://api.github.com/repos/fsprojects/Paket/issues/1681/events","html_url":"https://github.com/fsprojects/Paket/issues/1681","id":154088652,"number":1681,"title":"Generating include scripts on restore","user":{"login":"matthid","id":1866463,"avatar_url":"https://avatars.githubusercontent.com/u/1866463?v=3","gravatar_id":"","url":"https://api.github.com/users/matthid","html_url":"https://github.com/matthid","followers_url":"https://api.github.com/users/matthid/followers","following_url":"https://api.github.com/users/matthid/following{/other_user}","gists_url":"https://api.github.com/users/matthid/gists{/gist_id}","starred_url":"https://api.github.com/users/matthid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthid/subscriptions","organizations_url":"https://api.github.com/users/matthid/orgs","repos_url":"https://api.github.com/users/matthid/repos","events_url":"https://api.github.com/users/matthid/events{/privacy}","received_events_url":"https://api.github.com/users/matthid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-10T19:36:19Z","updated_at":"2016-05-10T20:19:51Z","closed_at":null,"body":"Currently we generate include scripts only with the explicit command.\r\nMaybe we should generate the scripts on restore -> such that we can use them in a regular FAKE build script without the need to edit all exiting `build.cmd` and `build.sh` files.\r\nSee https://github.com/fsprojects/Paket/pull/1619 for context.\r\n\r\nPlease discuss.\r\n"},"comment":{"url":"https://api.github.com/repos/fsprojects/Paket/issues/comments/218278632","html_url":"https://github.com/fsprojects/Paket/issues/1681#issuecomment-218278632","issue_url":"https://api.github.com/repos/fsprojects/Paket/issues/1681","id":218278632,"user":{"login":"matthid","id":1866463,"avatar_url":"https://avatars.githubusercontent.com/u/1866463?v=3","gravatar_id":"","url":"https://api.github.com/users/matthid","html_url":"https://github.com/matthid","followers_url":"https://api.github.com/users/matthid/followers","following_url":"https://api.github.com/users/matthid/following{/other_user}","gists_url":"https://api.github.com/users/matthid/gists{/gist_id}","starred_url":"https://api.github.com/users/matthid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthid/subscriptions","organizations_url":"https://api.github.com/users/matthid/orgs","repos_url":"https://api.github.com/users/matthid/repos","events_url":"https://api.github.com/users/matthid/events{/privacy}","received_events_url":"https://api.github.com/users/matthid/received_events","type":"User","site_admin":false},"created_at":"2016-05-10T20:19:51Z","updated_at":"2016-05-10T20:19:51Z","body":"> @matthid @forki mentionned he'd like generate-include-scripts to call restore as well.\r\n\r\nYes because it is a requirement and there is no reason to fail when we can do it on-demand.\r\n\r\n> but not sure how to handle recursive dependency.\r\n\r\nWhat do you mean?\r\n\r\n> One concern to do it on restore is framework identification, but you mentioned we should generate for all frameworks \r\n\r\npaket knows the frameworks already. It should work exactly how paket already generates references in project.fsproj files. You can limit frameworks with http://fsprojects.github.io/Paket/dependencies-file.html#Framework-restrictions\r\nIMHO this would be a seamless integration."}}