8 lines
319 B
Bash
Executable file
8 lines
319 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/../views/licences.html"
|
|
PROJECT_URL="git.readonly.ch/bouzoure/pop-camarades"
|
|
|
|
go-licenses report "$PROJECT_URL" --template "$TPL_LOCATION" > "$STATIC_LOCATION"
|