You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2020/09/06 08:04:41 UTC

[royale-asjs] branch develop updated: royale-simple-application-archetype: vscode tasks escape $ arg

This is an automated email from the ASF dual-hosted git repository.

carlosrovira pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new b5348c1  royale-simple-application-archetype: vscode tasks escape $ arg
b5348c1 is described below

commit b5348c163f1c71e4d07f8d5655832a07b5371d18
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Sun Sep 6 10:04:23 2020 +0200

    royale-simple-application-archetype: vscode tasks escape $ arg
---
 .../archetype-resources/.vscode/tasks.json         | 61 +++++++++++-----------
 1 file changed, 30 insertions(+), 31 deletions(-)

diff --git a/archetypes/royale-simple-application-archetype/src/main/resources/archetype-resources/.vscode/tasks.json b/archetypes/royale-simple-application-archetype/src/main/resources/archetype-resources/.vscode/tasks.json
index 9d5a920..f442989 100644
--- a/archetypes/royale-simple-application-archetype/src/main/resources/archetype-resources/.vscode/tasks.json
+++ b/archetypes/royale-simple-application-archetype/src/main/resources/archetype-resources/.vscode/tasks.json
@@ -1,17 +1,10 @@
+#set($dollar = '$')
 {
     // See https://go.microsoft.com/fwlink/?LinkId=733558
     // for the documentation about the tasks.json format
     "version": "2.0.0",
     "tasks": [
-        {
-            "label": "Build Debug with AS3 Extension",
-            "type": "actionscript",
-            "debug": true,
-            "problemMatcher": [
-                "$nextgenas_nomatch"
-            ],
-            "group": "build"
-        },
+        // MAVEN
         {
             "label": "Build with Maven",
             "type": "shell",
@@ -24,51 +17,57 @@
             ],
             "group": "build",
             "presentation": {
+                "echo": true,
                 "reveal": "always",
-                "panel": "new"
+                "focus": true,
+                "panel": "dedicated"
             },
             "problemMatcher": []
         },
+        // AS3&MXML (Debug)
         {
-            "label": "Build Release with AS3 Extension",
-            "type": "actionscript",
-            "debug": false,
-            "problemMatcher": [
-                "$nextgenas_nomatch"
-            ],
-            "group": "build"
-        },
-        {
+            "label": "Build with AS3&MXML (Debug)",
             "type": "actionscript",
             "debug": true,
-            "problemMatcher": [],
-            "group": "build"
+            "group": "build",
+            "presentation": {
+                "echo": true,
+                "reveal": "always",
+                "focus": true,
+                "panel": "dedicated"
+            },
+            "problemMatcher": []
         },
+        // AS3&MXML (Release)
         {
+            "label": "Build with AS3&MXML (Release)",
             "type": "actionscript",
             "debug": false,
-            "problemMatcher": [],
-            "group": "build"
-        }
-        #[[,
+            "group": "build",
+            "presentation": {
+                "echo": true,
+                "reveal": "always",
+                "focus": true,
+                "panel": "dedicated"
+            },
+            "problemMatcher": []
+        },
+        // ASCONFIGC
         {
             "label": "build with asconfigc",
             "type": "shell",
             "command": "asconfigc",
             "args": [
-                "--sdk=$${config:as3mxml.sdk.framework}"
+                "--sdk=${dollar}{config:as3mxml.sdk.framework}"
             ],
+            "group": "build",
             "presentation": {
                 "echo": true,
                 "reveal": "always",
                 "focus": true,
                 "panel": "dedicated"
             },
-            "problemMatcher": [
-                "$nextgenas_nomatch"
-            ],
-            "group": "build"
+            "problemMatcher": []
         }
-        ]]#
     ]
 }
\ No newline at end of file