Commit graph

512 commits

Author SHA1 Message Date
Manish Jayaswal
8b3ac13b31 fixes couple of bugs while passing project context to repl 2015-12-31 11:32:19 -08:00
Piotr Puszkiewicz
7481f10e45 Merge pull request #662 from tannergooding/ReplSeedProjectContext
Adding support for seeding the repl with a project context.
2015-12-30 11:35:43 -08:00
Tanner Gooding
8b9190ed35 Responding to more feedback to PR #662 and adding some comments to detail how/why the code functions. 2015-12-30 09:41:45 -08:00
Piotr Puszkiewicz
1f30eccbca Merge pull request #636 from dotnet/blackdwarf-patch-1
Update dotnet-publish README.md
2015-12-30 01:49:40 -08:00
Piotr Puszkiewicz
fd2bb64ced Merge pull request #469 from brthor/publish_subdirs
Opt-In Enable Subdirectories from native assets of dependency packages in Publish Output
2015-12-30 00:40:00 -08:00
Piotr Puszkiewicz
63abe9ce1d Merge pull request #661 from blackdwarf/manpages
Add manual pages for current commands
2015-12-29 23:08:51 -08:00
Senthil
edba297d0d Merge pull request #666 from dotnet/nosrv1
Fix bug as getenv returns true on empty env var
2015-12-29 22:38:04 -08:00
Gaurav Khanna
f1d9503a6e Merge pull request #665 from gkhanna79/FixILCSDK
Fix the trimming of terminating slashes when computing ILCSDKPath
2015-12-29 20:44:03 -08:00
Gaurav Khanna
23470368b2 Fix the trimming of terminating slashes when computing ILCSDKPath
Remove lxstubs.cpp from Linux JIT compile
2015-12-29 17:25:21 -08:00
Senthil
d9356b1ee5 Fix bug as getenv returns true on empty env var 2015-12-29 17:04:22 -08:00
Tanner Gooding
df6610166b Updating dotnet repl to provide better help text and support argument passthrough to the target REPL. 2015-12-29 16:00:12 -08:00
Tanner Gooding
0ecbc6ea9a Adding support to pass remaining arguments to the REPL environment. 2015-12-29 16:00:07 -08:00
Tanner Gooding
e03bc6f984 Updating PR#662 according to the feedback recieved. 2015-12-29 15:39:57 -08:00
Piotr Puszkiewicz
d461755c54 Merge pull request #650 from piotrpMSFT/Build-Script-Cleanup
Clean up build scripts
2015-12-29 14:53:14 -08:00
Tanner Gooding
db064fda35 Updating all Roslyn netcore packages to the same version (1.2.0-beta1-20151228-02) 2015-12-29 13:42:03 -08:00
Tanner Gooding
adc24fd301 Adding support for seeding the repl with a project context. 2015-12-29 13:40:47 -08:00
Zlatko Knezevic
2f51091785 Add manual pages for current commands
Convert the existing README.md from command directories into man pages. This
was done using pandoc. Some commands still don't have READMEs so they are not
present here.

Fix #3
2015-12-29 12:24:02 -08:00
Senthil
8bccd0b93b Merge pull request #658 from dotnet/nosrv
Disable Server GC for CLI
2015-12-29 10:58:42 -08:00
Mihai Codoban
6fe13b69fc Update README.md 2015-12-29 09:26:19 -08:00
Piotr Puszkiewicz
4b217db9c0 Clean up build scripts
Decompose into self-contained granular components
Provide reasonable defaults for cross cutting concerns, allowing for independent execution of steps
Start unifying Windows/Bash architecture

fix Bash CI scripts

dockerbuild.sh _common.sh path

Add missing restore-packages.sh

Copy/paste issues

Quote $SOURCE
fix .gitignore

PR Feedback

Merge in @SridarMS's work to avoid redownloading DNX

enabling build of dotnet-build

merge in @SridharMS's CentOS changes

Enable building FSC

enable restoring specific subdirectories

Fix dnx version check

Add missed dependency

Fix pathing to tests

Match Linux build version to Windows, fixing linux tests as a side effect.

workaround for coreclr#2215

fix pathing issue

disable building in docker

BUILD_IN_DOCKER was set, somehow...

