Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demo project with working examples of using promises library. #6

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "brightscript",
"request": "launch",
"name": "BrightScript Debug: Launch",
"stopOnEntry": false,
"rootDir": "${workspaceFolder}/dist",
//run the BrighterScript build before each launch
"preLaunchTask": "build"
},
{
"type": "brightscript",
"request": "launch",
"name": "BrightScript Debug: Launch (Watch)",
"stopOnEntry": false,
"rootDir": "${workspaceFolder}/dist",
//kick off the bsc watcher before launching
"preLaunchTask": "watch",
"retainStagingFolder": false,
"enableDebuggerAutoRecovery": false,
"stopDebuggerOnAppExit": false
}
]
}
21 changes: 21 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"command": "npm run build",
"type": "shell",
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "watch",
"command": "npm run watch",
"type": "shell",
"isBackground": true,
"problemMatcher": "$bsc-watch-silent"
}
]
}
15 changes: 11 additions & 4 deletions bsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
{
"rootDir": "./src",
"stagingDir": "./dist"
}
{
"rootDir": "src",
"files": [
"**/*"
],
"stagingFolderPath": "dist",
"retainStagingFolder": true,
//this flag tells BrighterScript that for every xml file, try to import a .bs file with the same name and location
"autoImportComponentScript": true,
"sourceMap": true
}
Loading