Skip to content

Instantly share code, notes, and snippets.

@joshtynjala
Created February 2, 2024 17:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshtynjala/7652881ff6b2dc53fc25f2c74d38c2c5 to your computer and use it in GitHub Desktop.
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
{
"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