Skip to content

Commit

Permalink
Update amalgamate.sh/.bat scripts
Browse files Browse the repository at this point in the history
After this change, these scripts will copy url_for_*.h files to the
single_include/upa directory because they can be used with amalgamated
url.h
  • Loading branch information
rmisev committed Oct 18, 2024
1 parent bce6e34 commit cccf033
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/amalgamate.bat
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ cd %p%..
REM Amalgamate
python tools/amalgamate/amalgamate.py -c tools/amalgamate/config-cpp.json -s . -p tools/amalgamate/config-cpp.prologue --no-duplicates
python tools/amalgamate/amalgamate.py -c tools/amalgamate/config-h.json -s .

REM Copy url_for_*.h files
copy /y include\upa\url_for_*.h single_include\upa
3 changes: 3 additions & 0 deletions tools/amalgamate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ cd $p/..
# Amalgamate
python3 tools/amalgamate/amalgamate.py -c tools/amalgamate/config-cpp.json -s . -p tools/amalgamate/config-cpp.prologue --no-duplicates
python3 tools/amalgamate/amalgamate.py -c tools/amalgamate/config-h.json -s .

# Copy url_for_*.h files
cp -p include/upa/url_for_*.h single_include/upa

0 comments on commit cccf033

Please sign in to comment.