Commit graph

261 commits

Author SHA1 Message Date
David Fowler
02217b695f Fixed resgen 2015-12-08 14:52:07 -08:00
Piotr Puszkiewicz
88806eb7de Merge pull request #378 from krwq/ci_build_add_packaging
Step 1 to enable automatic nuget package upload
2015-12-07 10:04:30 -08:00
Krzysztof Wicher
413488f502 Create NuGet packages as part of the build 2015-12-04 18:03:57 -08:00
Zlatko Knezevic
f9a553c93f Merge pull request #380 from LeeCampbell/patch-1
Update formatting on Publish/Readme.md
2015-12-04 06:18:03 -08:00
Sridhar Periyasamy
84deb9ef89 Fix compilation error. 2015-12-03 13:17:17 -08:00
Sridhar Periyasamy
71d55a5596 Address PR feddback
Create a new method called ProjectContext.CreateContextForEachTarget instead of directly consuming LockFile Apis in the publish command.
2015-12-03 12:13:59 -08:00
Lee Campbell
80b6e94f1d Removing redundant bullet point 2015-12-03 19:13:18 +00:00
Sridhar Periyasamy
76d381b75f Address PR feedback. 2015-12-03 09:49:44 -08:00
Sridhar Periyasamy
86296b6d2d dotnet-publish '--framework' and '--runtime' options are made to be optional.
When no 'runtime' and 'framework' are specified then publish for all 'framework/runtime' targets found in project.lock.json. But currently when 'runtime' is not specified then current OS runtime identifier is assumed. This will go away when xplat publish is enabled.
Example - 'dotnet publish /home/sridhar/foo/project.json' -> Publish for all targets in project.lock.json.

User can also specify either 'framework' or 'runtime'. In that case all the corresponding 'framework' or 'runtime' targets in project.lock.json are published.
Example - 'dotnet publish --framework dnxcore50 /home/sridhar/foo/project.json' -> Publish for all targets in project.lock.json with framework dnxcore50.
	   (or)
	  'dotnet publish --runtime win7-x64 /home/sridhar/foo/project.json' -> Publish for all targets in project.lock.json with runtime win7-x64.

I am also adding unit tests for publish in upcoming commits.

Fixes - #185
2015-12-03 09:49:43 -08:00
Lee Campbell
acae82fc6c Update formatting on Publish/Readme.md
Line breaks where they were missing (after headings and before lists).
Commands in `code` format.
Filenames and paths in _italics_
Indenting done with using the > (as white space is ignored)
2015-12-02 22:37:37 +00:00
Zlatko Knezevic
7b1be8c917 Responding to PR feedback 2015-12-02 11:19:41 -08:00
Zlatko Knezevic
5bd2984fbc Add rest of the command to the driver
Currently, the driver just shows information about compile, publish and run. Add
info for init, pack and restore as well.
2015-12-02 10:26:10 -08:00
Piotr Puszkiewicz
f67a247252 Merge pull request #368 from piotrpMSFT/piotrpMSFT/issue362/dotnet-init-dependencies
Updates dotnet-init's dependencies to match the latest on NuGet.org
2015-12-02 01:04:31 -08:00
Piotr Puszkiewicz
4f132a14d2 Merge pull request #358 from krwq/nuget_packaging
Nuget packages generation script for each project under src/ and some bugfixes
2015-12-02 01:03:00 -08:00
Piotr Puszkiewicz
9fb5da0aee Merge pull request #347 from dotnet/anurse/157-publish-tidy-up
avoid dropping deps file when publishing
2015-12-02 00:45:56 -08:00
piotrp
f21dde66e5 Updates dotnet-init's dependencies to match the latest on NuGet.org 2015-12-02 00:05:25 -08:00
Krzysztof Wicher
38a95de882 fix bug in pack command (acciddentally reverted prev fix during merge conflict) 2015-12-01 23:13:31 -08:00
Andrew Stanton-Nurse
8da5c7071f clarify error when no project.json in the path
also correct help information