fix headers
2015-12-29 01:59:02 -08:00
Senthil
3d6623c20c Use environment variable to disable Server GC 2015-12-28 20:50:03 -08:00
Piotr Puszkiewicz
d1a257bff7 Merge pull request #625 from cdmihai/buildCommandWithSafetyChecks
Introduce --build-profile flag and precondition checking in the Build command
2015-12-28 10:46:27 -08:00
Troy Dai
94c239f74e Update ProjectContextBuilder and FrameworkReferenceResolver 2015-12-25 20:10:26 -08:00
Troy Dai
7188f5b0a3 Update Microsoft.Net.Compilers.netcore to latest available 2015-12-25 14:18:36 -08:00
Troy Dai
935cd4e281 Add ProjectModel server 2015-12-25 13:23:29 -08:00
Enrico Sada
d52bc92155 add command dotnet-compile-fsc
used with "compilerName": "fsc" in project.json
2015-12-24 11:26:09 +01:00
Mihai Codoban
110b30ccdc Extract build from compile
Build becomes the new compile. It decides which project to compile and how. It checks for incremental preconditions
Compile's resonsibility is trimmed down to only knowing how to invoke the compiler on a project
2015-12-23 17:31:47 -08:00
Mihai Codoban
197a02807f Command knows its command resolution strategy
A command may be resolved from a nuget package, from the executing
assembly directory, or from the path.
2015-12-23 17:02:10 -08:00
Sridhar Periyasamy
3363707704 Merge branch 'master' of https://github.com/dotnet/cli into centos-builds
Conflicts:
	scripts/compile.sh
	scripts/test/smoke-test.sh
2015-12-23 16:22:59 -08:00
Piotr Puszkiewicz
6886db6b63 Merge pull request #614 from livarcocc/strong_name_signing
Strong name signing.
2015-12-23 16:17:45 -05:00
Gaurav Khanna
0b2a6fee2e Pickup headers from ILCompiler.SDK
Add support for --cppcompilerflags switch to enable passing custom native compiler arguments.
2015-12-23 08:51:20 -08:00
Senthil
504e109947 Redesign corehost per spec 2015-12-23 00:40:49 -08:00
Bryan Thornbury
4580aab2e0 pipe through subdirectory support after rebase. 2015-12-21 12:33:33 -08:00
Zlatko Knezevic
f92bbd0390 Update dotnet-publish README.md
Update the README.md for dotnet-publish and add the information about the Microsoft.NETCore.Runtime dependency.

Fixes #289

