mirror of
https://github.com/Ed94/gencpp.git
synced 2025-08-03 10:52:43 -07:00
Simpilication of build script, added initial support for tests
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
cls
|
||||
Invoke-Expression "& $(Join-Path $PSScriptRoot 'bootstrap.ci.ps1')"
|
||||
Invoke-Expression "& $(Join-Path $PSScriptRoot 'singleheader.ci.ps1')"
|
||||
|
||||
$build = Join-Path $PSScriptRoot 'build.ci.ps1'
|
||||
|
||||
if ( $IsWindows ) {
|
||||
& $build release msvc bootstrap singleheader
|
||||
}
|
||||
else {
|
||||
& $build release clang bootstrap singleheader
|
||||
}
|
||||
|
||||
$path_root = git rev-parse --show-toplevel
|
||||
$path_docs = Join-Path $path_root docs
|
||||
@@ -24,10 +31,10 @@ $readme_root = Join-Path $path_root Readme.md
|
||||
$readme_docs = Join-Path $path_docs Readme.md
|
||||
$readme_parsing = Join-Path $path_docs Parsing.md
|
||||
|
||||
Copy-Item $license -Destination $(Join-Path $path_release_content "LICENSE")
|
||||
Copy-Item $readme_root -Destination $(Join-Path $path_release_content "Readme.md")
|
||||
Copy-Item $readme_docs -Destination $(Join-Path $path_release_content "Readme_Docs.md")
|
||||
Copy-Item $readme_parsing -Destination $(Join-Path $path_release_content "Parsing.md")
|
||||
Copy-Item $license -Destination (Join-Path $path_release_content "LICENSE")
|
||||
Copy-Item $readme_root -Destination (Join-Path $path_release_content "Readme.md")
|
||||
Copy-Item $readme_docs -Destination (Join-Path $path_release_content "Readme_Docs.md")
|
||||
Copy-Item $readme_parsing -Destination (Join-Path $path_release_content "Parsing.md")
|
||||
|
||||
# Singleheader
|
||||
Copy-Item -Path $path_singleheader_gen\gen.hpp -Destination $path_release_content\gen.hpp
|
||||
|
Reference in New Issue
Block a user