Add bazel

This commit is contained in:
Markus Fleschutz 2021-05-23 11:59:46 +02:00
parent 99858afd9f
commit 26c80f0145
2 changed files with 11 additions and 0 deletions

View File

@ -1,5 +1,6 @@
Directory,URL
"base256unicode", "https://github.com/fleschutz/base256unicode"
"bazel", "https://github.com/bazelbuild/bazel"
"cmake", "https://github.com/Kitware/CMake"
"cmatrix", "https://github.com/abishekvashok/cmatrix"
"cmark", "https://github.com/commonmark/cmark"

1 Directory URL
2 base256unicode https://github.com/fleschutz/base256unicode
3 bazel https://github.com/bazelbuild/bazel
4 cmake https://github.com/Kitware/CMake
5 cmatrix https://github.com/abishekvashok/cmatrix
6 cmark https://github.com/commonmark/cmark

View File

@ -72,6 +72,16 @@ function MakeDir { param($Path)
& make -j4
if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" }
} elseif (test-path "$Path/compile.sh") {
"⏳ Building 📂$DirName using 'compile.sh'..."
set-location "$Path/"
& ./compile.sh
if ($lastExitCode -ne "0") { throw "Script 'compile.sh' has failed" }
& make -j4
if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" }
} elseif (test-path "$Path/attower/src/build/DevBuild/build.bat") {
"⏳ Building 📂$DirName using build.bat ..."
set-location "$Path/attower/src/build/DevBuild/"