Commit graph

1911 commits

Author SHA1 Message Date
Troy Dai
32e7f3bc7a Fix test build break 2016-01-13 10:28:33 -08:00
Piotr Puszkiewicz
1e423d4f1b Merge pull request #798 from piotrpMSFT/piotrpMSFT/issue797/emptyNuget
Fix empty NuGets
2016-01-13 00:32:02 -08:00
piotrp
2ef4f6f0bf Fixing clashing dependencies that only exhibited once we started publishing nupkg-only projects. 2016-01-12 14:32:54 -08:00
Mihai Codoban
bedeaaf2dc Compile incrementally
- Clone the args in the CompileContext constructor to bring uniformity
to the way args are accessed

- Compute IO for a project and have it shared between build and compile

- Extract dependency logic into facade

- Add tests for incremental build

- Add precondition checks for compiler IO

add --force-incremental-unsafe flag
2016-01-12 13:16:52 -08:00
moozzyk
0e4719ee95 Adding pre/post publish scripts
Fixes #742
2016-01-12 09:41:59 -08:00
piotrp
5cd64066c4 Packaged Commands 2016-01-09 16:50:31 -08:00
Andrew Stanton-Nurse
78cef18e1c add support for generating xml documentation
fixes #312
2016-01-08 14:02:41 -08:00
Andrew Stanton-Nurse
02d28537f8 clean up E2E test xprojes 2016-01-08 10:09:32 -08:00
Andrew Stanton-Nurse
f4df12f2e2 add proper RID detection based on PlatformAbstractions 2016-01-08 10:07:58 -08:00
Bryan
17176edb80 Remove StreamForwarder Tests from E2E 2016-01-06 15:30:56 -08:00
Sridhar Periyasamy
2ebb28819e Enable running tests for CentOS
CentOS tests were blocked due to issue https://github.com/dotnet/corefx/issues/5066.
It has been fixed with the latest NetStandardLibrary, hence upgrading from 1.0.0-rc2-23616 to 1.0.0-rc2-23704.
With this fix the native shims are correctly restored by dnx for RID centos.7-x64.
2016-01-05 18:11:38 -08:00
Bryan
7425691fe6 Fixup some Usings Statements. Remove SkipForOS function in favor of ActiveIssue 2016-01-05 16:05:43 -08:00
Bryan
18d17ce8c5 End to End Test Refactoring. Build upon Publish Test Infrastructure and add
capability for further testing.s enter the commit message for your changes. Lines starting
2016-01-05 13:40:33 -08:00
Bryan Thornbury
892c393509 Assert StdErr is empty for E2E Test
This is a quick fix to improve test diagnosability with the E2E Test. 

We see situations where the output executable fails and we are left without any error output. 

This addition should output any stderr output from the output executable.

cc @piotrpMSFT
2016-01-04 12:56:22 -08:00
David Fowler
4b07b2d034 Project model server cleanup
- Removed unused message types
- Removed intermediate ProjectInfo and ProjectState types
- Renamed Snapshot to ProjectSnapshot and ProjectSnapshot to ProjectContextSnapshot
- Exposed Project on ProjectContextCollection
- Removed AllDiagnostics message since it won't be used
- Renamed ProjectContextManager to ProjectManager
- Create project context snapshot in one pass
- Create project contexts lookup inline
- Consistent naming of payloads
2016-01-03 00:34:00 -08:00
Bryan
2cd6a97b0b Add NuGet.config to TestProjects. This resolves VSO build failures. 2015-12-29 14:41:26 -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
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
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
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
e8a7228feb Dotnet pack test
Enable Dotnet Pack Test..

Not sure why this method didn't have a fact attribute. Thanks for pointing this out @krwq
2015-12-18 11:34:55 -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
Gaurav Khanna
8ef4d95097 Enable native compilation JIT tests for Mac. 2015-12-17 14:53:57 -08:00
Bryan
b9476d3c2c skip ryujit test on ubuntu 2015-12-16 15:01:27 -08:00
Sridhar Periyasamy
6046de8efe Address PR feedback. 2015-12-16 13:04:29 -08:00
Bryan
2139df7b0b update e2e dependencies 2015-12-16 11:48:39 -08:00
Sridhar Periyasamy
f910bc9eff Merge branch 'publish-tests1' of https://github.com/sridhar-ms/cli 2015-12-14 17:42:22 -08:00
Sridhar Periyasamy
07eb7ef28f Dotnet publish tests 2015-12-14 17:39:29 -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
Charles Stoner
ac017ea3ee Forward output unbuffered 2015-12-09 15:20:58 -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
Piotr Puszkiewicz
68216b80cf Merge pull request #434 from dotnet/anurse/401-loader
Add ProjectAssemblyLoadContext
2015-12-08 16:30:33 -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
4e6244d8a8 add ProjectAssemblyLoadContext
allows the loading of assemblies in the context of an existing project
2015-12-08 11:30:25 -08:00
piotrp
568eb3aae7 dotnet-init --> dotnet new
Fixes issue #374
2015-12-08 10:37:31 -08:00
Bryan Thornbury
0e645934c4 Merge pull request #373 from brthor/package_break
Debian Package Testing and Build Fixes
2015-12-02 18:07:24 -08:00
Bryan Thornbury
a93e9111d7 Tweak restoration and dependencies 2015-12-03 00:01:19 +00:00
Bryan Thornbury
61fb0ed841 Stop Skipping Dotnet pack
Looks like this got resolved.
2015-12-02 14:27:20 -08: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
Andrew Stanton-Nurse
caa2af2024 allow dotnet-publish to publish a library
fixes #314
2015-11-30 12:26:53 -08:00
Bryan Thornbury
a6f18f9b61 Change ProjectModel namespace 2015-11-30 11:25:13 -08:00
Bryan Thornbury
daae6938c4 Skip native cpp compilation on Windows 2015-11-30 11:07:52 -08:00
Bryan Thornbury
8db6b797d2 Use Corehost instead of CoreRun, refactor tests for individual commands 2015-11-30 11:07:50 -08:00
Bryan
5c31655317 Add License Header 2015-11-30 11:07:43 -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
Krzysztof Wicher
0ecbc0d5fc Convert dotnet-run to System.CommandLine 2015-11-20 20:33:32 -08:00
PiotrP
e839b4debb Update Copyright headers in all source files. 2015-11-16 19:47:43 -08:00
David Fowler
46810f5775 Fix dependencies in TestApp 2015-11-08 10:28:12 -08:00
anurse
b35fba863b command line interface clean-up 2015-11-01 21:08:01 -08:00
Andrew Stanton-Nurse
e70a169b28 Add a shared runtime aware host
And use it in dotnet-compile
2015-10-30 15:03:29 -07:00
Andrew Stanton-Nurse
cb6bd78d61 fix project.json for TestApp 2015-10-29 19:42:02 -07:00
David Fowler
756080421d Use CoreConsole on *nix
- Changed publish to use CoreConsole instead of
CoreRun for *nix
- Locked pacakge versions for test projects
2015-10-29 02:23:09 -07:00
Andrew Stanton-Nurse
a715be1d59 switch to latest coreclr 2015-10-28 15:47:47 -07:00
Andrew Stanton-Nurse
1d76b2846c package up DNX in the tar.gz
includes a smoke test for verifying that the output can be used to build
also includes a checked-in CoreCLR in order to work around CoreCLR issue
2015-10-28 10:32:30 -07:00
Andrew Stanton-Nurse
4624544e06 fix TestApp project.json 2015-10-15 15:34:14 -07:00
Andrew Stanton-Nurse
eaf7cb30ab add some readme 2015-10-08 14:49:39 -07:00
Andrew Stanton-Nurse
37de4976b3 add readme 2015-10-08 14:41:04 -07:00
anurse
ab8986e3e3 initial spike of compile, publish and run 2015-10-05 21:22:26 -07:00