Skip to content

Conversation

@adamralph
Copy link
Contributor

fixes #675 and #956

Raised on behalf of @mbaker-dev, even if just for discussion/review.

Adding a shebang line processor to treat lines beginning with
processor works, and updated existing unit tests to cover the
new line processor.
scriptcs Outdated
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should probably live under /src/ScriptCs with Copy to Output Directory set to Copy Always, so it just gets emitted into bin/Release along with everything else.

@adamralph
Copy link
Contributor Author

I think this looks great! Perhaps we should just tidy up the location of the binstub and then I'd say it's good to merge!

Moving to src/ScriptCs and including in csproj to Always CopyToOutputDirectory.
@mbaker-dev
Copy link
Contributor

I've moved the binstub to src/ScriptCs and included it in the csproj with CopyToOutputDirectory=Always. It's including the file in the build output now, as well as the artifacts area on Windows and *nix; however, it's not being included in the NuGet package. If it's included in the NuGet package, I think it should be specifically excluded from the Chocolatey install?

@adamralph adamralph self-assigned this Mar 17, 2015
adamralph added a commit that referenced this pull request Mar 17, 2015
add binstub and allow shebang
@adamralph adamralph merged commit ebcfa49 into scriptcs:dev Mar 17, 2015
This was referenced Mar 17, 2015
@adamralph
Copy link
Contributor Author

@mbaker-dev thanks again. Just having the binstub in the artifacts is a step forward. At the moment we don't provide any packages for Linux or Mac, but I've made a note on #716 and #972 that we now have the binstub in the artifacts.

@adamralph
Copy link
Contributor Author

I've added #675 and #956 to the v0.14 release notes.

@BrendanThompson
Copy link

This is getting exciting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Include binstub for *nix in build artifacts

4 participants