Andrew Schwartzmeyer
594bdacb6a
Improve Start-PSBuild and Start-PSPackage functions
...
- Better comments
- Better indentation
- Working directory agnostic (uses `$PSScriptRoot`)
- Does not `cd`
- `PSPackage` does not call `PSBuild`
- Asserts that `bin/powershell` exists
- Derives version from `git describe` if not given
- Version parameter now a string to support metadata
2016-02-23 16:21:00 -08:00
Andrew Schwartzmeyer
a7177c24e2
Catch exception when used on FullCLR
...
This is the case when the module is used on FullCLR versions of
PowerShell (necessarily on Windows).
2016-02-22 11:29:03 -08:00
Andrew Schwartzmeyer
472b17d547
Add Start-PSPackage command to build deb/pkg packages
...
Deprecates `package.sh`. Committed necessary package symlink because
creating one with PowerShell is not yet implemented.
2016-02-22 11:29:03 -08:00
Andrew Schwartzmeyer
1453048674
Add cross-platform Start-PSBuild function
...
This can replace `build.ps1` and `build.sh`. However, we need to upload
packages so Travis can use PowerShell.
2016-02-22 11:29:03 -08:00
Andrew Schwartzmeyer
d3c6d274ed
Fix capitalization of GitHub in dev module's name
2016-02-22 11:29:03 -08:00