/cc @brthor @Sridhar-MS
2015-12-21 12:23:46 -08:00
Bryan
477b8737db Change name of option to --native-subdirectory, Factor for less intrusive changes 2015-12-21 12:02:02 -08:00
Bryan
bcf9392c40 Opt in support for including subdirectories from nuget depdencies in
publish output.
2015-12-21 12:00:23 -08:00
Bryan
f8d79624c0 basic subdirectory support 2015-12-21 11:55:05 -08:00
Livar Cunha
7c40de57bf Removing strong name signing from utils, as it is not compiled 2015-12-20 11:32:19 -08:00
Gaurav Khanna
155b5221af Fix bug to correctly redefine ILCSdkPath if ILCPath is overridden but ILCSDKPath is not. 2015-12-20 07:59:09 -08:00
Livar Cunha
61e9f2f2a5 Adding a key to use for strong name signing of our assemblies and modifying the project.json of our projects to include that key. 2015-12-19 17:46:22 -08:00
Gaurav Khanna
57cbc119de Add support --ilcsdkpath to allow ILCompiler to consume a custom build of ILCompiler.SDK 2015-12-19 14:05:06 -08:00
Sridhar Periyasamy
3395b43bd9 Merge pull request #508 from Sridhar-MS/publish-tests2
Dotnet publish tests
2015-12-18 15:36:29 -08:00
Bryan Thornbury
6bd2da6b05 Merge pull request #617 from krwq/nugetconfig
Add nuget.config to dotnet-new template
2015-12-18 14:45:45 -08:00
Krzysztof Wicher
4c0458233d add nuget.config to dotnet-new template 2015-12-18 12:29:42 -08:00
Pavel Krymets
f05b208ad7 Add dependency model api 2015-12-18 12:09:39 -08:00
Sridhar Periyasamy
1db27b7ae3 Enable building dotnet-CLI for centos.
I had to patch up a redhat dnx package which supports NETStandard.Library package. It is currently uploaded to dotnet-cli blob storage. This hack will no longer be required when we move to xplat nuget to do 'dotnet restore'. Apart from this there are three issues that are tracked for centos.
- compile-native not yet supported - https://github.com/dotnet/cli/issues/453
- dnu restore crashes intermittently on centos. I need to investigate this a little bit more and file issues on dnx or coreclr. This will make our CI builds very flaky.
- Dotnet restore does not restore native shims when using “centos.7-x64” - https://github.com/dotnet/corefx/issues/5066
2015-12-18 11:32:20 -08:00
Livar Cunha
9d8f529590 Handling help and error manually to prevent a call to Environment.FailFast call in System.CommandLine 2015-12-18 10:30:04 -08:00
Sridhar Periyasamy
55b9697b74 Merge branch 'master' of https://github.com/dotnet/cli into publish-tests2 2015-12-17 18:16:33 -08:00
Livar Cunha
82cdb28970 System.CommandLine uses Environment.FailFast when help or ReportError is detected. This causes the debugger to get invoked in windows and is not desirable. The fix here is to handle error and help ourselves, but still use the getHelpText from System.CommandLine to generate the help content. 2015-12-17 14:56:08 -08:00
Gaurav Khanna
6f9f6f54e1 Add Mac RyuJIT support 2015-12-17 14:01:05 -08:00
David Fowler
56530c9113 Remove verbose dependency info
- It's not needed since we have response files on disk that are easy to look at.
2015-12-17 01:00:24 -08:00
Zlatko Knezevic
ee5cb05e35 Merge pull request #517 from blackdwarf/pkgosxfix
Fix the PKG permission issue and change the install location
2015-12-16 20:15:13 -08:00
Bryan Thornbury
3fd3daa51a Merge pull request #487 from brthor/project_validator
Multi Project Validation
2015-12-16 16:47:51 -08:00
Bryan Thornbury
0f6562df77 Merge pull request #497 from brthor/upgrade_stdlib
Upgrade StdLib References to rc2-23614, Upgrade Runtime Version
2015-12-16 15:38:51 -08:00
Krzysztof Wicher
568d343de9 Merge pull request #480 from krwq/little_refact_publish
Make dotnet-publish slightly more readable
2015-12-16 13:32:31 -08:00
Bryan
3c1c747d9d rc2-23616 to hopefully resolve crossgen issues 2015-12-16 11:48:33 -08:00
Bryan
d768b2a768 Change PAL::hresult_t to int 2015-12-16 11:48:05 -08:00
Bryan
fcad2bab83 Upgrade References in Project.json files to rc2-23614 2015-12-16 11:47:55 -08:00
Pavel Krymets
caf82a96ec Add target framework attribute 2015-12-16 10:54:57 -08:00
Pavel Krymets
ce2628d527 Add support for symbol packages 2015-12-16 10:49:15 -08:00
Pavel Krymets
bb94f6046b Escape assembly info properties 2015-12-16 09:00:42 -08:00
Krzysztof Wicher
d5791bfa1c Make dotnet-publish slightly more readable 2015-12-15 23:55:56 -08:00
Zlatko Knezevic
5ef832ee94 Fix the PKG permission issue and change the install location
A temporary fix for the PKG permission issue by using chmod -R 755 in the postinstall
script. Change the install location to remove the "cli" part of the path. Also
change the corehost to reflect this change.

Fixes #492 and #390
2015-12-15 15:24:50 -08:00
Sridhar Periyasamy
53382b02c8 Fix build breaks due to automatic upgrade of Rosyln
"Microsoft.CodeAnalysis.Compilers" package. So upgrading
"Microsoft.Net.Compilers.netcore" to work with the newer verisons.
2015-12-15 12:15:24 -08:00
Sridhar Periyasamy
771b0b1eb1 Fix build break 2015-12-15 10:04:16 -08:00
Pavel Krymets
ab5b16c00c Flow project metadata to assembly 2015-12-14 16:39:31 -08:00
Cesar Blum Silveira
fb461c27bf Support overriding strong naming key path with environment variable. 2015-12-14 10:55:55 -08:00
Pavel Krymets
93158dc1be Add resource satelite assembly generation 2015-12-14 08:33:11 -08:00
David Fowler
aebc89683e Clean up whitespace 2015-12-13 22:40:11 -08:00
David Fowler
2f64f62e67 Move the temp folder under the project root
- Makes it easier to find it
- Works for .NET Framework when changing the app base
- There seems to be a problem when quitting the child process with Ctrl + C
2015-12-13 22:07:32 -08:00
Bryan
6ff7404a48 Multi Project Validator
A tool which searches recursively for project.json files,
runs a set of analyses and reports on the result.

