2018-10-02 23:24:28 -04:00
|
|
|
#!/bin/bash
|
|
|
|
# Bootstrap from source repository
|
|
|
|
#
|
2021-07-22 15:00:15 -04:00
|
|
|
# Copyright (C) 2014-2021 Ryan Specialty Group, LLC.
|
2018-10-02 23:24:28 -04:00
|
|
|
#
|
|
|
|
# This program is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
##
|
|
|
|
|
|
|
|
set -euo pipefail
|
|
|
|
|
|
|
|
export SAXON_CP="${SAXON_CP?Missing path to saxon9he.jar}"
|
|
|
|
export RATER_CLASSPATH="${RATER_CLASSPATH:-$SAXON_CP}"
|
|
|
|
export HOXSL="${HOXSL?Missing path to hoxsl}"
|
|
|
|
|
|
|
|
test "${1:-}" = -n || git submodule update --init --recursive
|
|
|
|
|
2019-11-15 10:35:09 -05:00
|
|
|
(
|
|
|
|
cd progtest \
|
|
|
|
&& { which npm && npm install || true; } \
|
|
|
|
&& ./autogen.sh && ./configure
|
|
|
|
) \
|
2021-12-02 11:34:56 -05:00
|
|
|
&& ( cd tamer && ./bootstrap ) \
|
2020-07-27 12:51:10 -04:00
|
|
|
&& { test -e hoxsl || test -L hoxsl || ln -s ../hoxsl; } \
|
2018-10-02 23:24:28 -04:00
|
|
|
&& autoreconf -fvi \
|
|
|
|
&& ./configure \
|
|
|
|
&& make all
|
|
|
|
|