Add wrapper script for Linux and macOS#267
Merged
devblackops merged 3 commits intopsake:masterfrom Oct 18, 2018
Merged
Conversation
Set correct exit code in psake.ps1. Introduce psake wrapper script. Make src/psake executable, set correct autocrlf settings.
Contributor
Author
|
9 tasks
Member
|
Thanks @dermeister0! Any chance you know why I receive this error? Other than this, it appears to work fine. |
Contributor
Author
|
I can't reproduce it, but found similar report: https://unix.stackexchange.com/questions/30446/strange-behavior-in-dirname-readlink-f-0 I added |
Member
|
Same error for me. I should add this is on macOS. I haven't tried linux. |
Contributor
Author
|
@devblackops
|
Member
|
@dermeister0 Great. That works for me. |
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
There is
psake.cmdwrapper script to run psake tasks on Windows. I added a similar wrapper for Linux and macOS.Related Issue
#262
Motivation and Context
It allows to use
psakecommand to run psake tasks on Linux and macOS. Also psake.ps1 returns correct exit code now.How Has This Been Tested?
I created tasks that may produce errors:
Tested them on Ubuntu 18.04 (PowerShell Core 6.1).
Made sure correct exit code is returned.
Also I tested
psake.cmdwrapper on Windows 10 (PowerShell 5.1).Screenshots (if appropriate):
Types of changes
Checklist: