12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- var bt = require('./BuildTools/buildTools.js')
- bt.options.companyName = "Topten Software";
- bt.options.codeSignCertificate = "C:\\Users\\brad\\dropbox\\topten\\ToptenCodeSigningCertificate.pfx";
- bt.options.codeSignPasswordFile = "C:\\Users\\brad\\dropbox\\topten\\codesign_password.txt";
- bt.symStorePath = "\\\\cool\\public\\ToptenSymbols";
- bt.version();
- if (bt.options.official)
- {
-
- bt.git_check();
-
- bt.clock_version();
-
- bt.dntest("Release", "Topten.JsonKit.Test");
-
- bt.options.clean = true;
- bt.clean("./Build");
- }
- bt.dnbuild("Release", "Topten.JsonKit");
- if (bt.options.official || bt.options.nuget)
- {
- bt.signfile([
- "Build\\Release\\Topten.JsonKit\\netcoreapp2.0\\Topten.JsonKit.dll",
- "Build\\Release\\Topten.JsonKit\\net46\\Topten.JsonKit.dll",
- ], "JsonKit JSON Serialization Library");
- bt.nupack("Topten.JsonKit.nuspec", "./Build");
- }
- if (bt.options.official)
- {
-
- bt.git_tag();
-
- bt.nupush(`./build/*.${bt.options.version.build}.nupkg`, "http://nuget.toptensoftware.com/v3/index.json");
- }
|