Skip to content

Commit aa73e61

Browse files
committed
add support for configuration/environment in workspace
1 parent 61accc8 commit aa73e61

5 files changed

Lines changed: 9 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Change Log
22

3+
# 0.0.33
4+
- add `configuration` and `environment` attributes
5+
36
# 0.0.32
47
- add `engine` attribute
58

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "terrabuild",
44
"displayName": "Terrabuild",
55
"description": "Syntax highlighting for Terrabuild",
6-
"version": "0.0.32",
6+
"version": "0.0.33",
77
"publisher": "MagnusOpera",
88
"license": "FSL-1.1-Apache-2.0",
99
"repository": {

syntaxes/terrabuild-workspace.tmLanguage.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
"patterns": [
8181
{
8282
"name": "meta.assignment.workspace",
83-
"begin": "\\b(id|ignores|version|engine)\\b(?=\\s*=)",
83+
"begin": "\\b(id|ignores|version|engine|configuration|environment)\\b(?=\\s*=)",
8484
"beginCaptures": {
8585
"1": { "name": "keyword.control" }
8686
},

tests/WORKSPACE

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ workspace {
66
ignores = [ "obj/**" ]
77
version = "~0.157.0"
88
engine = ~docker
9+
configuration = "local"
10+
environment = "dev"
911

1012
unknown = "toto"
1113
}

0 commit comments

Comments
 (0)