Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bertk/arcade-light-sample
sample project using arcade-light
https://github.com/bertk/arcade-light-sample
dotnet sample-code
Last synced: about 2 months ago
JSON representation
sample project using arcade-light
- Host: GitHub
- URL: https://github.com/bertk/arcade-light-sample
- Owner: Bertk
- License: mit
- Created: 2022-01-02T14:13:51.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T09:35:48.000Z (2 months ago)
- Last Synced: 2024-10-29T11:45:11.296Z (2 months ago)
- Topics: dotnet, sample-code
- Language: C#
- Homepage:
- Size: 410 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.TXT
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# arcade-light demo project
Arcade-light is inspired from [dotnet/arcade](https://github.com/dotnet/arcade) but minimized and without Microsoft proprietary tooling## How to use [DotNetDev.ArcadeLight.Sdk](https://github.com/Bertk/arcade-light/tree/main/src/DotNetDev.ArcadeLight.Sdk)
### Configuration
#### 1) add global.json
```json
{
"sdk": {
"version": "8.0.403",
"rollForward": "latestFeature"
},
"tools": {
"dotnet": "8.0.403"
},
"msbuild-sdks": {
"DotNetDev.ArcadeLight.Sdk": "1.7.5"
}
}
```#### 2) Add lines in Directory.Build.props
```xml
true
...
<\Project>
```#### 3) Add line in Directory.build.targets
```xml
...
<\Project>
```#### 4) Add lines in Directory.Packages.props
```xml
true
...
<\Project>
```#### 5) Copy `eng\commonlight` from Arcade-light into repo.
#### 6) Edit `eng\common-variables.yml` and update variable `_SolutionFile` value
#### 7) Add the Versions.props file to your eng\ folder
#### 8) copy `version.json` to repository root folder
#### 9) optionally copy the scripts for `restore`, `build` and `test` to repository root folder
### Use ArcadeLight with command shell or Visual Studio
```shell
restore
build
test
```## build script help: `build -h`
```text
Common settings:
-configuration Build configuration: 'Debug' or 'Release' (short: -c)
-platform Platform configuration: 'x86', 'x64' or any valid Platform value to pass to msbuild
-verbosity Msbuild verbosity: q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic] (short: -v)
-binaryLog Output binary log (short: -bl)
-help Print help and exitActions:
-restore Restore dependencies (short: -r)
-build Build solution (short: -b)
-rebuild Rebuild solution
-test Run all unit tests in the solution (short: -t)
-clean Clean the solutionAdvanced settings:
-projects Semi-colon delimited list of sln/proj's to build. Globbing is supported (*.sln)
-ci Set when running on CI server
-excludeCIBinarylog Don't output binary log (short: -nobl)
-prepareMachine Prepare machine for CI run, clean up processes after build
-msbuildEngine Msbuild engine to use to run build ('dotnet', 'vs', or unspecified).
-excludePrereleaseVS Set to exclude build engines in prerelease versions of Visual StudioCommand line arguments not listed above are passed thru to msbuild.
The above arguments can be shortened as much as to be unambiguous (e.g. -co for configuration, -t for test, etc.).
```