publiccode.si/site/build/build.sh

12 lines
216 B
Bash
Raw Normal View History

#!/bin/bash
basedir="${0%/*}/.."
sigdb="$1"
# Clean signatures database
"$basedir/build/clean_database.py" "$sigdb" "$basedir/data/signatures/data/signatures_clean.json"
# Execute hugo buildrun
cd "$basedir"
hugo