12345678910111213141516171819202122232425262728293031 |
- var bt = require('./buildtools/buildTools.js')
- if (bt.options.official)
- {
-
- bt.git_check();
-
- bt.clock_version();
-
- bt.run("rm -rf ./Build");
- }
- bt.run("dotnet build Topten.JsonKit\\Topten.JsonKit.csproj -c Release")
- bt.run("dotnet build Topten.JsonKit\\Topten.JsonKit.Lite.csproj -c Release")
- if (bt.options.official)
- {
-
- bt.run("dotnet test Topten.JsonKit.Test -c Release");
-
- bt.git_tag();
-
- bt.run(`dotnet nuget push`,
- `./Build/Release/*.${bt.options.version.build}.nupkg`,
- `--source nuget.org`);
- }
|