pop-camarades/licences/fetch_licences.sh

8 lines
320 B
Bash
Executable file

#!/bin/bash
SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &> /dev/null && pwd)
TPL_LOCATION="$SCRIPT_DIR/template.html"
STATIC_LOCATION="$SCRIPT_DIR/../static/licences.html"
PROJECT_URL="git.readonly.ch/bouzoure/pop-camarades"
go-licenses report "$PROJECT_URL" --template "$TPL_LOCATION" > "$STATIC_LOCATION"