For CLI we have only one rule currently, that Dependencies
between projects must be equivalent to avoid stomping.
2015-12-11 14:24:05 -08:00
Pavel Krymets
91acc03a13 Read original app.config and add to it 2015-12-10 15:54:11 -08:00
Krzysztof Wicher
1115fc22fa Merge pull request #449 from krwq/ci_build_add_packaging
Fix versions bug when creating NuPkg
2015-12-10 15:34:52 -08:00
Andrew Stanton-Nurse
b25c2743ca fix a bug in the default TFM define generation 2015-12-10 12:19:24 -08:00
Bryan Thornbury
8b12fa9ffe Merge pull request #445 from brthor/stdlib
Move references to StdLib, Update other versions to "-rc2-23608"
2015-12-10 11:14:32 -08:00
Charles Stoner
6a15c33492 Merge pull request #424 from cston/prompt
Allow unbuffered forwarding of output
2015-12-10 09:18:18 -08:00
David Fowler
7d2277d930 Made some fixes to binding redirects
- Don't generate an empty config file with no redirects.
- Fix swapped publicKeyToken and culture
#462
2015-12-10 01:44:50 -08:00
Bryan
2ba6dbd630 Downgrade runtime version to get unblocked on CoreCLR bug. Fix some other dependency versions 2015-12-09 21:23:02 -08:00
Bryan
1d764f1c64 download dnx during the build 2015-12-09 21:23:01 -08:00
Charles Stoner
ac017ea3ee Forward output unbuffered 2015-12-09 15:20:58 -08:00
Bryan
16fa836215 Upgrade references to use NETStandard.Library, or up to rc2-23608 where applicable 2015-12-09 14:52:56 -08:00
Pavel Krymets
d09137f8d5 Generate binding redirect for Desktop CLR 2015-12-09 10:47:16 -08:00
Krzysztof Wicher
c701a1a430 fix version of ProjectModel.Loader 2015-12-09 01:07:52 -08:00
Krzysztof Wicher
7fb0a92d5e Workaround Microsoft.Extensions.testing.Abstractions project.json bug 2015-12-09 01:03:47 -08:00
Krzysztof Wicher
df1b42dd10 apply review feedback 2015-12-09 00:47:57 -08:00
Krzysztof Wicher
ba6b0e5d9b fix dependency version bug 2015-12-09 00:20:39 -08:00
Krzysztof Wicher
344a730607 enable debugging on Start button in dotnet-pack in VS 2015-12-09 00:20:39 -08:00
Piotr Puszkiewicz
1a26013455 Merge pull request #400 from piotrpMSFT/piotrpMSFT/issue374/dotnet-new
dotnet-init --> dotnet new
2015-12-08 21:48:16 -08:00
Sridhar Periyasamy
37e3523d0b Merge pull request #410 from Sridhar-MS/driver-fix
Fix dotnet driver on windows to deal with spaces
2015-12-08 17:50:42 -08:00
Senthil
4bbc59483b Merge pull request #430 from schellap/split-test
Fix project.json dependencies and System.Private.CoreLib casing
2015-12-08 16:36:02 -08:00
Piotr Puszkiewicz
68216b80cf Merge pull request #434 from dotnet/anurse/401-loader
Add ProjectAssemblyLoadContext
2015-12-08 16:30:33 -08:00
David Fowler
02217b695f Fixed resgen 2015-12-08 14:52:07 -08:00
Andrew Stanton-Nurse
2f5465fea3 even more pr feedback 2015-12-08 12:03:03 -08:00
Andrew Stanton-Nurse
38a7836a52 more pr feedback 2015-12-08 12:00:59 -08:00
Andrew Stanton-Nurse
069092ff41 pr feedback 2015-12-08 11:50:33 -08:00
Andrew Stanton-Nurse
0553b7c67e minor clean-up 2015-12-08 11:32:52 -08:00
Andrew Stanton-Nurse
4e6244d8a8 add ProjectAssemblyLoadContext
allows the loading of assemblies in the context of an existing project
2015-12-08 11:30:25 -08:00
PiotrP
8fa642d424 PR Feedback 2015-12-08 10:54:03 -08:00
piotrp
568eb3aae7 dotnet-init --> dotnet new
Fixes issue #374
2015-12-08 10:37:31 -08:00
Senthil
8023ec22d2 Fix project.json dependencies and System.Private.CoreLib reference 2015-12-07 19:20:00 -08:00
David Fowler
fa52d02b9a WIP 2015-12-07 12:48:11 -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
Sridhar Periyasamy
cd357cb273 Fix dotnet driver on windows to deal with spaces
dotnet driver fails running dotnet-restore.cmd if this file is in a path
containing spaces. Use the magic "/S" switch in cmd to fix this.
2015-12-04 16:26:07 -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
Pranav K
6e465818c5 Copy of AnsiConsole from aspnet/dnx/dev/src/Microsoft.Extensions.CommandLineUtils.Sources 2015-11-20 19:01:03 -08:00
Bryan Thornbury
9067864afe Changes for corehost default path resolution on mac 2015-11-20 17:24:00 -08:00
Livar Cunha
39fd1ed5c5 Refactoring the arguments parser into a separate Parser and refactoring the creation of the NativeCompilerSettings into a method of ArgValues. 2015-11-20 17:23:50 -08:00
Livar Cunha
db3a9ffc20 Moving validation into NativeCompileSettings. Left argument requirement and argument to enum validation in the ArgumentSyntax delegate 2015-11-20 17:23:50 -08:00
Livar Cunha
0b6a084d1f Moving default values inside NativeCompileSettings 2015-11-20 17:23:49 -08:00
Andrew Stanton-Nurse
da70b047e9 add missing Pack xproj 2015-11-20 11:37:24 -08:00
Senthil
3a1cc24de3 Merge pull request #276 from schellap/master
Plumb ILC Path to DotNet Compile Native
2015-11-20 11:36:28 -08:00
schellap
31700a0ae9 Pass ILC Path to DotNet Native Compile 2015-11-20 11:19:28 -08:00
Bryan Thornbury
69d01ff168 Merge pull request #273 from brthor/brthor/corehost
CoreHost Changes for Linux
2015-11-20 10:52:17 -08:00
Bryan
f9dda0ca3a Corehost changes for linux/mac default installations 2015-11-19 18:03:35 -08:00
Andrew Stanton-Nurse
c14e512a03 wip 2015-11-19 17:24:01 -08:00
Andrew Stanton-Nurse
103aaa4d8e add default values for DOTNET_HOME in corehost
fixes #234
2015-11-19 17:24:01 -08:00
Senthil
28d0236bb0 Fix quotes in native CPP intermediate compilation
Continuation of path quote fixes from:
96c62d2d25