fixes #356
2015-12-01 11:02:51 -08:00
Andrew Stanton-Nurse
6a2d6f7d30 code review feedback 2015-12-01 11:01:30 -08:00
shahid-pk
e02c8e6f81 rename resgen to dotnet-resgen 2015-12-01 22:12:04 +05:00
Piotr Puszkiewicz
95df133d7e Merge pull request #348 from dotnet/anurse/314-publish-library
allow dotnet-publish to publish a library
2015-12-01 00:34:04 -08:00
Troy Dai
bfae2ab470 Add WorkspaceContex
WorkspaceContext represets part of the original Design Time Host function:
1. Projects discovery and pooling
2. ProjectContexts pooling
3. Monitor project changes and keep ProjectContexts update to date
2015-11-30 22:39:27 -08:00
Piotr Puszkiewicz
d63bd8e50d Merge pull request #344 from piotrpMSFT/piotrpMSFT/issue342/dotnet-test
dotnet-test command
fixes issue #344 and #359 
@brthor, note issue #359. Powershell was interpreting particular Env Var names as patterns due to use of -Path. Changing this to -LiteralPath was required since use of patterns was unintended.
2015-11-30 22:19:52 -08:00
PiotrP
07bf895700 Merge Conflicts 2015-11-30 17:36:32 -08:00
PiotrP
a84a56a152 PR Feedback 2015-11-30 17:30:25 -08:00
piotrp
407c933480 add dotnet-test 2015-11-30 17:28:03 -08:00
Senthil
e0412f2e3d Let IlcArgs be an opaque string to dotnet native
IlcArgs are meant to be arguments to the ILCompiler and not path values

@brthor or @livarcocc PTAL

/Cc @gkhanna79
2015-11-30 15:29:59 -08:00
Bryan Thornbury
f7f1e072a0 Merge pull request #322 from brthor/e2etest
End to End Test First Pass
2015-11-30 15:04:56 -08:00
Victor Hurdugaci
7843f3ea91 dotnet pack returns the wrong exit code 2015-11-30 12:46:52 -08:00
Andrew Stanton-Nurse
caa2af2024 allow dotnet-publish to publish a library
fixes #314
2015-11-30 12:26:53 -08:00
Andrew Stanton-Nurse
48cd38cd92 avoid dropping deps file when publishing
also, avoid requiring a dependency on Microsoft.NETCore.Runtime

fixes #157
2015-11-30 12:17:41 -08:00
Bryan Thornbury
939ba19fb6 Small Fix 2015-11-30 11:12:39 -08:00
Bryan
ef22c93c39 E2E Testing First pass. Test each command in a sequence to mock what a user might do. 2015-11-30 11:07:07 -08:00
Senthil
7d5a901532 Merge pull request #336 from schellap/master
Plumb AppDepSDK path from dotnet cli
2015-11-30 10:40:35 -08:00
piotrp
8d2733e147 PR Feedback 2015-11-29 11:35:19 -08:00
piotrp
abff1f474c PR Feedback 2015-11-28 09:39:56 -08:00
piotrp
976393ab0a Enable commands to be shipped in packages 2015-11-28 01:18:42 -08:00
piotrp
bf2583c1a6 Fix Microsoft.DotNet.ProjectModel namespace 2015-11-27 16:19:54 -08:00
schellap
b125c7ddf4 Plumb AppDepSDK path from dotnet cli 2015-11-27 01:30:03 -08:00
Krzysztof Wicher
159e6187ae Merge pull request #288 from krwq/switch_to_system_commandline
Switch dotnet-run to System.CommandLine
2015-11-26 06:20:46 -08:00
Senthil
f9ea343c62 Fix path to libSystem.Native.a on Linux 2015-11-25 18:13:51 -08:00
schellap
29cd999b51 Fix restore.cmd not recognizable command 2015-11-25 12:14:26 -08:00
Andrew Stanton-Nurse
90307bc71e fix dotnet-repl-csi 2015-11-25 11:19:31 -08:00
Gaurav Khanna
2d81eced8c 1) Adding support to invoke CLang/Linker for Mac
2) Expecting AppDep native libs to be under <AppDepRoot>\CPPSdk\<OS>\x64 folder instead of <AppDepRoot>
Update the references to Microsoft.DotNet.ILCompiler and Microsoft.DotNet.AppDep packages with Mac CPPCodegen support.
2015-11-25 07:40:10 -08:00
Krzysztof Wicher
3ed32a71e1 Merge pull request #284 from livarcocc/refactor_native_args
Refactor native args
2015-11-24 13:30:38 -08:00
Krzysztof Wicher
cc527abc7c fix error with project being erased and move getdefaults call to execute function 2015-11-23 19:58:11 -08:00
Krzysztof Wicher
db9f9dfa6e extract IsInteractive to separate method 2015-11-23 16:31:27 -08:00
Krzysztof Wicher
e8b9a44489 revert change to project.json in Microsoft.DotNet.Tools.Compiler 2015-11-23 15:20:15 -08:00
Senthil
c29d840424 Invoke corerun for ilc from --ilcpath 2015-11-23 15:03:25 -08:00
Krzysztof Wicher
0ecbc0d5fc Convert dotnet-run to System.CommandLine 2015-11-20 20:33:32 -08:00