diff options
Diffstat (limited to 'GUI/Libraries')
| -rw-r--r-- | GUI/Libraries/.gitignore | 1 | ||||
| -rw-r--r-- | GUI/Libraries/fetch.ps1 | 18 |
2 files changed, 18 insertions, 1 deletions
diff --git a/GUI/Libraries/.gitignore b/GUI/Libraries/.gitignore index 214bffb..fb46029 100644 --- a/GUI/Libraries/.gitignore +++ b/GUI/Libraries/.gitignore @@ -1,3 +1,4 @@ # Don't check in anything we fetch wx +rapidyaml diff --git a/GUI/Libraries/fetch.ps1 b/GUI/Libraries/fetch.ps1 index 5f8d63e..78bf0d5 100644 --- a/GUI/Libraries/fetch.ps1 +++ b/GUI/Libraries/fetch.ps1 @@ -6,6 +6,7 @@ $WX_FILE = $(Split-Path -Path $WX_URL -Leaf) pushd $PSScriptRoot +# WX if (Test-Path wx) { rm -Recurse wx } @@ -16,5 +17,20 @@ Invoke-WebRequest $WX_URL -OutFile $WX_FILE Expand-Archive $WX_FILE -DestinationPath . popd > $null -popd > $null +# RAPIDYAML +if (Test-Path rapidyaml) { + rm -Recurse rapidyaml +} + +git clone https://github.com/biojppm/rapidyaml +pushd rapidyaml > $null +git checkout v0.5.0 +git submodule update --init --recursive + +python3 tools/amalgamate.py ryml.h +cp ryml.h ../../GUI/GUI/ryml.h + +popd > $null # rapidyaml + +popd > $null # $PSScriptRoot |