@livarcocc/@brthor, PTAL
2015-11-19 16:45:54 -08:00
schellap
96c62d2d25 Fix quotes around path containing spaces 2015-11-19 16:06:58 -08:00
Bryan Thornbury
7665e99edd Add -lrt to RyuJit mode, not cpp 2015-11-19 13:52:16 -08:00
Bryan Thornbury
f3f0d389d8 Add -Xlinker -lrt to fix issues with linking libSystem.Native.a, change --ilc-args to --ilcargs 2015-11-19 12:29:30 -08:00
Livar Cunha
cd97e2d8c6 Replacing TABs with SPACEs in WindowsLinkStep 2015-11-19 10:35:05 -08:00
Livar Cunha
fe110f4497 Fixing the path for the includes in windows for cpp native 2015-11-18 17:21:46 -08:00
Bryan
8b66db56c6 Link in msvcrt, Fix output path bug 2015-11-18 17:03:29 -08:00
Livar Cunha
d0100335da Changing native out flag to output flag to match compiler. Also changing the rsp file spliting to handle both /r/n and /r
Fixing the input path to the native compiler. It was adding /native to it before.

Switching compile native to System.CommandLine for args parsing and removing quotes from -native.rsp.

Fixing build_appdeps.cmd: Removed the * from __ApPDepSDK as xcopy does not honor that. In order to stay independent of the version of appDep, we CD into the appDepSDK and then navigate to the first folder we find, which should always be one, as we clear the folder before restoring appDep, after that we xcopy
2015-11-18 17:03:28 -08:00
Bryan Thornbury
9fbf7a7995 Add msvcrt library to link step 2015-11-18 17:02:30 -08:00
Andrew Stanton-Nurse
04624ff5d1 add script executor
also added a postcompile script to each project to place the outputs in the right folder

