-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new build via vssbe native scripting + updated description in Readme
- Loading branch information
Showing
13 changed files
with
182 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
{ | ||
"Header": { | ||
"_": [ | ||
" This requires vsSolutionBuildEvent engine.", | ||
" Free plugin for Visual Studio or MSBuild Tools:", | ||
" * https://github.com/3F/vsSolutionBuildEvent", | ||
" * https://visualstudiogallery.msdn.microsoft.com/0d1dbfd7-ed8a-40af-ae39-281bfeca2334/", | ||
" Feedback: github.com/3F or [email protected]" | ||
], | ||
"Compatibility": "0.9" | ||
}, | ||
"PreBuild": [ | ||
{ | ||
"Enabled": true, | ||
"Name": "ActDir", | ||
"Caption": "Prepare output directory", | ||
"SupportMSBuild": true, | ||
"SupportSBEScripts": true, | ||
"IgnoreIfBuildFailed": false, | ||
"BuildType": "Common", | ||
"Confirmation": false, | ||
"Mode": { | ||
"$type": "net.r_eg.vsSBE.Events.ModeScript, vsSolutionBuildEvent", | ||
"Type": "Script", | ||
"Command__": [ | ||
"#[$(dbin = \"bin/Release/\")]", | ||
"", | ||
"$(odir = \"$(dbin)raw/\")", | ||
"", | ||
"#[IO delete.directory(\"$(dbin)\", true)]", | ||
"#[IO copy.directory(\"\", \"$(dbin)\", true)]" | ||
] | ||
} | ||
}, | ||
{ | ||
"Enabled": true, | ||
"Name": "ActBuild", | ||
"Caption": "Building", | ||
"SupportMSBuild": true, | ||
"SupportSBEScripts": true, | ||
"BuildType": "Common", | ||
"Mode": { | ||
"$type": "net.r_eg.vsSBE.Events.ModeScript, vsSolutionBuildEvent", | ||
"Type": "Script", | ||
"Command__": [ | ||
"#[File scall(\"packing.bat\", \"\", 400)]" | ||
] | ||
} | ||
} | ||
], | ||
"PostBuild": [ | ||
{ | ||
"Enabled": true, | ||
"Name": "ActBin", | ||
"Caption": "Binaries & tools ...", | ||
"SupportMSBuild": true, | ||
"SupportSBEScripts": true, | ||
"IgnoreIfBuildFailed": true, | ||
"BuildType": "Common", | ||
"Mode": { | ||
"$type": "net.r_eg.vsSBE.Events.ModeScript, vsSolutionBuildEvent", | ||
"Type": "Script", | ||
"Command__": [ | ||
"#[IO copy.file(\"gnt.core\", \"$(odir)core/gnt.core\", true)]", | ||
"#[IO copy.file(\"minified/gnt.core\", \"$(odir)core-minified/gnt.core\", true)]", | ||
"#[IO copy.file(\"embedded/gnt.bat\", \"$(odir)versions/01. executable/gnt.bat\", true)]", | ||
"", | ||
"#[IO copy.file({", | ||
" \"minified/gnt.core\", ", | ||
" \"caller/gnt.bat\"", | ||
" }, ", | ||
" \"$(odir)versions/02. caller/\", true)]", | ||
"", | ||
"#[IO copy.file({ \"README.md\", \"changelog.txt\" }, \"$(odir)doc/\", true)]", | ||
" ", | ||
"#[IO copy.file({", | ||
" \"msbuild.bat\",", | ||
" \"LICENSE\"", | ||
" },", | ||
" \"$(odir)\", true)]" | ||
] | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
All final binaries will be here... | ||
|
||
`> build` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@echo off | ||
|
||
set msbuild=msbuild.bat | ||
|
||
|
||
call %msbuild% gnt.core /p:ngconfig="packages.config" /nologo /v:m /m:4 | ||
call "packages\vsSBE.CI.MSBuild\bin\CI.MSBuild" "gnt.sln" /v:m /m:4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
@echo off | ||
|
||
msbuild compact/.compressor /p:core="../gnt.core" /p:output="gnt.core" /nologo /v:m /m:4 | ||
msbuild minified/.compressor /p:core="../gnt.core" /p:output="gnt.core" /nologo /v:m /m:4 |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 11.00 | ||
|
||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".gnt", ".gnt", "{D221D332-2A57-44F9-B866-F7C00C29032D}" | ||
ProjectSection(SolutionItems) = preProject | ||
gnt.core = gnt.core | ||
EndProjectSection | ||
EndProject |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="vsSBE.CI.MSBuild" version="1.6.12010" output="vsSBE.CI.MSBuild" /> | ||
</packages> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
@echo off | ||
|
||
compress & msbuild wrapper/.packer /p:core="../compact/gnt.core" /p:output="gnt.bat" /nologo /v:m /m:4 | ||
compress & msbuild embedded/.packer /p:core="../minified/gnt.core" /p:output="gnt.bat" /nologo /v:m /m:4 |