diff --git a/feature_definitions/gleam/feature-definition.json b/feature_definitions/gleam/feature-definition.json new file mode 100644 index 00000000..fdc3dca5 --- /dev/null +++ b/feature_definitions/gleam/feature-definition.json @@ -0,0 +1,42 @@ +{ + "id": "gleam", + "version": "1.0.0", + "name": "Gleam (via Github Releases)", + "documentationURL": "http://github.com/devcontainers-contrib/features/tree/main/src/gleam", + "description": "Gleam is a friendly language for building type-safe, scalable systems. (Gleam compiles to Erlang code, so Erlang needs to be installed to run Gleam code.)", + "options": { + "version": { + "default": "latest", + "description": "Select the version to install.", + "proposals": [ + "latest" + ], + "type": "string" + } + }, + "installsAfter": [ + "ghcr.io/devcontainers-contrib/features/gh-release" + ], + "dependencies": [ + { + "feature": "ghcr.io/devcontainers-contrib/features/gh-release:1.0.24", + "options": { + "repo": "gleam-lang/gleam", + "binaryNames": "gleam", + "version": "$options.version" + } + } + ], + "install_command": "echo 'Done!'", + "test_scenarios": [ + { + "name": "test_defaults_debian", + "image": "mcr.microsoft.com/devcontainers/base:debian", + "test_commands": [ + "gleam --version" + ], + "options": {}, + "features": {} + } + ] +} \ No newline at end of file