Commit graph

1256 commits

Author SHA1 Message Date
David Fowler
c1e2d152e3 Remove mono bootstrapping logic 2015-10-21 01:18:14 -07:00
David Fowler
7191080caf Add a newline to the bash script for exec 2015-10-21 00:35:28 -07:00
David Fowler
62e586549d Clean up diagnostics output from compile
- Show a build summary
- Parse the msbuild format (the one that most compilers output) into a diagnostic message and then print that.
- Fixed formatting of LibraryRange in dependency diagnostics
2015-10-21 00:26:57 -07:00
David Fowler
18fbd3efe7 Remove corpnet feed 2015-10-20 22:20:56 -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
Bryan
e7b3c2bbef Package publishing scripts 2015-10-20 16:21:03 -07:00
David Fowler
3a26e88deb Fixed to colors 2015-10-20 15:36:59 -07:00
Andy Gocke
d97d307cdf Merge pull request #75 from agocke/DowngradeRuntime
Downgrade the runtime to -23413
2015-10-20 14:14:24 -07:00
Sridhar Periyasamy
8da8bf6090 Install package building dependencies 2015-10-20 12:02:55 -07:00
Andy Gocke
1968207cbe Downgrade the runtime to -23413
It appears the compiler is crashing with an ExecutionEngineException
while trying to load the resource satellite assembly on -23419. Until
this is fixed we should downgrade to -23413.
2015-10-20 11:40:08 -07:00
Bryan Thornbury
ca69cd0e2c add libssl-dev dep 2015-10-20 11:18:03 -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
Sridhar Periyasamy
e95acaa27d Merge branch 'master' of https://github.com/dotnet/cli into package_build 2015-10-20 10:43:39 -07:00
David Fowler
6da43b205d Support publishing to .NET Framework
- Pick .exe or .dll based on emit entry point (true)
- Skip post publish fix up if the target application targets .NET Framework
2015-10-20 04:35:40 -07:00
David Fowler
d42b38d8ff Small fixes
- Change color of executing command
- Fix overwrite in publish
2015-10-20 03:07:21 -07:00
David Fowler
063eb45f8b Moved the reporter to shared code 2015-10-20 02:42:29 -07:00
David Fowler
086207ebcc Fix up diagnostics
- Show all diagnostics and the relevant location in project.json
even for transitive dependencies
- Removed LibraryRange from LibraryDescription and added a list instead
- Show stack traces in debug mode
- Fixed LibraryType.GetHashCode()
2015-10-20 01:44:00 -07:00
Damian Edwards
89d3d710de Fix typo in README.md 2015-10-19 21:38:27 -07:00
Bryan
7c8a98d53e remove wrapper scripts, fix symlinks appropriately, add dotnet-restore script 2015-10-19 17:31:31 -07:00
Bryan
dc57fdf29a use corerun in wrapper 2015-10-19 14:57:34 -07:00
Bryan
79a89f8b8b Initial build scripts with empty functions for building the repo 2015-10-19 14:18:22 -07:00
John Luo
0606e26221 Adding content copying to publish #51 2015-10-19 14:08:52 -07:00
David Fowler
1056577f02 Update README.md 2015-10-19 01:47:45 -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
f24aeae6b2 Removed unused variables 2015-10-18 21:34:16 -07:00
David Fowler
0c5464fa8c Added time for command execution 2015-10-18 21:24:26 -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
dc46d3e23e Invert boolean logic for project refs building 2015-10-18 07:41:59 -07:00
David Fowler
ba743b1ae6 Small tweaks to fix mono bootstrapping 2015-10-18 07:32:42 -07:00
David Fowler
c45ff35aed Successful build on OS X and linux
- Mono 4.3 was required to work with certain compilation options on the
first pass but this is temporary.
- Support outputting portable pdbs when not running on windows by
default
2015-10-18 07:10:22 -07:00
David Fowler
7f59f00317 Closer to xplat build working
- Use newer nuget feed
- Lift versions to get new implementations
- Removed more dead code
2015-10-18 06:53:47 -07:00
David Fowler
2df6ec04ab Marked unresolved deps as compatible but unresolved 2015-10-18 04:35:49 -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
3495781233 Catch exceptions and print the message from compile and publish 2015-10-18 02:06:15 -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
586dbde67f Removed the commands from the project.json files 2015-10-18 00:50:37 -07:00
David Fowler
ee0d2519e6 Changes to publish
- Added ability to rename a project using the name
entry in project.json. Renaming files doesn't work well when debugging
the pdb can't be loaded.
- Removed the logic that looks at commands on publish. The only
thing that matters is the assembly name.
2015-10-18 00:35:56 -07:00
David Fowler
6bb95c4857 Stop over building
- Added a flag --no-project-dependencies to dotnet-compile to avoid building project
dependencies.
- Made small tweak to LibraryExporter to check for instances rather than names

#63
2015-10-17 23:43:28 -07:00
David Fowler
68d591124e Move TryGetProject into ProjectReader 2015-10-17 22:42:50 -07:00
David Fowler
8d9e66889e Fixed lock file version comparison 2015-10-17 17:10:18 -07:00
David Fowler
9bdf7ca185 Remove fast path for framework assemblies
- DNX had this code before to avoid hitting the disk on startup.
This isn't a big deal if we're just producing outputs. Hopefully
the future we can delete all of this code and have everything come
from packages.
2015-10-17 15:29:10 -07:00
David Fowler
6343d282e9 Shuffling classes around 2015-10-17 08:55:06 -07:00
David Fowler
fa3cf52f10 Move CompilerOptions onto TargetFrameworkInformation 2015-10-17 08:36:22 -07:00
David Fowler
b2ebe529bd Remove IsLoadable from Project 2015-10-17 08:05:35 -07:00
David Fowler
fe3a9d1332 Fixed formatting 2015-10-17 07:50:02 -07:00
David Fowler
f2fdba5887 Removed more code 2015-10-17 07:35:07 -07:00