Skip to content

Commit

Permalink
Modify dependencies download scripts
Browse files Browse the repository at this point in the history
Scripts now create the necessary directories for downloaded files.
  • Loading branch information
rmisev committed Nov 5, 2023
1 parent 4c5c326 commit 2e8a865
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Empty file removed deps/doctest/.gitkeep
Empty file.
4 changes: 2 additions & 2 deletions deps/download-deps.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
REM the directory path of this file
set p=%~dp0

curl -fsS -o %p%\doctest\doctest.h https://raw.githubusercontent.com/doctest/doctest/v2.4.11/doctest/doctest.h
curl -fsS -o %p%\picojson\picojson.h https://raw.githubusercontent.com/kazuho/picojson/111c9be5188f7350c2eac9ddaedd8cca3d7bf394/picojson.h
curl -fsSO --create-dirs --output-dir %p%\doctest https://raw.githubusercontent.com/doctest/doctest/v2.4.11/doctest/doctest.h
curl -fsSO --create-dirs --output-dir %p%\picojson https://raw.githubusercontent.com/kazuho/picojson/111c9be5188f7350c2eac9ddaedd8cca3d7bf394/picojson.h
4 changes: 2 additions & 2 deletions deps/download-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
# https://stackoverflow.com/q/59895
p="$(dirname "$0")"

curl -fsS -o $p/doctest/doctest.h https://raw.githubusercontent.com/doctest/doctest/v2.4.11/doctest/doctest.h
curl -fsS -o $p/picojson/picojson.h https://raw.githubusercontent.com/kazuho/picojson/111c9be5188f7350c2eac9ddaedd8cca3d7bf394/picojson.h
curl -fsSO --create-dirs --output-dir $p/doctest https://raw.githubusercontent.com/doctest/doctest/v2.4.11/doctest/doctest.h
curl -fsSO --create-dirs --output-dir $p/picojson https://raw.githubusercontent.com/kazuho/picojson/111c9be5188f7350c2eac9ddaedd8cca3d7bf394/picojson.h
Empty file removed deps/picojson/.gitkeep
Empty file.

0 comments on commit 2e8a865

Please sign in to comment.