Technologies that I have committed to being across are:
- Yeoman
- Powershell
- Git
- Grunt/Gulp
- Chocolatey
- Visual Studio Team Services
Delete project.lock.json files from a solution
This was a bigger issue in the past than it seems to be now, but I found that I regularly needed to manually delete the DNX lock files that were being generated by dnu.
The final product:
gci "\repos\dneimke\EF7Demo.CoffeeStore\*" -include "project.lock.json" -recurse | foreach($_) {rm $ _.fullname}
What I Learned:
- The Get-Help cmdlet is a great resource for learning about how other cmdlets work
- Get-Alias lists the aliases for all cmdlets
- Get-ChildItem takes a -Path which makes it easy to list items in a folder - e.g. Get-ChildItem -Path \repos\test
- Include seems to be the better way to target a specific pattern of file rather than -Filter
Resources:
No comments:
Post a Comment