Pavel Krymets
4d4f5ad895
Fix pack output location
2016-02-16 13:56:07 -08:00
Sridhar Periyasamy
2eb39a9a40
Update publish.ps1
...
Fix the path to `.version` file to use the `$RID` env variable.
2016-02-16 13:51:36 -08:00
Piotr Puszkiewicz
faeeb4feaf
$Configuration was being interpreted as $Configuration_
2016-02-16 13:41:37 -08:00
Andrew Stanton-Nurse
d526b08a8e
forward packaged commands test outputs to console
2016-02-16 13:37:19 -08:00
Sridhar Periyasamy
1ddec816cb
Update CompileTargets.cs
...
Use `configuration` instead of hard coding `Debug`.
2016-02-16 12:59:25 -08:00
David Fowler
528b32ddc5
Remove the shared runtime folder from the CLI
2016-02-16 12:57:01 -08:00
Andrew Stanton-Nurse
34b0b688f7
patch up some final missing CI build things
2016-02-16 12:46:43 -08:00
Andrew Stanton-Nurse
f2b3b2e93a
flip path slash
2016-02-16 12:23:14 -08:00
Andrew Stanton-Nurse
10772464c7
add help to build.cmd
2016-02-16 12:22:25 -08:00
Andrew Stanton-Nurse
c2f08bd853
remove ci_build.sh
2016-02-16 12:16:45 -08:00
Andrew Stanton-Nurse
57ce370b51
remove ci_build.cmd
2016-02-16 12:06:51 -08:00
Andrew Stanton-Nurse
8fedd2ada3
restore the NoPackage switch for VSO signing build
2016-02-16 11:39:17 -08:00
Sridhar Periyasamy
9ec8556d24
Rebase with the latest sources and fix the tests.
2016-02-16 11:26:40 -08:00
Sridhar Periyasamy
ab455e6bb9
Merge branch 'rel/1.0.0' of https://github.com/dotnet/cli into test-fx
2016-02-16 09:58:20 -08:00
Pavel Krymets
39e1e26f0e
Refactor DependencyModel, make it ready for tests
2016-02-16 09:56:19 -08:00
Piotr Puszkiewicz
a5d069324e
Fix publish scripts
2016-02-16 01:57:24 -08:00
Piotr Puszkiewicz
a467dd236a
Merge pull request #1421 from dotnet/blackdwarf-badges
...
badge updates
2016-02-16 00:49:10 -08:00
Piotr Puszkiewicz
d24de40ae5
Merge branch 'badges' of https://github.com/blackdwarf/cli into blackdwarf-badges
2016-02-16 00:30:16 -08:00
Piotr Puszkiewicz
811f892cf5
Fixes issue #1415
2016-02-15 23:45:31 -08:00
Piotr Puszkiewicz
9185f5772a
Improved VSO build logging during VS Environment Variable collection.
2016-02-15 20:20:53 -08:00
David Fowler
50e7a8b71a
Remove setting of DOTNET_HOME during compile
2016-02-15 10:22:47 -08:00
David Fowler
c7e9139fa6
More build cleanup and tweaks
...
- Added generic Get<T> to build context
2016-02-15 10:07:39 -08:00
David Fowler
078d6a8d5f
Build and project cleanup
2016-02-15 09:43:18 -08:00
David Fowler
77dfbd8e43
Fixed the build
...
- csc kept crashing on stage 2 and it turned out to be a version mismatch with System.Reflection.Metadata.
- Silenced crossgen
- Made omnisharp see all of the projects
2016-02-15 09:03:40 -08:00
Senthil
ef00f0331e
Include project.json dependencies for native
2016-02-14 17:20:23 -08:00
Sridhar Periyasamy
2a94a1e384
Merge branch 'rel/1.0.0' of https://github.com/dotnet/cli into test-fx
...
Conflicts:
Microsoft.DotNet.Cli.sln
scripts/dockerbuild.sh
scripts/test/setup/build-test-prerequisites.ps1
test/dotnet-build.Tests/IncrementalTestBase.cs
test/dotnet-publish.Tests/Microsoft.DotNet.Tools.Publish.Tests.cs
test/dotnet-publish.Tests/project.json
2016-02-12 17:26:58 -08:00
Andrew Stanton-Nurse
ba57e4bfe9
swap .version file
2016-02-12 17:16:28 -08:00
Andrew Stanton-Nurse
d524732bbb
working on build scripts
2016-02-12 15:26:35 -08:00
Sridhar Periyasamy
5fb1eaa9c6
Fix tests for unix.
2016-02-12 15:12:19 -08:00
Livar Cunha
64c17c5541
Making argument forwarding tests run with dotnet test and removing the its special test scripts.
2016-02-12 13:33:41 -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
Andrew Stanton-Nurse
531173db57
why not crossgen?
2016-02-12 10:11:30 -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
Andrew Stanton-Nurse
d67a0cd9bb
remove all the hacks to work around broken crossgen/coreclr
2016-02-11 21:16:18 -08:00
Sridhar Periyasamy
f86952cf1d
Merge branch 'rel/1.0.0' of https://github.com/dotnet/cli into test-fx
2016-02-11 14:22:24 -08:00
Sridhar Periyasamy
9695fbfeda
Refactor 'publish' and 'build' tests to use the TestFramework
2016-02-11 14:17:20 -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
8534bb8747
turn echo off off
2016-02-11 11:33:32 -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
Sridhar Periyasamy
56e3d8f903
Upload bundles instead of MSI
2016-02-10 13:06:48 -08:00
Eric Erhardt
5d04ca1fe3
Move PackagedCommands to TestAssets.
...
Convert package-command-test.ps1 to an XUnit test.
2016-02-10 15:05:25 -06:00
Eric Erhardt
74d8051f79
Bump CoreFx to rc2-23810
2016-02-10 13:50:28 -06: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
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
48797ea80a
Bump CoreFx to rc2-23808
...
Workaround for issue 1294
Improve crossgen notifications
2016-02-09 15:49:45 -08:00
Pavel Krymets
5c3bc7f340
Merge pull request #1321 from dotnet/pakrym/package-fix
...
Fix location for package signing
2016-02-09 14:38:31 -08:00
Pavel Krymets
9c9c726d82
Fix location for package signing
2016-02-09 14:17:48 -08:00
Eric Erhardt
784f5679bf
Rename E2E test to EndToEnd.
2016-02-09 15:12:25 -06:00
Eric Erhardt
6dc9a49f0e
Fix package-command tests failing on Windows.
...
We have a hard-coded "Debug" string in our restore-tests.ps1.
2016-02-09 14:40:46 -06:00
Pavel Krymets
0f82ae37f3
Refactor output directory code
2016-02-09 08:52:59 -08:00
Eric Erhardt
4908436958
Merge pull request #1261 from eerhardt/TestDirectory
...
Test directory refactoring step 1.
2016-02-08 21:36:29 -06:00
Eric Erhardt
3d14caceff
Test directory refactoring step 1.
...
Moving TestProjects and TestPackages under root 'TestAssets' folder.
Partial fix #1250
2016-02-08 20:35:22 -06:00
Eric Erhardt
a3ab4d16d1
Fix the package cache on CI on Unix.
...
On the CI machines, the $HOME variable is redirected to the artifacts folder, which is under the repo root. The package cache is using $HOME. Thus between runs, the cache is removed.
To fix this, change the package cache on CI runs to be outside of the repo.
2016-02-08 17:50:52 -06:00
Eric Erhardt
168bfc6778
Merge pull request #1262 from eerhardt/FixCentOS
...
Fix CentOS on the latest .Net Core.
2016-02-05 20:56:45 -06:00
Eric Erhardt
1f8c139cec
Fix CentOS on the latest .Net Core.
...
The latest .Net Core renamed the RID of the 'centos' packages to 'rhel'. Migrating our scripts to use this name.
2016-02-05 20:13:35 -06:00
Livar Cunha
2d55c145e9
We still having issues when passing configuration to dotnet tests. This change makes dotnet build of tests and dotnet test commands always use debug build. We have issues #1267 and #1268 tracking fixes for this problem
2016-02-05 18:08:33 -08:00
Bryan Thornbury
bf5a466a03
fix slash in run_tests
2016-02-05 15:40:50 -08:00
Piotr Puszkiewicz
0863e02b52
Merge pull request #1253 from dotnet/piotrpMSFT/dotnet-testConfiguration
...
dotnet-test -c
2016-02-05 14:21:12 -08:00
Eric Erhardt
a7e9ee52c9
Update to .Net Core rc2-23805
2016-02-05 15:53:23 -06:00
Piotr Puszkiewicz
f51b9fb337
enable passing config to dotnet-test
2016-02-05 13:26:12 -08:00
Eric Erhardt
afc0d45e2e
Merge pull request #1242 from eerhardt/NuGetCache
...
Cache NuGet packages on our CI server between builds.
2016-02-05 11:19:58 -06:00
Eric Erhardt
617af759ae
Cache NuGet packages on our CI server between builds.
...
Currently on our CI builds, we point our NuGet cache under the repo. In between builds the repo gets deleted, thus the cache is lost.
This change moves the cache to %userprofile%\.nuget\packages on CI and dev boxes. On CI, we expire the cache after a day by default.
2016-02-05 10:34:20 -06:00
Livar Cunha
64f89c990a
Making the tests build without tfm, rid or configuration, because dotnet test does not understand those. that means that if we build for release and then do a dotnet test, the test will fail because dotnet test will look for binaries under debug/tfm.
2016-02-04 18:03:33 -08:00
Sridhar Periyasamy
17244b15c6
Update package.sh
...
Fix typos. This is failing the VSO CI builds.
2016-02-04 15:46:58 -08:00
Andrew Stanton-Nurse
bdce3f53f5
Merge pull request #1228 from dotnet/anurse/sync-install-script-params
...
sync install script params with PowerShell a bit
2016-02-04 14:33:44 -08:00
Bryan Thornbury
be4629a6a6
Merge pull request #1187 from dotnet/brthor/test_env_var
...
Add back Test Env Var so tests are published to the artifacts folder.
2016-02-04 11:58:14 -08:00
Andrew Stanton-Nurse
7ecb46fa55
sync install script params with PowerShell a bit
2016-02-04 09:58:26 -08:00
Livar Cunha
e618ff091f
Making the test scripts work with dotnet test.
2016-02-03 17:07:55 -08:00
Senthil
8cb1e93d78
Merge pull request #1207 from schellap/relfix
...
Port native fixes
2016-02-03 16:33:11 -08:00
Senthil
102f11e65b
Port native fixes
2016-02-03 14:49:31 -08:00
Zlatko Knezevic
c124b2d79a
Responding to PR feedback, adding the OS names
2016-02-03 09:46:45 -08:00
Zlatko Knezevic
810e66b8fd
Responding to PR feedback.
...
Modified the .gitignore also to exclude vim swap files.
2016-02-03 09:46:45 -08:00
Zlatko Knezevic
ae78068481
Changing the implementation from using shields.io to
...
using a local SVG file and doing replace. One less network hop.
2016-02-03 09:42:57 -08:00
Zlatko Knezevic
4f2a8aeaf9
Responding to PR feedback
2016-02-03 09:42:57 -08:00
Zlatko Knezevic
95f059697f
Add version badges generation to build
...
Add version badge generation using shields.io service. The badge
is uploaded to a fixed Azure BLOB location which can be referenced
from README.md. Since the badge creation is not crucial, do not fail the build
if it cannot be created.
Fix #1000
2016-02-03 09:42:57 -08:00
David Fowler
73f7550b98
Pin versions and restore less
...
- Should speed up the build
2016-02-02 23:03:12 -08:00
piotrp
26ee0d8ddd
fix paths
2016-02-02 14:55:18 -08:00
Bryan Thornbury
a5ff1e64ef
Add back Test Env Var so tests are published to the artifacts folder.
2016-02-02 14:55:18 -08:00
Andy Gocke
7a203c02e1
Merge pull request #1158 from agocke/add-additional-arguments
...
Add "additionalArguments" compilation option
2016-02-02 12:22:03 -08:00
Andy Gocke
6ba581fc17
Add support for 'additionalArguments' in compilationOptions
...
Rather than keep a map that will have to be constantly updated every time
a new argument gets added to a compiler, the 'additionalArguments' option
will allow users to directly add arguments to the underlying compiler.
2016-02-01 22:48:12 -08:00
David Fowler
ec10a1d6be
Upgrade stdlib and enable crossgen
2016-02-01 20:48:34 -08:00
David Fowler
1e703575d2
Fixed native compile
2016-02-01 15:54:18 -08:00
David Fowler
dfc59eb20e
Everything in the same project
...
- Build in intrinsic commands as part of dotnet
2016-02-01 14:56:32 -08:00
Bryan Thornbury
f4bf77044b
update paths to generated nuget packages
2016-02-01 12:52:42 -08:00
Bryan
39682cd14b
dotnet-restore fix
...
add rid to all restores in test
Add Rid to appdep script, fix common
more script fixes!
fixes
script fix
script fix
Fix up the Runtests script
more fixes :)
2016-01-30 00:21:15 -08:00
Bryan Thornbury
afacc2c0a6
Finish Refactoring Test Scripts
...
remove publish todo
small fixes
small fixes
fix packaging test bug
Fix script bug
script changes
fix packaging test
NuGet task cancelled workaround
script fixes further
more script fixes, + workaround tweak
use build rather than compile in package command test
2016-01-30 00:21:14 -08:00
piotrp
51eca0bcba
Refactoring test scripts
...
_nuget needs some RepoRoots
get the cats in line (d)
spaces
Fix Linux build breaks
add execution permissions
Pick up #999 Finish refactoring test scripts
remove auth
Reorder publishing to work!
fix rebase errors
fix more rebase errors
small fixes
2016-01-30 00:21:13 -08:00
Livar
c4f834b4e0
Merge pull request #1114 from livarcocc/fix_compile_stage
...
Updating build scripts to publish to stage\bin flat folder again
2016-01-29 10:26:34 -08:00
Livar Cunha
325d25235a
Removing the publishing of the CLI to a separate compilation folder, we don't need it anymore after allowing publish to publish to flat output folders again. This simplifies the scripts. I kept packaging happening in a separate compilation folder because for that we need the tfm folder structure. This also fixes a bug where binaries were only being copied for the first time we built, because we checked that compilationfolder/bin/config/tfm was there. After fowler changes, this was not true for the published CLI, but the packaged folders were still creating this structure, which cause in subsequent build to only the binaries under compilationfolder/bin/debug/dnxcore50 to be copied to stage2dir/bin, instead of everything.
2016-01-28 20:34:19 -08:00
PiotrP
f3fa6be568
Fix dotnet-compile-native scripts
2016-01-28 14:22:48 -08:00
piotrp
25a7be1b21
Remove 'name' property from PJs
2016-01-28 10:53:32 -08:00
piotrp
9a7cab4cda
build scripts and md
2016-01-28 10:53:31 -08:00
David Fowler
a35ae177ff
- Make all of the code looking for built assets use the OutputPathCalculator
...
- Project dependencies are always built into their specific folders and the main project is the only one that uses the output path and intermediate output path variable.
- Publish respects the output path for publish only, not compile as part of publish. This means that publishing multiple runtimes will stomp on each other. So don't do that. We can throw if you specify and output location and you haven't specified a specific combination of RID and framework. Alternatively it should probably just pick the first TFM/RID pair from the lock file. This is similar to how `dotnet run` works.
- Cleaned up the incremental build output formatting
- Use a single stream (output stream) since interleaving them was causing formatting issues (like losing random characters in the middle of outputting things).
- Didn't change how pack works, it still preserves the output structure when passing `--output`, this one is worth discussing. We could leave the build output inplace and only move the package to the output location. That's more consistent with how everything else works and can be a follow up PR.
2016-01-27 11:13:45 -08:00
piotrp
d9ad86282a
normalize centos version in RID to .7
2016-01-27 00:14:10 -08:00
piotrp
ce5efda8df
Add --runtime parameter in bash restore to minimize package downloads and avoid trying to download non-existant packages.
2016-01-26 23:25:40 -08:00
piotrp
a66546d8fb
Maintain test artifacts
...
Improved test diagnostics
Providing diagnostics about failed process.
Workaround for https://github.com/NuGet/Home/issues/1977
get past crossgen errors!
2016-01-26 23:25:39 -08:00
Andrew Stanton-Nurse
066bebcc6c
bootstrap using nuget instead of dnx
2016-01-26 23:25:37 -08:00
Bryan Thornbury
ed5538292e
Changes to restore CentOS properly in arg forwarding test.
2016-01-23 15:00:04 -08:00
Bryan
4c41c9699c
Last necessary test changes
...
Fix the refactoring bugs
fix restore
downgrade version of package command test
Linux Test Script Fixes
use corehost instead of corerun for arg testing
don't copy corehost
fix scripts
Account for change in publish path, use corerun. Issue with AppContext.BaseDirectory in corehost.
Case Sensitive Reflector
wait for process exit
Fix bug in runtests.ps1
fix release build output path
fixup bug in runtests.sh
2016-01-23 14:32:50 -08:00
Bryan
c727c513dc
Native fixes
...
project.json cleanup
Cleanup and Code Review Feedback
2016-01-23 13:01:36 -08:00
Bryan
fce9666f37
Argument Forwarding Test Infrastructure
2016-01-23 13:01:29 -08:00
piotrp
c8a11ce63c
Remove --no-cache from scripts
...
--no-cache is not supported by NuGet v3
2016-01-23 09:53:51 -08:00
Livar Cunha
91fcb62611
Introducing a separate script that initializes the projects that are going to be packaged, so that it can be shared between build and pack.
2016-01-22 23:08:49 -08:00
Livar Cunha
e3a8dacc8e
Building the projects that are going to be packaged separately so that they build for all the Tfms. The package step will then pick it up and package all the correct Tfms as well.
2016-01-22 23:08:49 -08:00
Livar Cunha
fdea0b87e0
Making some of the testbase methods protected.
...
Renaming variables according to code review comments. Adding the folder logic to the builder tests. Creating a separate compilation folder during the build.
2016-01-22 15:22:45 -08:00
Livar Cunha
b1bce2b50a
Making the multi project validator compile for the passed configuration to make the scripts work for release as well. Also fixed the variable assignment in the .sh script.
2016-01-22 15:22:44 -08:00
Livar Cunha
0c3751cd37
Modify the bash scripts to handle the new folder structure
2016-01-22 15:22:44 -08:00
Livar Cunha
ac2d0e36a9
Changing multiple dotnet commands to be aware of $configuration/$tfm folder structure under the --output path option.
...
Changing the build scripts to copy files over from debug\dnxcore and to check for the folders existence before trying that.
Making the build command aware of the subfolders and making E2E tests aware of subfolders.
Fixing compiler tests to look for the xml in the right plae taking into consideration the configuration and tfm.
Modifying publish tests to not take into consideration the runtime. This is a temporary change. will bring it back once the commands all understand rid.
Making the packaging step work by placing binaries where dotnet pack expects.
2016-01-22 15:22:44 -08:00
Piotr Puszkiewicz
14f665eb30
Merge pull request #930 from cdmihai/cdmihai/buildCommandTestingReleasePR
...
Release PR: Incremental build tests and improvements
2016-01-21 12:31:25 -08:00
Sridhar Periyasamy
137336d0d0
Download the stage0 dotnet tools from the beta feed for unix.
...
Set the correct channel so that the stage0 binaries are downloaded
correctly.
** This commit cannot be directly merged from the release branch to the
master branch **
2016-01-20 19:08:00 -08:00
Sridhar Periyasamy
a8aea60f14
Download the stage0 dotnet tools from the beta feed for windows.
...
Set the correct channel so that the stage0 binaries are downloaded
correctly.
** This commit cannot be directly merged from the release branch to the
master branch **
2016-01-20 19:00:06 -08:00
Mihai Codoban
3a8ef0f5e9
Add Tests for incrementality
2016-01-20 16:07:12 -08:00
Bryan Thornbury
63190c5cc0
Use Release Suffix instead of CHANNEL for determining last deb packge
2016-01-20 20:07:40 +00:00
PiotrP
36f69060d1
Set 1.0.0 version numbers
2016-01-19 19:06:41 -08:00
Andrew Stanton-Nurse
3d493f7d9d
switch from DNX to cross-plat NuGet!
2016-01-19 11:43:09 -08:00
Sridhar Periyasamy
93f41e0b69
Build "Microsoft.DotNet.ProjectModel.Workspaces" so that it can be
...
packaged later as nupkg
Fixes - #797
2016-01-15 11:31:53 -08:00
schellap
b4b482006b
Fix host name, debuggability and embed CRT
2016-01-14 12:06:18 -08:00
Sridhar Periyasamy
f2ac0d341b
Merge pull request #836 from Sridhar-MS/msi-upgrade
...
Enable build-to-build major upgrades for MSI.
2016-01-14 11:36:03 -08:00
Andrew Stanton-Nurse
845f2c56e6
let RID detection do its thing
...
also:
* fix up pjvalidate to handle versionless deps
* fix up package-command-test
2016-01-14 09:06:13 -08:00
Bryan Thornbury
60f5fce3fb
Merge pull request #821 from brthor/debian_upgrade_test
...
Enable Debian package upgrade tests.
2016-01-13 16:07:28 -08:00
Sridhar Periyasamy
1308e27a74
Enable build-to-build major upgrades for MSI.
...
Encode the CLI version into MSI supported ProductVersion documented here -
https://msdn.microsoft.com/en-us/library/windows/desktop/aa370859(v=vs.85).aspx
Example: CLI Version - 1.0.0.000930 is encoded in MSI as 4.0.930
Prevent downgrading by failing installation with error message.
Also display the original CLI version in the ProductName.
2016-01-13 15:48:45 -08:00
Livar
2417f50f8d
Merge pull request #818 from livarcocc/file_descriptor_limit
...
Fixes the file descriptor issue during restore on OSX
2016-01-13 15:05:52 -08:00
Bryan Thornbury
bfde94528c
Enable Debian package upgrade tests.
2016-01-13 14:34:12 -08:00
Livar Cunha
9994b6b8dd
Increases the number of file descriptors available to the process in order to hit a issue when doing restore where we were running out of file descriptors during the build.
2016-01-13 13:40:25 -08:00
Bryan Thornbury
cc0767c7f4
Merge pull request #820 from brthor/package_tool_cmd_options
...
Versioning Changes
2016-01-13 13:15:26 -08:00
Pavel Krymets
2456d83008
Switch dependency context back to dotnet5.4
2016-01-13 10:56:57 -08:00
Bryan
7011f9e604
update everything to DOTNET_CLI_VERSION
...
Some package_tool fixes
2016-01-13 02:22:53 -08:00
Krzysztof Wicher
f88c9a88f2
use commit count as revision number
2016-01-13 02:22:48 -08:00
Bryan
797e436547
Package Tool Changes to support versioning changes.
...
1. Support CONFLICTS in debian packages
2. Associated Build Changes
3. Better cmd line option support in package_tool
2016-01-13 02:22:47 -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
Livar
61f837d711
Merge pull request #816 from livarcocc/authenticode
...
Adjusting build.ps1 to work in VSO with the -NoPackage flag
2016-01-12 17:50:29 -08:00
piotrp
ce34927dfb
Fixes issue #797
...
Builds all to-be-packaged assemblies, fixes packaging script.
2016-01-12 14:32:51 -08:00
Livar Cunha
7dc2fa20a5
Adding an explicit exit 0 when NoPackage is used so that VSO knows it succeeded.
...
Also added a package.cmd to be used by VSO as well.
2016-01-12 14:29:00 -08:00
Mihai Codoban
cbe90c3f9d
Update *nix scripts to make CLI selfhost incremental
2016-01-12 13:29:41 -08:00
Mihai Codoban
84da50f00f
Update windows scripts to make CLI selfhost incremental
2016-01-12 13:29:41 -08:00
schellap
907cf00654
Split corehost into serviceable DLL and EXE
2016-01-11 18:06:18 -08:00
piotrp
ac0dc9a666
Create test packages directory
2016-01-11 00:16:10 -08:00
piotrp
9a615ff242
Workaround for issue #773
2016-01-10 21:53:42 -08:00
Piotr Puszkiewicz
d1fba98348
Fix test scripts for bash
2016-01-10 12:53:16 -08:00
piotrp
096b7d21dc
Fixing test script issues and addressing RID detection change
2016-01-09 18:04:13 -08:00
piotrp
5cd64066c4
Packaged Commands
2016-01-09 16:50:31 -08:00
Sridhar Periyasamy
a447ec6751
Merge pull request #756 from Sridhar-MS/centos-docker
...
Enable docker support for centos builds
2016-01-08 15:47:31 -08:00
Andrew Stanton-Nurse
78cef18e1c
add support for generating xml documentation
...
fixes #312
2016-01-08 14:02:41 -08:00
Sridhar Periyasamy
08f960b03d
Address PR feedback.
2016-01-08 11:28:38 -08:00
Sridhar Periyasamy
3c53e26d59
Merge branch 'centos-docker' of https://github.com/sridhar-ms/cli into centos-docker
...
Conflicts:
scripts/build/build.ps1
2016-01-08 11:28:22 -08:00
Sridhar Periyasamy
7fe96d56c3
Merge branch 'master' of https://github.com/dotnet/cli into centos-docker
...
Conflicts:
scripts/build/build.sh
2016-01-08 10:59:31 -08:00
Sridhar Periyasamy
6128373f0b
Separate building and packaging scripts for Windows
...
Add 'nopackage' option similar to unix scripts
2016-01-08 10:45:20 -08:00
Andrew Stanton-Nurse
f4df12f2e2
add proper RID detection based on PlatformAbstractions
2016-01-08 10:07:58 -08:00
Sridhar Periyasamy
5155aa61d7
Enable docker support for centos builds
...
- Added an option '--buildindocker <osname>' to build.sh
- Fixed bug which caused packaging to be skipped by default.
- Fixed bug which caused tarballs to be generated twice.
- Fixed bug to propagate build params(like debug, nopackage) to docker build.
2016-01-07 18:50:00 -08:00
Senthil
697debb5d4
Merge pull request #681 from schellap/refac
...
Refactor and build library for corehost
2016-01-07 02:58:23 -08:00
Krzysztof Wicher
8d6e548ada
Merge pull request #741 from krwq/fix_nupkg
...
fix producing nuget packages during the build
2016-01-06 22:09:13 -08:00
Senthil
b11ac0160f
Refactoring for corehost servicing
2016-01-06 18:15:41 -08:00
Krzysztof Wicher
4d455ad230
fix producing nuget packages during the build
2016-01-06 17:27:44 -08:00
Bryan
17176edb80
Remove StreamForwarder Tests from E2E
2016-01-06 15:30:56 -08:00
piotrp
08dd628172
create dotnet-restore.exe
2016-01-06 01:46:10 -08:00
Piotr Puszkiewicz
6b1e11a1c9
Merge pull request #722 from Sridhar-MS/centos-tests
...
Enable running tests for CentOS
2016-01-06 01:14:04 -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
6f2002b896
Enable visual xunit results.
...
Fixup xml test results name
2016-01-05 15:54:50 -08:00
Bryan Thornbury
697e99ea6e
Merge pull request #675 from brthor/native_subdirectory_support
...
Use subdirectories in publish for native
2016-01-05 11:55:58 -08:00
piotrp
9071d1f40f
--quiet flag
2016-01-05 01:42:16 -08:00
piotrp
570cda0bad
fix syntax
2016-01-05 00:57:21 -08:00
piotrp
b980f061d5
Allow NuGet cache for non-CI builds
2016-01-05 00:37:23 -08:00
piotrp
f4b31b80d9
Fix comment
2016-01-04 19:32:10 -08:00
piotrp
ef4f62c87d
Enable crossgen of Stage 1 compiler
...
Eliminate differences between compiling stage 1 and stage 2 to reduce complexity
2016-01-04 19:32:09 -08:00
Troy Dai
20205c4f02
Save dotnet-projectmodel-server.exe to output
2016-01-04 17:48:34 -08:00
Bryan
89de0c2172
Use --native-subdirectory when publishing cli projects.
...
This gives support for files to publish in subdirectories
from dependency nuget packages.
Additionally Change Native Compilation to consume these paths.
2016-01-04 14:42:49 -08:00
Bryan Thornbury
7ddbb5d5e3
Source Common in check-prereqs.sh
...
Fixes #671
2015-12-30 10:34: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
Piotr Puszkiewicz
f1587a4c0e
Allow two-part OS X version numbers
2015-12-29 20:16:05 -08:00
Bryan
7b89cceed5
Enable copying manpages from documentation folder to package_layout_dir for consumption by package_tool and ultimately inclusion in the debian package
2015-12-29 16:44:46 -08:00
Piotr Puszkiewicz
9df40f9c01
prevent sourced files from leaking unintended state to callers
2015-12-29 12:40:39 -08:00
Piotr Puszkiewicz
e91db7dce1
Eliminate dead code and most relative paths
2015-12-29 02:34:10 -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
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
Piotr Puszkiewicz
27794b89ae
Merge pull request #538 from enricosada/add_fsc_compiler
...
Add F# ( command dotnet-compile-fsc )
CentOS checks are still experimental, so ignoring.
2015-12-24 23:01:14 -08:00
Sridhar Periyasamy
3bf39fcf1f
Update ci_build.sh
...
Do not package inside docker container for centos.
2015-12-24 21:38:45 -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
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
Sridhar Periyasamy
3a2b87a92d
Fix to not download Dnx always during a build.
2015-12-18 17:04:29 -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
Piotr Puszkiewicz
f17a2dbb93
Merge pull request #544 from piotrpMSFT/piotrpMSFT/260/offlineBuilds
...
Offline builds. Fixes #260 .
On Windows, build.cmd -Offline
@brthor is adding a parameter option for Linux/Mac
2015-12-18 14:50:37 -08:00
piotrp
0bcc899ce3
Make default Online
2015-12-18 12:48:37 -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
Sridhar Periyasamy
b43a1a34a8
Update ci_build.sh
...
Removing dead code which is no longer used. DOTNET_BUILD_VERSION is set in build.sh.
2015-12-17 18:39:41 -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
Bryan Thornbury
344d010610
Linux Port of offline build
2015-12-17 18:05:36 -08:00
piotrp
7c722b3fe4
Offline builds on Windows
2015-12-17 18:02:44 -08:00
Sridhar Periyasamy
0b17cc122c
Merge pull request #521 from Sridhar-MS/centos-fixes
...
Scripts changes to accomodate centos builds.
2015-12-17 17:57:43 -08:00
Andrew Stanton-Nurse
1b247311bf
fix install script
2015-12-17 11:55:44 -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
3b848c0487
Change Output format to match PR feedback
...
Don't use Environment.Exit()
PR Feedback, Unecessary Usings and Immutable types
2015-12-16 14:12:24 -08:00
Sridhar Periyasamy
6046de8efe
Address PR feedback.
2015-12-16 13:04:29 -08:00
Bryan
bfa9710d52
update crossgen scripts to 23616
2015-12-16 11:48:39 -08:00
Bryan
64c06f7158
Change Roslyn scripts to reference the right runtime version
2015-12-16 11:48:05 -08:00
Sridhar Periyasamy
8f228f446a
Update publish.ps1
...
Redirect azure storage command line output to console. Need this to diagnose azure CLI issues in the VSO CI.
2015-12-15 19:10:06 -08:00
Sridhar Periyasamy
67ad2a8fab
Scripts changes to accomodate centos builds.
...
Does not contain changes to actually build CLI on centos.
2015-12-15 18:15:31 -08:00
Sridhar Periyasamy
f7ae98eb1d
Fix runtests.sh
2015-12-15 09:46:21 -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
Bryan
dd5c0bb423
do not fail build on pjvalidate failure
2015-12-14 15:15:02 -08:00
Bryan
d502f3d57e
Add Project Validation to build scripts. Fail on a failed analysis.
2015-12-11 14:24:06 -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
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
Krzysztof Wicher
bd6519d665
unify versions on binaries and nupkgs
2015-12-09 14:56:39 -08:00
Krzysztof Wicher
3a58e8a7d7
make copyright header a comment and not an information text
2015-12-09 00:20:39 -08:00
Krzysztof Wicher
822ae54281
change versions in nupkgs
2015-12-09 00:20:38 -08:00
piotrp
568eb3aae7
dotnet-init --> dotnet new
...
Fixes issue #374
2015-12-08 10:37:31 -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
Bryan
216adc198e
delete staging directory before bringing down bats to avoid conflicts
2015-12-04 17:24:30 -08:00
Bryan Thornbury
aa248df73c
disable E2E test for debian package
2015-12-03 00:26:05 +00:00
Bryan Thornbury
a93e9111d7
Tweak restoration and dependencies
2015-12-03 00:01:19 +00:00
Bryan Thornbury
64523881e7
More small fixes, will squash these commits
2015-12-02 23:11:45 +00:00
Bryan Thornbury
c2d04d51b1
Changes to propagate errors in package build.
2015-12-02 22:11:31 +00: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
Krzysztof Wicher
2ee4ccf2f5
fix bug in e2e tests
2015-12-01 23:14:49 -08:00
Bryan Thornbury
894676b7e1
Max 2 length substring, fix publishing for MSI
2015-12-01 17:11:30 -08:00
Sridhar Periyasamy
4c29fcbb03
Update Dockerfile
...
Create home folder for the user. Required by azure CLI.
2015-12-01 11:23:13 -08:00
PiotrP
512428fc2f
workaround for issue 359
2015-11-30 21:51:36 -08:00
piotrp
407c933480
add dotnet-test
2015-11-30 17:28:03 -08:00
Andrew Stanton-Nurse
462bbb4f5b
remove scripts to clean deps files
2015-11-30 12:49:29 -08:00
Andrew Stanton-Nurse
7815ddd6f2
set +x on dev-dotnet.sh
2015-11-30 12:19:56 -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
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
Bryan Thornbury
65d0388f5a
Merge pull request #318 from brthor/docker_build_user
...
Set Docker Internal UID to Host UID, Remove Postbuild step
2015-11-25 13:37:43 -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
Bryan Thornbury
b122190cd8
Set Docker Internal UID to Host UID, Remove Postbuild step
...
These changes will use docker's new Dockerfile Arguments to
pass the Host User ID to the docker container at build time.
This allows the docker container to set it's internal user
to match that of the host. When using shared volumes between
the host and container, this prevents files created in the
container from being owned by root.
This will solve our problem of needing a cleanup step after
every ubuntu CI run.
2015-11-25 00:33:53 +00:00
Krzysztof Wicher
d442d36189
add check for corehost
2015-11-24 11:21:13 -08:00
Krzysztof Wicher
1eee5114a4
fix build showing success on failing project
2015-11-23 19:43:02 -08:00
Krzysztof Wicher
c10bda5cbf
Merge pull request #268 from krwq/fixlinuxbuild
...
add dotnet-init to linux build script
2015-11-20 11:00:08 -08:00
Krzysztof Wicher
6a655af41a
add dotnet-init to linux build script
2015-11-19 15:01:47 -08:00
Bryan Thornbury
cefd1cbcfa
Move Debian Package Tools to packaging folder
2015-11-19 14:45:20 -08:00
Livar
b3b2ee737f
Merge pull request #243 from livarcocc/native_fixes
...
Fixes for dotnet compile --native.
2015-11-19 12:26:54 -08:00
Geoff Norton
bd2414dbdf
[osx] Fix permissions on place-binary.sh, and fix REPOROOT
2015-11-19 13:09:28 +09:00
Andy Gocke
f61ae84cb8
Merge pull request #252 from agocke/FixWindowsCrossgen
...
Run crossgen on the csc/vbc dlls, rather than the host exe
2015-11-18 17:36:56 -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
Andy Gocke
96710ebfc1
Run crossgen on the csc/vbc dlls, rather than the host exe
2015-11-18 16:13:52 -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
Sridhar Periyasamy
3245130997
Use azure CLI instead of Invoke-WebRequest to upload files into azure blob
...
storage.
We cannot use Invoke-WebRequest todo this becuase azure has a max limit of
64mb that can be uploaded using REST
2015-11-18 08:32:09 -08:00
Sridhar Periyasamy
ba8a2b3869
Fix the mode flags on repoapi_client.sh
2015-11-18 07:47:21 -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
1455d9151d
Don't copy Appdeps on mac. Bump appdep package version number
2015-11-18 01:53:05 -08:00
Piotr Puszkiewicz
080a127c38
Merge pull request #211 from Sridhar-MS/msi-packaging
...
First pass at building Windows MSI for the dotnet CLI repo.
2015-11-18 01:27:10 -08:00
Bryan
8768b873bd
Fix Windows AppDep, bump ILCompiler Version to fix cache issue
2015-11-18 01:19:06 -08:00
Bryan
ebe108c69b
AppDeps Copy Script fix dotnet invocation
2015-11-18 00:28:50 -08:00
Bryan
d0c07c64b9
Set additional env variables for appdeps build
2015-11-18 00:09:07 -08:00
Bryan
cb22daf9cb
Merge branch 'dotnet-compile-natives' of https://github.com/brthor/cli into dotnet-compile-natives
2015-11-17 23:54:43 -08:00
Bryan
ad56a28c56
Fix Appdeps scripts
2015-11-17 23:42:27 -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
Bryan Thornbury
21d39c4751
Merge branch 'dotnet-compile-natives' of https://github.com/brthor/cli into dotnet-compile-natives
2015-11-17 23:07:37 -08:00
Bryan Thornbury
35b0258f6c
Make Appdeps executable
2015-11-17 23:04:24 -08:00
Bryan
0b59d3cd8e
Add --no-cache to Windows Builds
2015-11-17 22:10:27 -08:00
Bryan
9c2141c098
Add no-cache to restoration
2015-11-17 21:58:49 -08:00
Bryan
47e150f561
Dotnet-Compile-Native Linux Integration
2015-11-17 20:37:56 -08:00
Bryan
a2e26981f2
Dotnet-Compile-Native Windows Build Integration
2015-11-17 20:36:30 -08:00
Sridhar Periyasamy
6a0a982f2f
Change the build number to 'major.minor.build.revision'.
...
This is required for the Windows MSI ProductVersion to support major/minor
upgrades.
https://msdn.microsoft.com/en-us/library/aa370859(v=vs.85).aspx
2015-11-17 20:25:08 -08:00
Andrew Stanton-Nurse
a188ebe4e2
added a script to put the dev build on the PATH
2015-11-17 18:08:31 -08:00
Andrew Stanton-Nurse
a492ea7834
fix minor issue with build scripts
2015-11-17 15:17:37 -08:00
Piotr Puszkiewicz
f5a3ec581d
Merge pull request #193 from cston/package
...
Add Microsoft.DotNet.Tools.Repl* to install
2015-11-17 14:35:35 -08:00
Charles Stoner
722dd721b0
Add Microsoft.DotNet.Tools.Repl* to install
2015-11-17 13:52:00 -08:00
Krzysztof Wicher
b566be5de8
Add dotnet-init
2015-11-17 11:46:46 -08:00
Sridhar Periyasamy
1c6087b8e1
Fix windows build break. Fix syntax of powershell 'cp' command.
2015-11-17 11:45:31 -08:00
Sridhar Periyasamy
fb61e69a79
First pass at building Windows MSI for the dotnet CLI repo.
...
- Use the heat tool to harvest the stage2 dir and create install-files.wxs
- dotnet.wxs contains the XML code which is constant across builds for an MSI.
- Use Candle and Light to generate the MSI from install-files.wxs and dotnet.wxs.
Default Install Location - %ProgramFiles%/dotnet.
Adds <InstallRoot>\bin %PATH%
Creates %DOTNET_HOME% pointing to <InstallRoot>
2015-11-17 00:39:46 -08:00
Piotr Puszkiewicz
4bc69ed204
Merge pull request #204 from piotrpMSFT/LicenseHeaders
...
Update Copyright headers in all source files.
2015-11-16 22:12:05 -08:00
David Fowler
919c6bc40e
Add pack to the list of projects
2015-11-16 20:22:22 -08:00
PiotrP
e839b4debb
Update Copyright headers in all source files.
2015-11-16 19:47:43 -08:00
Bryan
ee7b242d29
Remove set -e, this can easily cause the machine to get into an inconsistent state
2015-11-16 15:54:22 -08:00
Bryan
d2cb2ce76a
Remove docker container cleanup. This should be handled in dockerbuild now.
2015-11-16 15:53:05 -08:00
Bryan
1a9d44a985
Fix Docker Postbuild Imports
2015-11-16 15:39:22 -08:00
Andrew Stanton-Nurse
06c66638f3
switch to repo-local stage0
...
fixes #200
2015-11-16 13:49:29 -08:00
Andrew Stanton-Nurse
6e3ade1672
fix issue with release build on VSO
2015-11-16 10:45:19 -08:00
Andrew Stanton-Nurse
d0f40917bc
fix Windows VSO build
2015-11-16 10:20:47 -08:00
Andrew Stanton-Nurse
4cc15b1246
restructure the output layout
...
also reorganize the scripts folder
2015-11-16 09:44:00 -08:00
glennc
1f47daec1c
Feedback changes plus ability to detect if latest is already installed
2015-11-12 12:18:19 -08:00
glennc
ddb8c04dd1
Some text updates for the install.sh file
2015-11-12 12:18:19 -08:00
glennc
ad4edf82ad
Add install.sh to install the latest cli on a machine
2015-11-12 12:18:19 -08:00
Andrew Stanton-Nurse
2590e75475
add .version file to package
2015-11-11 22:49:39 -08:00
Andrew Stanton-Nurse
2d974c2680
fix formatting of windows version file
2015-11-11 22:23:41 -08:00
Andrew Stanton-Nurse
758d347f87
upload the data as raw binary data and set content-type
2015-11-11 22:13:35 -08:00
Andrew Stanton-Nurse
b920a77234
fix build and version upload
2015-11-11 21:54:58 -08:00
Andy Gocke
cc1d8f9215
Merge pull request #179 from agocke/UpgradeCscCoreReference
...
Upgrade compiler version and fix crossgen
2015-11-11 17:10:58 -08:00
Andy Gocke
5bfb626799
Upgrade compiler version and fix crossgen
...
The latest compiler nugets have missing dependencies, so
this temporarily turns on -MissingDependenciesOK for crossgen
2015-11-11 16:33:06 -08:00
Andrew Stanton-Nurse
e094169533
still don't know how to bash
2015-11-11 15:33:45 -08:00
Andrew Stanton-Nurse
d9dd05f4a0
fix version file format
2015-11-11 15:15:31 -08:00
Andrew Stanton-Nurse
d7bae750b2
how do I bash?
2015-11-11 15:07:56 -08:00
Andrew Stanton-Nurse
d5e9ac88ca
add version metadata to package
...
also publish latest version metadata to blob storage
2015-11-11 14:35:23 -08:00
Sridhar Periyasamy
e31dae6bee
Add '-y' to prevent prompts during installation.
2015-11-10 17:49:33 -08:00
Sridhar Periyasamy
0878879bc8
Fix type in Dockerfile and set the UPLOAD_URL variable to the correct location.
2015-11-10 17:28:46 -08:00
Sridhar Periyasamy
b34d7772e3
Install azure cli in the docker container
...
We need azure cli to publish atrifacts to the azure blob storage.
2015-11-10 17:20:18 -08:00
Bryan
cdf8b90494
Refactor docker entrypoint to reduce potential for out of sync build and ci_build scripts
2015-11-10 16:22:42 -08:00
Sridhar Periyasamy
32e7a71a49
Set up the CXX environment variables for Cmake to find the right compiler.
2015-11-10 16:22:42 -08:00
Bryan
d18385d5a4
Change CI Build to only build packages inside of docker
2015-11-10 16:22:41 -08:00
Bryan Thornbury
317ca5e2a8
Merge pull request #147 from brthor/deb-versioning
...
Match Debian Package Version to CI Build Version
2015-11-10 15:00:07 -08:00
Bryan
aaf1993c11
Address PR Feedback. Add back publish in package script:
2015-11-10 14:47:43 -08:00
Andrew Stanton-Nurse
dcb5e7e7ee
stamp the commit into the stage2 package
2015-11-09 11:44:15 -08:00
Charles Stoner
d244b07dc5
Merge pull request #162 from cston/repl
...
Rename 'dotnet interactive' to 'dotnet repl'
2015-11-06 19:31:14 -08:00
Charles Stoner
73ae3e8afb
Rename 'dotnet interactive' to 'dotnet repl'
2015-11-06 19:07:38 -08:00
Sridhar Periyasamy
09a04a6646
Create/overwrite the latest blob with the most current zip/msi
...
Also updated the readme file to point to download locations for the latest
binaries/installers
2015-11-06 17:06:55 -08:00
Sridhar Periyasamy
3a94e39336
Create/overwrite the latest blob with the most current tar.gz/deb/pkg
2015-11-06 16:35:33 -08:00
Sridhar Periyasamy
645892388b
Merge pull request #160 from Sridhar-MS/azure-cli
...
Upload to blob storage using azure CLI.
2015-11-06 15:27:30 -08:00
Sridhar Periyasamy
32b4058a71
Upload to blob storage using azure CLI.
...
With curl we were hitting the azure server limitation of 64mb - https://msdn.microsoft.com/library/azure/dd179451
2015-11-06 14:40:05 -08:00
glennc
713b7a1061
Initial commit of pkg authoring
2015-11-06 12:02:15 -08:00
Sridhar Periyasamy
75ef96aaf8
Merge pull request #152 from Sridhar-MS/publish-index
...
Automatically update the index in the blob storage for windows.
2015-11-06 11:37:30 -08:00
Sridhar Periyasamy
26000b28c7
Pass DOTNET_BUILD_VERSION variable in a consistent manner to the docker instance
2015-11-05 14:00:44 -08:00
Sridhar Periyasamy
aa9e1e1b45
Pass all the VSO environment variables to the docker instance.
2015-11-05 13:43:21 -08:00
Sridhar Periyasamy
e370dc339b
Remove the 'test' string from the URL
2015-11-05 09:55:29 -08:00
Sridhar Periyasamy
3825af25a0
Automatically update the index in the blob storage for osx and linux.
2015-11-05 09:07:52 -08:00
Charles Stoner
e2cdf17e2e
Add Microsoft.DotNet.Tools.Interactive
2015-11-05 08:54:20 -08:00
Sridhar Periyasamy
c8014f0330
Automatically update the index in the blob storage for windows.
...
This is required by dnvm to download the latest dotnet binaries
2015-11-04 19:13:50 -08:00
Sridhar Periyasamy
36459aa659
Fix the crossgen scripts to use version 23504.
2015-11-04 11:11:38 -08:00
Bryan Thornbury
b63af7e649
Match CI build version to Debian Package Build Version.
...
The Debian Package should have the same version as the rest of the packages
being created as a part of the full build. These changes enable that.
NOTE: The debian package revision is unused but still included in the package
to allow for hyphens in the package version. (https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Version )
2015-11-03 14:13:25 -08:00
Andrew Stanton-Nurse
3f76287809
fix spurious ~ folder
2015-11-03 11:04:26 -08:00
Piotr Puszkiewicz
f176ae9387
Merge pull request #142 from dotnet/anurse/fix-ubuntu-cmake
...
Fix cmake dependency on Ubuntu
Thanks @anurse!!
2015-11-03 10:42:51 -08:00
Andrew Stanton-Nurse
bf0b0c93cb
this should fix cmake on Ubuntu 14.04
2015-11-03 10:08:59 -08:00
Andy Gocke
7dd429f047
Enable Roslyn crossgen on osx/linux
...
Also updates the runtime to 23502, which contains the crossgen
utility in the xplat runtime packages.
2015-11-02 16:44:03 -08:00
Andrew Stanton-Nurse
ee84f498fa
remove predefined runtimes from dotnet-restore
2015-11-02 16:42:21 -08:00
anurse
b35fba863b
command line interface clean-up
2015-11-01 21:08:01 -08:00
Andrew Stanton-Nurse
cfdd93abef
add windows build
2015-10-31 21:57:10 -07:00
Andrew Stanton-Nurse
3ce7a84a04
dotnet-run command
2015-10-31 21:57:07 -07:00
Andrew Stanton-Nurse
cfb5a1836e
fix up bootstrap script a bit
2015-10-31 21:33:17 -07:00
Andrew Stanton-Nurse
fbedf48da2
fix windows build
2015-10-31 21:19:15 -07:00
Bryan Thornbury
8a7a74ff5f
Merge remote-tracking branch 'upstream/master' into compilenative
2015-10-30 15:49:58 -07:00
Andrew Stanton-Nurse
84312846ec
speed up cmake docker build
2015-10-30 15:47:11 -07:00
Bryan Thornbury
15cbb75e45
merge with master
2015-10-30 15:11:18 -07: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
Bryan Thornbury
822f8100a9
clean things up
2015-10-30 14:48:09 -07:00
glennc
070037d6f4
Finish changes for new storage feed format
2015-10-30 11:39:30 -07:00
glennc
8525dbdae3
initial changes for new storage account
2015-10-30 11:39:30 -07:00
Andrew Stanton-Nurse
1654235d74
re-enable smoke test
2015-10-29 19:46:02 -07:00
Andrew Stanton-Nurse
b81465c868
update windows bootstrap script
2015-10-29 19:42:02 -07:00
Andrew Stanton-Nurse
13e279e146
update docker build script
2015-10-29 19:42:02 -07:00
Andrew Stanton-Nurse
d7c73e8b29
clean up some build script stuff
2015-10-29 19:42:02 -07:00
Andrew Stanton-Nurse
11a3bf3076
clean up dependency on DNX
2015-10-29 19:41:32 -07:00
Bryan Thornbury
72097df82f
Smoke Test is breaking ubuntu and Linux Builds. Disable it temporarily
2015-10-29 16:35:23 -07:00
Andy Gocke
11f0443ca5
Merge pull request #121 from agocke/RepairReadyToRun
...
Get ReadyToRun working on -23428
2015-10-29 14:49:10 -07:00
Sridhar Periyasamy
91b0185b54
Minor fix to add quotes to the Upload_URI variable.
2015-10-29 14:21:21 -07:00
Bryan Thornbury
8d4afc5617
disable smoke test temporarily
2015-10-29 14:19:06 -07:00
Bryan Thornbury
4cb3b9569b
Merge remote-tracking branch 'upstream/master' into compilenative
2015-10-29 12:04:02 -07:00
Bryan Thornbury
7fe32a93b1
--native first attempt
2015-10-29 12:03:01 -07:00
Andy Gocke
e9714c419a
Get ReadyToRun working on -23428
2015-10-29 11:38:18 -07:00
Andy Gocke
e3e5a95c10
Remove -ReadyToRun to workaround dotnet/coreclr#1889
2015-10-28 23:43:35 -07:00
Andy Gocke
c2fa68df30
Rebase onto 23428 update
2015-10-28 22:42:14 -07:00
Andy Gocke
c1dd917cb0
Add /readytorun
2015-10-28 21:08:25 -07:00
Andy Gocke
dc814bf901
First try at crossgening Roslyn
...
Adds an extra step to the bootstrap to crossgen into the stage2
output directory.
2015-10-28 21:08:24 -07:00
Sridhar Periyasamy
e5671c4970
Merge pull request #113 from Sridhar-MS/date-osx-fix
...
Add support for channels when publishing the artifacts to the blob storage
2015-10-28 17:40:37 -07:00
Sridhar Periyasamy
1da18be693
Add support for channels when publishing the artifacts to the blob storagewq
2015-10-28 17:11:32 -07:00
Andrew Stanton-Nurse
a715be1d59
switch to latest coreclr
2015-10-28 15:47:47 -07:00
Sridhar Periyasamy
92edf782a2
Merge pull request #105 from Sridhar-MS/ci-publish-to-feeds
...
Changes to push windows artifacts into the dotnet blob storage
2015-10-28 13:42:26 -07:00
Sridhar Periyasamy
30a5491961
Fail silently when required environment variables are missing to publish to feed.
2015-10-28 12:43:38 -07:00
Andrew Stanton-Nurse
c8544bb30d
hide the gross red output from the compiler error test
2015-10-28 12:18:26 -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
Sridhar Periyasamy
0dd15611e1
Mask the azure storage account and storage container names.
2015-10-27 14:26:50 -07:00
Sridhar Periyasamy
9751f83c99
Publish tar/deb/pkg files to the dotnet azure blob during CI.
2015-10-27 14:19:04 -07:00
Sridhar Periyasamy
d2f7624e00
Changes to push windows artifacts into the dotnet blob storage
...
- Use timestamp of last git commit as build numbers
- Push the generated zip/msi files into dotnet blob storage
2015-10-26 18:47:10 -07:00
Bryan Thornbury
9d4887ef75
Enable Ubuntu CI Build using Docker
...
These changes fix many of the issues blocking our Ubuntu CI Build.
Notably, it adds a postbuild step to the CI which cleans up file
permissions on files created in Docker. This lets the next job
delete those files successfully. It also accounts for docker instances
which are left running after an aborted job.
2015-10-26 11:09:38 -07:00
Bryan Thornbury
ed51925e3a
Merge remote-tracking branch 'upstream/master' into dockerci
2015-10-22 17:24:13 -07:00
Bryan Thornbury
7c246f978f
remove pkg package placeholder
2015-10-22 17:22:58 -07:00
Bryan Thornbury
7d8637b5bb
add write to all files after docker run
2015-10-22 17:15:45 -07:00
Bryan Thornbury
02d62a961c
fix packaging perms
2015-10-22 17:05:45 -07:00
Bryan Thornbury
848dc5e205
clean up
2015-10-22 17:01:49 -07:00
Bryan Thornbury
edd4801484
Merge remote-tracking branch 'upstream/master' into dockerci
2015-10-22 17:00:48 -07:00
Bryan Thornbury
6e72e2c08a
fix package permissions
2015-10-22 16:57:28 -07:00
Bryan Thornbury
2eb25d5c0c
try to fix file perm issues in ci build:
2015-10-22 16:31:27 -07:00
Bryan Thornbury
f4d72cd201
docker use executing username to avoid root file perms, support absolute paths in repoapi_client
2015-10-22 16:17:57 -07:00
Bryan Thornbury
d00c3ce742
dockerbuild parallelization
2015-10-22 15:39:13 -07:00
Bryan Thornbury
8a94b30100
Only build deb packages on mac, fix windows docker build
2015-10-22 15:12:49 -07:00
Bryan Thornbury
70baca6a1d
fix dockerbuild on ubuntu
2015-10-22 14:43:24 -07:00
Bryan Thornbury
8273ec1a2f
test ci username
2015-10-22 12:31:58 -07:00
Bryan Thornbury
0042d49d36
Run Docker Build in Ubuntu CI
2015-10-22 12:14:58 -07:00
Bryan Thornbury
7e5aba73e6
Merge pull request #94 from brthor/package_build
...
Package build
2015-10-22 10:55:49 -07:00
glennc
31facfac6e
Change blob storage account and layout
2015-10-22 10:38:58 -07:00
Bryan Thornbury
ba82768ba7
More cleaning up, consistency
2015-10-22 10:23:47 -07:00
Bryan Thornbury
6f877ab516
clean things up
2015-10-22 10:20:42 -07:00
Bryan Thornbury
2f8a99e26d
windows docker build, package tests
2015-10-22 10:13:05 -07:00
Bryan Thornbury
94f04350f2
merge with masters changes
2015-10-21 23:46:41 -07:00
Bryan Thornbury
2074d1bbf5
build and fetch results
2015-10-21 23:41:38 -07:00
Sridhar Periyasamy
b6761894cc
Merge pull request #86 from Sridhar-MS/xplat-ci
...
Xplat CI for CLI repo
2015-10-21 14:06:16 -07:00
glennc
7339dbd5bf
Force package versions down temporarily while we move to dotnet.
2015-10-21 14:02:47 -07:00
Sridhar Periyasamy
8b4df2d31f
Address PR feedback
2015-10-21 13:47:53 -07:00
Bryan Thornbury
96a45fb44f
Merge remote-tracking branch 'upstream/master' into package_build
2015-10-21 13:43:14 -07:00
Bryan Thornbury
35f7be7495
merge package with master, refactor package.sh to package-dnvm.sh,add package-debian.sh
2015-10-21 13:01:36 -07:00
Bryan Thornbury
a4e2f9ffdb
create base package script and package-debian script
2015-10-21 12:46:24 -07:00
Bryan Thornbury
a9bc19f591
Merge pull request #78 from brthor/package_publish
...
Package publishing scripts
2015-10-21 12:14:37 -07:00
Bryan Thornbury
498742e3d3
Remove storage sas from uploaded deb url, move things to scripts dir
2015-10-21 12:13:04 -07:00
Sridhar Periyasamy
21351d1e51
Merge branch 'xplat-ci' of https://github.com/sridhar-ms/cli into xplat-ci
2015-10-21 12:09:50 -07:00
Sridhar Periyasamy
769ed7e5ca
Add ci build script for unix
2015-10-21 12:07:54 -07:00
Sridhar Periyasamy
b2c3ef484f
Fix windows ci build script to exit with the correct exit code.
2015-10-21 12:05:39 -07:00
Sridhar Periyasamy
6349a19846
Add xplat CI support
2015-10-21 11:24:23 -07:00
Andrew Stanton-Nurse
ca4d160fc3
implement bootstrapping without DNX
...
* fix up dnvm2 port
* produce packages ready for CI to publish
* remove dependency on DNX for stage0 (still needed for restore)
2015-10-20 17:36:25 -07:00
Sridhar Periyasamy
37b78b2918
Add the self-hosting build script for linux
...
- build.sh will not install dotnet using apt-get from a feed. The installed dotnet is used to build teh cli repo and to produce teh dotnet deb package
- Download the dnx dependency for dotnet restore
- Fix dotnet-restore script file permission issues
2015-10-20 10:46:28 -07:00
Bryan
7c8a98d53e
remove wrapper scripts, fix symlinks appropriately, add dotnet-restore script
2015-10-19 17:31:31 -07:00
David Fowler
e2c1973dca
Further fix the bootstrapping on *nix
2015-10-19 00:10:55 -07:00
David Fowler
77d97f66f3
Fixed the *nix build
2015-10-18 23:35:43 -07:00
David Fowler
aaecae7824
Make build.cmd and build.sh work
2015-10-18 23:29:51 -07:00
David Fowler
fc64db1f73
Support resx file embedding
...
- Added resgen tool and takes .resx and makes .resources
- Write .resources and .rsp to obj folder
2015-10-18 21:07:48 -07:00
David Fowler
6ba4781c4f
Made changes to compilation and other things
...
- Added basic support for embedded resources (resx files are next!)
- Print out exit code from executed command (makes debugging easier)
- Fixed dnvm2.cmd to avoid putting things on the user path
- Fixed up propagation of exit codes
2015-10-18 19:02:09 -07:00
David Fowler
ba743b1ae6
Small tweaks to fix mono bootstrapping
2015-10-18 07:32:42 -07:00
David Fowler
5e21276cd9
Bootstrapping on OSX and Linux require mono (mcs specifically)
...
First pass requires mcs but it works
2015-10-18 04:02:58 -07:00
David Fowler
d5d3fd086c
Fixed bootstrapping on osx/linux
...
- This won’t fully work since we need to download a precanned build
from somewhere.
2015-10-18 03:12:05 -07:00
David Fowler
cce7949a5a
Changes to dotnet-compile
...
- Split dotnet-compile into dotnet-compile and
dotnet-compile-{compiler}
- We still need to figure out the protocol and responsibility
but this change adds the needed indirection so that compilers can do
their thing.
- Updated the bootstrap script and kept the commands since we need
them to bootstrap the world until we get updates.
#52
2015-10-18 01:17:13 -07:00
David Fowler
cf5dcc724f
Remove native compiltion to increase speed of build
2015-10-17 01:20:45 -07:00
Andrew Stanton-Nurse
25d9b419bc
fix stuff fowler broke ;)
2015-10-16 16:55:47 -07:00
David Fowler
a75ea50b61
Bootstrapping works!
2015-10-16 16:25:54 -07:00
Andrew Stanton-Nurse
a5a0441a84
ubuntu packaging
2015-10-16 15:57:59 -07:00
Andrew Stanton-Nurse
1a01bfb931
add mac build
2015-10-16 15:45:19 -07:00
Andrew Stanton-Nurse
1a9a5acb41
check in CoreConsole until there's a working build
2015-10-16 15:45:17 -07:00
David Fowler
2fa96c3f94
Added dnvm2 to bootstrap dotnet sdk
2015-10-16 15:41:41 -07:00
David Fowler
dade339a33
Remove csc work around on second pass
2015-10-16 04:47:52 -07:00
David Fowler
64f539e100
Fixed a few issues around bootstrapping
...
- Work aronud coreconsole issue in the bootstrap.cmd
- Use msbuild 14 roslyn csc until we have it
- Remove quoting args when building project refs, it wasn't working
- Fixed logic that launched exe's directly
2015-10-16 04:21:40 -07:00
Andrew Stanton-Nurse
40eba07f28
add some bootstrap scripting
2015-10-15 12:18:45 -07:00
Andrew Stanton-Nurse
cdd7248a8d
cleaning up bootstrap story
2015-10-15 09:41:31 -07:00
Andrew Stanton-Nurse
9da2475e2f
port DNX's ApplicationHostContext as ProjectContext
2015-10-14 15:37:39 -07:00
anurse
43873a37b5
merge my spike on compile/publish/run and switch from PS1 to C#
2015-10-06 10:46:43 -07:00
David Fowler
550dd7f062
Some small tweaks to make development easier
...
- Added scripts directory to path when using dotnet tool
- Added dotnet-compile and dotnet-restore
2015-10-06 03:10:26 -07:00
David Fowler
0ce00feacc
Made the .sh executable
2015-10-06 02:34:40 -07:00
David Fowler
92f20068e7
Execute the known commands
...
- Added dotnet.sh and dotnet.cmd for testing
- Still uses dnx and dnu for bootstrapping
2015-10-06 02:19:27 -07:00