diff --git a/test.sh b/test.sh new file mode 100644 index 0000000..421398b --- /dev/null +++ b/test.sh @@ -0,0 +1,22 @@ +#!/bin/bash +set -ex +[[ -n $1 ]] && image=$1 || image='mcr.microsoft.com/devcontainers/base:debian' +[[ -n $2 ]] && options=$2 || options='{}' +feature_dir=$PWD +temp_dir=$(mktemp -d) +trap 'rm -rf "$temp_dir"' SIGINT SIGTERM ERR EXIT +pushd "$temp_dir" +mkdir -p .devcontainer +cat <