Skip to content

Instantly share code, notes, and snippets.

@wieslawsoltes
Last active December 9, 2018 11:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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