Commit graph

1379 commits

Author SHA1 Message Date
Bryan Thornbury
5c0eb19859 Merge pull request #1377 from dotnet/brthor/script_executor_and_arg_forwarding
ScriptExecutor and ArgumentEscaper Changes
2016-02-12 12:38:21 -08:00
Piotr Puszkiewicz
69c5f542e5 Merge pull request #1285 from enricosada/fix_dotnet_compile_fsc
Fix dotnet-compile-fsc
2016-02-12 12:14:59 -08:00
Bryan Thornbury
50ab680688 update compiler unit tests
fix rebase errors

PR Feedback

more PR feedback

fix

make new script file executable

Remove scripts from TestAppCompilationContext

add hashbang to echoscript
2016-02-12 11:37:15 -08:00
Bryan Thornbury
c1e28ae921 Refactor ScriptExecutor, add test cases for scriptexecutor.
Add TargetFramework and FullTargetFramework to compile and publish script
variables.

Add ProjectLocal Command Resolution Strategy.

Fixup ArgumentEscaper to not always quote things.

Fixes #1216
Fixes #1016
Fixes #982
2016-02-12 11:04:30 -08:00
Piotr Puszkiewicz
dbc9032202 Merge pull request #1386 from mmitche/switch-to-multibranch
Switch config to build the targeted branch
2016-02-12 11:02:58 -08:00
Andrew Stanton-Nurse
cc94c28f4e Merge pull request #1387 from dotnet/anurse/reenable-crossgen
Re-enable crossgen on Windows
2016-02-12 11:01:40 -08:00
Piotr Puszkiewicz
82bbd22d46 Merge pull request #1272 from cdmihai/cdmihai/noDependencies
Add --no-dependency flag to build
2016-02-12 10:59:54 -08:00
Tanner Gooding
5f5a59a136 Merge pull request #1209 from tannergooding/rel/1.0.0
Updating the Compiler and Interactive toolsets to v1.2.0-beta1-20160202-02
2016-02-12 10:59:11 -08:00
Pranav K
75b4e7cd54 Merge pull request #1382 from dotnet/prkrishn/depedencymodel
Use ApplicationBasePath instead of entry assembly to locate reference assemblies.
2016-02-12 10:47:34 -08:00
Enrico Sada
7dd4bdf268 fix build of target framework net46 2016-02-12 19:14:50 +01:00
Enrico Sada
57ae360c23 use DNXCORE50 define to check if target framework is Desktop
Best is to use NuGetFramework.IsDesktop method, but i cannot parse the assemblyInfoOptions.TargetFramework as NuGetFramework
2016-02-12 19:14:50 +01:00
Enrico Sada
a2a319c55a support project.json compilationOptions.additionalArguments 2016-02-12 19:14:49 +01:00
Enrico Sada
19a66849a4 always create a pdb, dotnet-build crash if not found
a `noPdb` options doesnt exists in project.json, a pdb is required as compile output
2016-02-12 19:14:49 +01:00
Enrico Sada
e8e3f7c78f fix invalid arguments, fsc has problems with quoted arguments ( quoted with " ) 2016-02-12 19:14:48 +01:00
Enrico Sada
2bd7a978cf add --targetprofile:netcore if target framework is not desktop 2016-02-12 19:14:47 +01:00
Andrew Stanton-Nurse
531173db57 why not crossgen? 2016-02-12 10:11:30 -08:00
Matt Mitchell
628ea5306f Switch to branch specific CI spec
This configuration switches CLI to the new branch model. The branch is specified primarily in the repo list on dotnet-ci, then passed along to various utility functions. The configuration itself is read from the specified branch in the repo, and any PR's generated are branch specific.

This means that changing the configuration in rel/1.0.0 will only affect the jobs that run against that branch
2016-02-12 09:11:20 -08:00
Tanner Gooding
4e2d4f4816 Explicitly referencing System.Reflection.Metadata v1.2.0-rc2-23805 in several project.json 2016-02-12 09:04:10 -08:00
Tanner Gooding
9870a59be9 Adding csi and Microsoft.CodeAnalysis.CSharp.Scripting to the list of assemblies to crossgen. 2016-02-12 09:02:36 -08:00
Tanner Gooding
f994f09e11 Updating the Compiler and Interactive toolsets to v1.2.0-beta1-20160202-02 2016-02-12 08:57:42 -08:00
Pranav K
59e87f497f Use ApplicationBasePath instead of entry assembly to locate reference
assemblies.
2016-02-11 22:29:20 -08:00
Andrew Stanton-Nurse
d67a0cd9bb remove all the hacks to work around broken crossgen/coreclr 2016-02-11 21:16:18 -08:00
Bryan Thornbury
5a257a7107 Merge pull request #1378 from mmitche/move-to-auto
Move to auto-images
2016-02-11 17:40:13 -08:00
Pranav K
c881516abf Merge pull request #1357 from dotnet/prkrishn/net451
Target net451 in ProjectModel
2016-02-11 16:36:09 -08:00
Pranav K
33f1b8551e Compile Microsoft.DotNet.Cli.Utils in net451 2016-02-11 15:46:43 -08:00
Pranav K
f5065c9425 Target net451 in ProjectModel
Fixes #876
2016-02-11 15:42:14 -08:00
Livar
2d49154d53 Merge pull request #1358 from livarcocc/runtime_output_dir_script_variable
Refactoring dotnet-compile and adding a new RuntimeOutputDir to compile scripts variables.
2016-02-11 15:39:35 -08:00
Livar Cunha
e945361a76 Replacing the fixed rid in the dotnet compile unit test by one that respects the platform where the tests are running.
Removing trailing slashes for the paths passed to the scripts to avoid the double quotes escaped issue.
2016-02-11 12:44:27 -08:00
Livar Cunha
4e1ec4c159 Refactoring dotnet-compile to make adding the script variable testable. So far, moved it to have a compiler controller and two separate compilers: native and managed. Also moved the script runner to its own class so that we can mock it into the managed controller.
Adding a ICommand interface and factory that we can use to mock Commands and avoid actually running them in unit tests.
2016-02-11 12:42:02 -08:00
Piotr Puszkiewicz
732f3d7abd Merge pull request #1364 from dotnet/anurse/update-to-23811
update everyone to 23811
2016-02-11 12:40:56 -08:00
Andrew Stanton-Nurse
b5450cabc2 update version in 'dotnet new' template 2016-02-11 12:11:45 -08:00
Andrew Stanton-Nurse
8534bb8747 turn echo off off 2016-02-11 11:33:32 -08:00
Andrew Stanton-Nurse
9cda2703f3 Merge pull request #1367 from dotnet/prkrishn/dotnet-install
* Add support for specifying a version in obtain/install
2016-02-11 11:23:26 -08:00
Andrew Stanton-Nurse
19216b996b update crossgen scripts 2016-02-11 11:03:50 -08:00
Pranav K
ed1177a664 * Add support for specifying a version in obtain/install 2016-02-11 10:47:49 -08:00
Andrew Stanton-Nurse
236fcd8f95 update everyone to 23811
add a little hackiness to the build script to use 23811 in the stage 0 as well
2016-02-11 10:38:59 -08:00
Sridhar Periyasamy
d18ff2f421 Update publish.ps1
Some bug fixes to upload the bundle correctly to the blob storage.
2016-02-10 16:41:15 -08:00
Mihai Codoban
a0990a518c Add --no-dependency flag to build 2016-02-10 15:35:27 -08:00
Pavel Krymets
41fd92222d Merge pull request #1345 from dotnet/pakrym/incremental-exe
Do not search for runtime output in dependencies
2016-02-10 15:20:45 -08:00
Pavel Krymets
4462dc21f8 Do not search for runtime output in dependencies 2016-02-10 15:20:08 -08:00
Pavel Krymets
23b1b077dd Merge pull request #1347 from dotnet/pakrym/refasm
Add reference assembly support to DependencyModel
2016-02-10 13:55:25 -08:00
Sridhar Periyasamy
56e3d8f903 Upload bundles instead of MSI 2016-02-10 13:06:48 -08:00
Eric Erhardt
b209f98fd1 Merge pull request #1348 from eerhardt/UpdateDotNet
Bump CoreFx to rc2-23810
2016-02-10 14:31:42 -06:00
Eric Erhardt
74d8051f79 Bump CoreFx to rc2-23810 2016-02-10 13:50:28 -06:00
Pavel Krymets
a8ce4f2e3a Add reference assembly support 2016-02-10 11:40:23 -08:00
Sridhar Periyasamy
f0a40feb19 Update README.md
Point to the 'beta' feed.
2016-02-10 10:46:32 -08:00
Zlatko Knezevic
69cd5a1835 Fix vesion badge looks & upload issue
The uploads didn't take into consideration the $CHANNEL variable and
badges were ending up in the dev channel. Also, the badge was too short
for the version number so fixing the SVG as well.
2016-02-09 18:39:43 -08:00
Eric Erhardt
5715d19922 Merge pull request #1328 from eerhardt/RefactorTestNames
Refactoring test directories.
2016-02-09 19:26:39 -06:00
Eric Erhardt
490f4af0d4 Refactoring test directories.
- Rename Compiler.Common.Tests to Microsoft.DotNet.Compiler.Common.Tests.
- Create the Microsoft.DotNet.Cli.Utils.Tests and move StreamForwarderTests to it.
    - ArgumentForwardingTests will be moved here in the future
- Remove LoadContextTest, since it is old and no longer relevant.

Partial #1250
2016-02-09 18:26:53 -06:00
Piotr Puszkiewicz
b34dd22ca8 Merge pull request #1295 from dotnet/piotrpMSFT/CrossGen23808
crossgen 23808
2016-02-09 16:19:15 -08:00