Skip to content

Commit

Permalink
chore: added --full-install override to enable full install in mono r…
Browse files Browse the repository at this point in the history
…epos
  • Loading branch information
tricky42 committed Jan 3, 2025
1 parent 6a3e928 commit c1cd092
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions licenses/install
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
set -e

# Default mono-install to false
MONO_INSTALL=false
FULL_INSTALL=false

# Parse command line arguments
while [ "$#" -gt 0 ]; do
case "$1" in
--mono-install)
MONO_INSTALL=true
--full-install)
FULL_INSTALL=true
shift
;;
*)
Expand All @@ -35,7 +35,7 @@ chmod +x .bin/licenses
curl https://raw.githubusercontent.com/ory/ci/master/licenses/list-licenses -o .bin/list-licenses
chmod +x .bin/list-licenses

if [ "$MONO_INSTALL" = true ] || [ -f go.mod ]; then
if [ "$FULL_INSTALL" = true ] || [ -f go.mod ]; then
{
echo
echo "Installing the Go license checker ..."
Expand All @@ -45,7 +45,7 @@ if [ "$MONO_INSTALL" = true ] || [ -f go.mod ]; then
curl https://raw.githubusercontent.com/ory/ci/master/licenses/license-template-go.tpl -o .bin/license-template-go.tpl
fi

if [ "$MONO_INSTALL" = true ] || [ -f package.json ]; then
if [ "$FULL_INSTALL" = true ] || [ -f package.json ]; then
{
echo
echo "Installing the Node license checker ..."
Expand Down

0 comments on commit c1cd092

Please sign in to comment.