-
Notifications
You must be signed in to change notification settings - Fork 585
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.NET Core SDK helpers #1314
Comments
I've just updated our build script to the newest FAKE. Looks good, but I really need two additional features
|
see #1321 |
|
dotnet test -xml testsresult.xml doesn't work. dnc doesn't like that param |
nunit or xunit? works with xunit |
I'm not sure I undestand how that works. @enricosada can you send a PR when you find time? for now we have #1322 |
unrecognized argument of |
so how would we model that? allow test helper to take in additional args? |
Yes, that's good. reading the project.jspn testrunner property is too much All command can add additional arguments right? That's not a base behavior for command task? |
Is NunitLite the same as https://www.nuget.org/packages/dotnet-test-nunit/3.4.0-beta-1 ? |
Practically for command line. |
Why your implementation of DotnetCli helpers looks like completely different from the same helpers from CoreClr branch? |
it was developed independently ;-) |
Mine is just a copy of https://raw.githubusercontent.com/dolly22/FAKE.Dotnet/master/src/Fake.Dotnet/Dotnet.fs |
Fixed by #1387 |
Helpers for .NET Core SDK commands
dotnet pack
dotnet build
dotnet test
dotnet publish
initial work from @forki #1309 #1310 #1311 #1313
Most command have two important options
--framework
: the fw (likenetstandard1.6
ornetcoreapp1.0
ornet45
)--runtime
: the target os (win
,osx
) if there are multipledotnet restore
useful-f|--fallbacksource <FEED> A list of packages sources to use as a fallback.
really nice to restore a built locally package from directory, without a need for a feed.-v|--verbosity <verbosity> The verbosity of logging to use. Allowed values: Debug, Verbose, Information, Minimal, Warning, Error.
dotnet pack
usefull--version-suffix <VERSION_SUFFIX> Defines what
*should be replaced with in version field in project.json
. it cannot replace complety the version, but nice for prerelease numberAnd the most important of all,
-v
.dotnet cmd
run the cmddotnet --verbose cmd
(the--verbose
or-v
is BEFORE command), show all command line execution for all commands, it's really really useful in logAnother useful command (for log in ci server) is
dotnet info
who show all dotnet core sdk info, insteaddotnet --version
show only version.The text was updated successfully, but these errors were encountered: