Commit graph

41 commits

Author SHA1 Message Date
Alex Barney
48e7651291 Target .NET 8 2023-12-08 23:30:46 -07:00
Alex Barney
316a9302c9 Build: Fix some branch names not properly creating a PR version string 2023-10-11 09:27:26 -07:00
Alex Barney
e7b642380c Update build and test dependencies 2023-10-11 09:27:26 -07:00
Alex Barney
ffc9a76fc6 Get the project to compile after updating to .NET 7 2022-11-23 14:49:59 -07:00
Alex Barney
766e0d6461 Update .NET SDK. Use last commit timestamp for output files 2022-11-12 16:11:40 -07:00
Alex Barney
b80ec8d5a6 Update build dependencies 2022-04-01 19:57:16 -07:00
Alex Barney
8011a39837 Make sure tests run for PR builds 2022-02-19 20:07:10 -07:00
Alex Barney
06806517da Build: Continue the build when skipping the Sign task 2022-01-09 18:14:29 -07:00
Alex Barney
3e17692a25 Update version to v0.15.0 and .NET 6.0 2021-12-18 17:53:51 -07:00
Alex Barney
fc1e098118 Update NUKE version and build script dependencies 2021-12-18 17:53:51 -07:00
Alex Barney
d816d412b6 Update GitVersion.Tool 2021-11-14 18:36:53 -07:00
Alex Barney
34dda02c38 Use file-scoped namespaces 2021-11-14 18:36:53 -07:00
Alex Barney
a5d41f5b1f Update build scripts and build dependencies 2021-03-19 16:57:11 -07:00
Alex Barney
6b8b1515c2 Compress result name data 2021-01-19 21:30:02 -07:00
Alex Barney
e82d3e039b Update build and test packages 2020-11-17 22:41:54 -06:00
Alex Barney
25f8115600 Move to .NET 5.0 2020-11-17 22:41:54 -06:00
Alex Barney
bac541947f Embed key sources in the library
Embedded keys are generated at build-time from the IncludedKeys.txt file under the build directory.

A separate codegen build project was created because generating the embedded keys requires the same LibHac that is being built.

_buildCodeGen.csproj is located under CodeGen because NUKE doesn't like having two build projects in the same directory.
2020-10-06 22:18:34 -07:00
Alex Barney
2242fc6371 Miscellaneous code style cleanup 2020-08-18 21:47:46 -07:00
Alex Barney
a005b40022 Build updates
Use the version in the .csproj if there is no local git repository.
Always use Windows line endings in codegen output.
Update build dependency versions. We're still using GitVersion 5.1.3 because of https://github.com/nuke-build/nuke/issues/509.
2020-08-15 23:34:48 -07:00
Alex Barney
88983d39e5 Remove use of code that involves reflection
This allows over 40% of the CoreRT native binary size to be removed by removing reflection capabilities.

The "--noreflection" option for the build script can be used to build hactoolnet with no reflection.

The Linux build won't always work because creating a new thread for the progress bar runs into some issue with EventSource being removed.
2020-06-27 16:28:32 -07:00
Alex Barney
3de2a4b90b Update MyGet package publishing 2020-06-04 11:17:30 -07:00
Alex Barney
7ce9ea09e6 Misc build updates 2020-02-29 01:36:23 -07:00
Alex Barney
5345d2747e Generate Results from a .csv file 2020-02-24 14:45:51 -07:00
Alex Barney
857bde67ee Simplify CoreRT build 2020-01-17 00:20:24 -07:00
Alex Barney
e8bef8af6a
Update SourceLink package/info and target .NET Core 3.1 with hactoolnet (#106)
Make hactoolnet target the LTS .NET Core version.
LibHac still targets .NET Core 3.0.
2019-12-30 23:05:29 -07:00
Alex Barney
5e4ea459cb Update var usage based on ReSharper "when apparent" rules 2019-12-28 15:16:21 -07:00
Alex Barney
57586d75fd
Target netstandard2.1 and netcoreapp3.0 (#99)
.NET Core 2.1 introduced some runtime changes to support Span<T> and ByReference. Along with this comes the ability to do things like reinterpret memory as a different type. In .NET Framework the garbage collector couldn't track these references. These features proved useful enough that support for .NET Framework was dropped.

* Target netstandard2.1 and netcoreapp3.0
* Build: Zip native builds. Put version in zip filename
* Always build native exe on AppVeyor
2019-11-29 13:11:04 -06:00
Alex Barney
f304f664f4 Build for the current OS when doing a CoreRT build 2019-11-27 20:03:47 -06:00
Alex Barney
be907ce4bb
Target .NET Core 3.0 (#85)
* Target .NET Core 3.0

* Update build and test project packages

* Update AppVeyor build image
2019-10-14 21:10:53 -05:00
Alex Barney
9d813ade18
Use .NET Framework reference assemblies from NuGet (#77)
* Use .NET Framework reference assemblies from NuGet

* Update build packages. Specify --no-build when publishing

* Don't sign on Linux
2019-08-09 20:29:06 -05:00
Alex Barney
7b8c3f0b4f
Add .NET Standard 2.0 target (#73)
* Add .NET Standard 2.0 target

* Update dependencies
2019-07-15 14:10:48 -05:00
Alex Barney
b361567977
Add CoreRT build option (#63) 2019-06-06 17:15:43 -05:00
Alex Barney
a7391afa9c Fix build parameter variables 2019-05-30 21:00:22 -05:00
Alex Barney
5a4b56efad Update build dependencies 2019-05-30 20:21:58 -05:00
Alex Barney
22416f66bf Modify build script naming convention 2019-04-19 16:13:07 -04:00
Alex Barney
093d88a58e Don't set PathMap on standard builds 2019-03-15 12:27:43 -05:00
Alex Barney
5ec829915d Tweak AppVeyor build version 2019-02-16 20:50:41 -06:00
Alex Barney
199dbf7543 Tweak pre-release package version 2019-02-16 20:34:01 -06:00
Alex Barney
b68261a092
Build script updates (#33)
- Make generated NuGet packages deterministic.
- Add a signing option to the build script.
- Set versions for pre-release builds.
- Publish packages to a MyGet feed.
- Make Windows-produced artifacts match Linux-produced ones
2019-02-16 19:03:56 -06:00
Alex Barney
71c4e6746b Begin implementing IFileSystem 2019-01-17 22:38:28 -06:00
Alex Barney
bb14125542
Add build script (#20) 2018-11-21 22:57:18 -05:00