Skip to content

Instantly share code, notes, and snippets.

@wieslawsoltes
Last active May 12, 2024 19:32
Show Gist options
  • Save wieslawsoltes/20d748194cc3e977b5a8958d9c85e7dd to your computer and use it in GitHub Desktop.
Save wieslawsoltes/20d748194cc3e977b5a8958d9c85e7dd to your computer and use it in GitHub Desktop.
Download files:
mkdir build/build
wget https://raw.githubusercontent.com/wieslawsoltes/ThemeEditor/master/build/build/Build.cs -O ./build/build/Build.cs
wget https://raw.githubusercontent.com/wieslawsoltes/ThemeEditor/master/build/build/_build.csproj -O ./build/build/_build.csproj
wget https://raw.githubusercontent.com/wieslawsoltes/ThemeEditor/master/.nuke
wget https://raw.githubusercontent.com/wieslawsoltes/ThemeEditor/master/build.ps1
wget https://raw.githubusercontent.com/wieslawsoltes/ThemeEditor/master/build.sh
wget https://raw.githubusercontent.com/wieslawsoltes/ThemeEditor/master/global.json
wget https://raw.githubusercontent.com/wieslawsoltes/ThemeEditor/master/build/Base.props -O ./build/Base.props
wget https://raw.githubusercontent.com/wieslawsoltes/ThemeEditor/master/build/EmbedXaml.props -O ./build/EmbedXaml.props
Modify csproj:
<LangVersion>latest</LangVersion>
<IsPackable>False</IsPackable>
<Import Project="..\..\build\Base.props" />
<PropertyGroup>
<Description>An Avalonia UI Framework theme editor application.</Description>
<PackageTags>avalonia;avaloniaui;themes;theme-editor;xaml;csharp</PackageTags>
</PropertyGroup>
Make executable:
git update-index --chmod=+x build.sh
git commit -am "Make executable"
Remove files:
./docs
./build/NETCore.props
./build/NetFX.props
Update version props:
- https://github.com/wieslawsoltes/ThemeEditor/blob/b80d1069c3b1ea3607294bc9170b452ba59d3679/build/Base.props#L3-L4
- https://github.com/wieslawsoltes/ThemeEditor/blob/b80d1069c3b1ea3607294bc9170b452ba59d3679/build/Base.props#L8
- https://github.com/wieslawsoltes/ThemeEditor/blob/b80d1069c3b1ea3607294bc9170b452ba59d3679/build/Base.props#L11-L13
Update solution:
- Add build/build/_build.csproj
- Add build.ps1
- Add build.sh
- Add .nuke
- Remove deleted props
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment