chore: cascade vendor initialization
This commit is contained in:
parent
52720f91c3
commit
c559d57e12
2 changed files with 9 additions and 114 deletions
12
configure.ac
12
configure.ac
|
|
@ -6,19 +6,15 @@ AC_CHECK_PROGS([REALPATH], [realpath])
|
|||
AC_CHECK_PROGS([GIT], [git])
|
||||
AC_CHECK_PROGS([PYTHON3], [python3])
|
||||
|
||||
AC_MSG_NOTICE([initializing Git submodules...])
|
||||
git submodule update --init --remote --recursive
|
||||
|
||||
# HTML theme reference dependency for dynamic building, alternatively this could
|
||||
# be removed and instead the HTML theme reference could be statically integrated
|
||||
# by storing the build package archive under vendor/ instead and untar the
|
||||
# archive into src/<whatever>.
|
||||
AC_MSG_NOTICE([checking for vendor build dependencies...])
|
||||
AC_CHECK_PROGS([NPM], [npm])
|
||||
AC_CHECK_PROGS([NODE], [node])
|
||||
|
||||
AC_MSG_NOTICE([initializing Git submodules...])
|
||||
git submodule update --init --remote --recursive
|
||||
|
||||
AC_MSG_NOTICE([initializing vendors...])
|
||||
sh -xc "cd vendor/html-theme-ref && npm install"
|
||||
sh -xc "cd vendor/html-theme-ref && sh ./configure"
|
||||
|
||||
AC_MSG_NOTICE([initializing python3 venv...])
|
||||
python3 -m venv .venv
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue