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/05 22:55:04 UTC

[royale-asjs] branch develop updated: royale-simple-application-archetype: add .vscode missing files

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 7b5b6e3  royale-simple-application-archetype: add .vscode missing files
7b5b6e3 is described below

commit 7b5b6e30cbd3106aa0c8388d2a19d780b46f668d
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Sun Sep 6 00:54:55 2020 +0200

    royale-simple-application-archetype: add .vscode missing files
---
 .../archetype-resources/.vscode/launch.json        | 74 ++++++++++++++++++++++
 .../archetype-resources/.vscode/tasks.json         | 74 ++++++++++++++++++++++
 2 files changed, 148 insertions(+)

diff --git a/archetypes/royale-simple-application-archetype/src/main/resources/archetype-resources/.vscode/launch.json b/archetypes/royale-simple-application-archetype/src/main/resources/archetype-resources/.vscode/launch.json
new file mode 100644
index 0000000..34beed6
--- /dev/null
+++ b/archetypes/royale-simple-application-archetype/src/main/resources/archetype-resources/.vscode/launch.json
@@ -0,0 +1,74 @@
+{
+    "version": "0.2.0",
+    "configurations": [
+        //CHROME - DEBUG
+        {
+            "name": "Launch Chrome (Debug)",
+            "type": "chrome",
+            "request": "launch",
+            "url": "file:///${workspaceRoot}/target/javascript/bin/js-debug/index.html",
+            "webRoot": "${workspaceRoot}/target/javascript/bin/js-debug",
+            "sourceMaps": true,
+            "runtimeArgs": ["--auto-ssl-client-auth", "--profile-directory=debug-profile"],
+        },
+        //CHROME - RELEASE
+        {
+            "name": "Launch Chrome (Release)",
+            "type": "chrome",
+            "request": "launch",
+            "url": "file:///${workspaceRoot}/target/javascript/bin/js-release/index.html",
+            "webRoot": "${workspaceRoot}/target/javascript/bin/js-release",
+            "sourceMaps": true,
+            "runtimeArgs": ["--auto-ssl-client-auth", "--profile-directory=debug-profile"],
+        },
+        
+        //FIREFOX - DEBUG
+        {
+            "name": "Launch Firefox (Debug)",
+            "type": "firefox",
+            "request": "launch",
+            "url": "file:///${workspaceRoot}/target/javascript/bin/js-debug/index.html",
+            "webRoot": "${workspaceRoot}/target/javascript/bin/js-debug"
+        },
+        //FIREFOX - RELEASE
+        {
+            "name": "Launch Firefox (Release)",
+            "type": "firefox",
+            "request": "launch",
+            "url": "file:///${workspaceRoot}/target/javascript/bin/js-release/index.html",
+            "webRoot": "${workspaceRoot}/target/javascript/bin/js-release"
+        },
+        
+        //BRAVE - DEBUG
+        {
+            "type": "chrome",
+            "request": "launch",
+            "name": "Launch Brave (Debug)",
+            "runtimeExecutable": "/Applications/Brave Browser.app/Contents/MacOS/Brave Browser",
+            "runtimeArgs": ["--auto-ssl-client-auth"],
+            "userDataDir": true,
+            // "url": "http://localhost:8080",
+            // "webRoot": "${workspaceFolder}"
+            // "file": "${workspaceRoot}/target/javascript/bin/js-debug/index.html",
+            //"preLaunchTask": "mvn",
+            "url": "file:///${workspaceRoot}/target/javascript/bin/js-debug/index.html",
+            "webRoot": "${workspaceRoot}/target/javascript/bin/js-debug",
+            "sourceMaps": true
+        },
+        //BRAVE - RELEASE
+        {
+            "type": "chrome",
+            "request": "launch",
+            "name": "Launch Brave (Release)",
+            "runtimeExecutable": "/Applications/Brave Browser.app/Contents/MacOS/Brave Browser",
+            "runtimeArgs": ["--auto-ssl-client-auth", "--profile-directory=debug-profile"],
+            "userDataDir": true,
+            // "url": "http://localhost:8080",
+            // "webRoot": "${workspaceFolder}"
+            "url": "file:///${workspaceRoot}/target/javascript/bin/js-release/index.html",
+            "webRoot": "${workspaceRoot}/target/javascript/bin/js-release",
+            //"preLaunchTask": "mvn",
+            "sourceMaps": true
+        }
+    ]
+}
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
new file mode 100644
index 0000000..9d5a920
--- /dev/null
+++ b/archetypes/royale-simple-application-archetype/src/main/resources/archetype-resources/.vscode/tasks.json
@@ -0,0 +1,74 @@
+{
+    // 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"
+        },
+        {
+            "label": "Build with Maven",
+            "type": "shell",
+            "command": "mvn",
+            "args": [
+                "clean",
+                "install",
+                "-P option-with-swf",
+                "-DskipTests"
+            ],
+            "group": "build",
+            "presentation": {
+                "reveal": "always",
+                "panel": "new"
+            },
+            "problemMatcher": []
+        },
+        {
+            "label": "Build Release with AS3 Extension",
+            "type": "actionscript",
+            "debug": false,
+            "problemMatcher": [
+                "$nextgenas_nomatch"
+            ],
+            "group": "build"
+        },
+        {
+            "type": "actionscript",
+            "debug": true,
+            "problemMatcher": [],
+            "group": "build"
+        },
+        {
+            "type": "actionscript",
+            "debug": false,
+            "problemMatcher": [],
+            "group": "build"
+        }
+        #[[,
+        {
+            "label": "build with asconfigc",
+            "type": "shell",
+            "command": "asconfigc",
+            "args": [
+                "--sdk=$${config:as3mxml.sdk.framework}"
+            ],
+            "presentation": {
+                "echo": true,
+                "reveal": "always",
+                "focus": true,
+                "panel": "dedicated"
+            },
+            "problemMatcher": [
+                "$nextgenas_nomatch"
+            ],
+            "group": "build"
+        }
+        ]]#
+    ]
+}
\ No newline at end of file