go.ketch.com/lib/goja@v0.0.1/scripts/build.sh (about)

     1  #!/usr/bin/env sh
     2  
     3  # Code generated by shipbuilder init 1.21.2. DO NOT EDIT.
     4  
     5  if [ ! -f "./scripts/check.sh" ]; then
     6    cd $(command dirname -- "$(command readlink -f "$(command -v -- "$0")")")/..
     7  fi
     8  
     9  if [ -f "./features/shipbuilder/.env" ]; then
    10    . ./features/shipbuilder/.env
    11  fi
    12  
    13  what="${shipbuilder_build:-node go}"
    14  
    15  for i in $what; do
    16    if [ -f "./scripts/build$i.sh" ]; then
    17      . "./scripts/build$i.sh" $@
    18    fi
    19  done