Skip to content

Run paket restore/install based on existence of paket.lock file#26

Merged
theimowski merged 2 commits intoSAFE-Stack:masterfrom
Zaid-Ajaj:patch-1
Dec 31, 2017
Merged

Run paket restore/install based on existence of paket.lock file#26
theimowski merged 2 commits intoSAFE-Stack:masterfrom
Zaid-Ajaj:patch-1

Conversation

@Zaid-Ajaj
Copy link
Copy Markdown
Contributor

No description provided.

@theimowski
Copy link
Copy Markdown
Member

I don't think it's good idea to trigger paket install on every build. Ideally we'd trigger paket install after the template is created, but not yet sure how to achieve that

`paket restore` packages if `packet.lock` exists, otherwise `paket install` the packages.
@Zaid-Ajaj
Copy link
Copy Markdown
Contributor Author

Solved, see last commit 😄

@Zaid-Ajaj Zaid-Ajaj changed the title paket restore => paket install because there is no lock file Run paket restore/install based on existence of paket.lock file Dec 28, 2017
@Zaid-Ajaj
Copy link
Copy Markdown
Contributor Author

@theimowski I just checked, ionide with vscode actually restores the packages right away when you open the project repo

@theimowski theimowski merged commit d4726ff into SAFE-Stack:master Dec 31, 2017
@theimowski
Copy link
Copy Markdown
Member

Awesome - makes things simple. Added same to build.cmd and released in 0.4.2, thanks

@Zaid-Ajaj Zaid-Ajaj deleted the patch-1 branch December 31, 2017 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants