Skip to content

Commit ac28bcd

Browse files
committed
add support for environments
1 parent 3e30aeb commit ac28bcd

5 files changed

Lines changed: 8 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.39
4+
- add support for `environments` attribute on `project` block
5+
36
# 0.0.38
47
- add support for optional comma in list and map
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.38",
6+
"version": "0.0.39",
77
"publisher": "MagnusOpera",
88
"license": "FSL-1.1-Apache-2.0",
99
"repository": {

syntaxes/terrabuild-project.tmLanguage.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
"patterns": [
7171
{
7272
"name": "meta.assignment.workspace",
73-
"begin": "\\b(depends_on|dependencies|outputs|ignores|includes|labels)\\b(?=\\s*=)",
73+
"begin": "\\b(depends_on|dependencies|outputs|ignores|includes|labels|environments)\\b(?=\\s*=)",
7474
"beginCaptures": {
7575
"1": { "name": "keyword.control" }
7676
},

tests/PROJECT

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ project api {
77
ignores = [ "**/*.obj" ]
88
includes = [ "**/*.cpp", "**/*.h" ]
99
labels = [ "app" ]
10+
environments = [ "dev" ]
1011

1112
unknown = "toto"
1213

0 commit comments

Comments
 (0)