fixes #237
2015-11-18 14:28:07 -08:00
Andrew Stanton-Nurse
d415aa705b clean up the SLN and projects 2015-11-18 12:05:13 -08:00
David Fowler
8370a2b929 Fixed compilation error 2015-11-18 06:48:31 -08:00
Piotr Puszkiewicz
c284a7492a Merge pull request #217 from brthor/dotnet-compile-natives
dotnet-compile-native
Thanks for getting this in!
2015-11-18 02:11:11 -08:00
Bryan
325a5af4cf Merge branch 'dotnet-compile-natives' of https://github.com/brthor/cli into dotnet-compile-natives 2015-11-18 01:54:28 -08:00
Bryan
1455d9151d Don't copy Appdeps on mac. Bump appdep package version number 2015-11-18 01:53:05 -08:00
Bryan Thornbury
bd9277e906 Merge pull request #1 from piotrpMSFT/brthor-dotnet-compile-natives
Brthor dotnet compile natives
2015-11-18 01:34:04 -08:00
Bryan
8768b873bd Fix Windows AppDep, bump ILCompiler Version to fix cache issue 2015-11-18 01:19:06 -08:00
Zlatko Knezevic
23e19d326a Fix READMEs in command folders
Some of the README.md files in the commands' folders weren't valid.
Changing them to better illustrate the current state.
2015-11-18 01:15:07 -08:00
piotrp
f382872c41 Adding Readme.md
Cleaning up some options
Renaming BuildType to BuildConfiguration
2015-11-18 00:34:09 -08:00
Andy Gocke
b011e7f8a4 Also set publicsign when not on windows 2015-11-18 00:00:31 -08:00
Andy Gocke
869b927350 Upgrade csc ref to latest
Provides a few benefits:

1) The new package has the correct dependencies listed, so I removed the
-MissingDependenciesOK flag from the crossgen scripts.

2) The new compiler supports -publicSign (formerly called "OSS sign"),
which I patched through dotnet-compile-csc .
2015-11-17 23:37:39 -08:00
piotrp
42e557408a Adding to sln 2015-11-17 23:01:48 -08:00
Piotr Puszkiewicz
380eda370c Merge pull request #209 from dotnet/anurse/202-duplicated-help
fix #202 by exiting on invalid option
2015-11-17 22:04:05 -08:00
Bryan
56d4e15040 Adding missing files 2015-11-17 20:39:08 -08:00
Bryan
5db8ae5e6d Code Review Feedback 2015-11-17 20:39:07 -08:00
Bryan
fd471025dc Linux CPP Mode Working. 2015-11-17 20:38:59 -08:00
Bryan
1952e6d972 Dotnet compile include project dependencies 2015-11-17 20:38:04 -08:00
Bryan
1576ffeb15 Dotnet compile --native integration with rsp file 2015-11-17 20:38:04 -08:00
Bryan
4141e1ec5b Pin Dependencies in project.json, fix version of ObjectWriter 2015-11-17 20:38:03 -08:00
Bryan
c32b262eef ILC Path in settings 2015-11-17 20:36:29 -08:00
Bryan
3c0b0ce73c Change ILToNative Path to ilcpath 2015-11-17 20:36:29 -08:00
Bryan
17232e836d Code Review Feedback. Refactor Config Class Name 2015-11-17 20:36:28 -08:00
Bryan
22b3b497e0 Fixes for Windows. 2015-11-17 20:36:27 -08:00
Bryan
da8bd2a6f6 dotnet-compile-native
Supports IL to Native compilation on Windows using CPP and RyuJit Code
Generators. Supports RyuJit Code generation on Linux.
2015-11-17 20:36:26 -08:00
Krzysztof Wicher
427101e36c simplify template project.json 2015-11-17 12:26:14 -08:00
Krzysztof Wicher
872f842522 use reporter and c#6 features 2015-11-17 12:09:10 -08:00
Krzysztof Wicher
5d1c908d49 change Dictionary<string, string> to var 2015-11-17 11:46:47 -08:00