Created
February 2, 2024 17:53
-
-
Save joshtynjala/7652881ff6b2dc53fc25f2c74d38c2c5 to your computer and use it in GitHub Desktop.
Use dependsOn in tasks.json to build a library project SWC before an app project SWF in vscode-as3mxml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"type": "actionscript", | |
"debug": true, | |
"asconfig": "LibraryProject/asconfig.json", | |
"group": "build", | |
"problemMatcher": [], | |
"label": "ActionScript: compile debug - LibraryProject/asconfig.json", | |
}, | |
{ | |
"type": "actionscript", | |
"debug": true, | |
"asconfig": "AppProject/asconfig.json", | |
"group": "build", | |
"problemMatcher": [], | |
"label": "ActionScript: compile debug - AppProject/asconfig.json", | |
"dependsOn": ["ActionScript: compile debug - LibraryProject/asconfig.json"] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I also created an example workspace that contains both a SWC library project and an AIR app project:
BowlerHatLLC/vscode-as3mxml-example-workspace-app-and-library
It contains a similar task.json that builds the library first. It also contains a launch.json that runs the AIR app in the debugger.