#!/bin/bash #------------------------------------------------------------------ # setup #------------------------------------------------------------------ set -e scriptdir=$(cd $(dirname $0) && pwd) source ${scriptdir}/common.bash header F# #------------------------------------------------------------------ if [[ "${1:-}" == "" ]]; then templates="app sample-app" else templates="$@" fi for template in $templates; do echo "Trying F# template $template" setup cdk init -l fsharp $template cdk synth done