* Build Script overhaul * Remove stray deps.edn * Include :ci profile for build and release tests * Fix release script * Update markdown dox * Update another dox * Tweakz * Don't pin new version of data.xml to core project, just for build scripts * Ignore unrecognized options * Fix i18n/enumerate
23 lines
469 B
Bash
Executable File
23 lines
469 B
Bash
Executable File
#! /usr/bin/env bash
|
|
|
|
set -eo pipefail
|
|
|
|
driver="$1"
|
|
|
|
if [ ! "$driver" ]; then
|
|
echo "Usage: ./bin/build-driver.sh <driver> [:edition edition]"
|
|
exit -1
|
|
fi
|
|
|
|
# switch to project root directory if we're not already there
|
|
script_directory=`dirname "${BASH_SOURCE[0]}"`
|
|
cd "$script_directory/.."
|
|
|
|
source "./bin/check-clojure-cli.sh"
|
|
check_clojure_cli
|
|
|
|
source "./bin/clear-outdated-cpcaches.sh"
|
|
clear_outdated_cpcaches
|
|
|
|
clojure -X:build:drivers:build/driver :driver $@
|