Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ts-defold/defold-vscode-build
Build, Run & Package Defold projects from Visual Studio Code
https://github.com/ts-defold/defold-vscode-build
defold extension lua typescript visual-studio-code vscode vscode-extension
Last synced: 2 months ago
JSON representation
Build, Run & Package Defold projects from Visual Studio Code
- Host: GitHub
- URL: https://github.com/ts-defold/defold-vscode-build
- Owner: ts-defold
- License: mit
- Created: 2021-09-26T15:23:08.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-17T13:51:31.000Z (about 3 years ago)
- Last Synced: 2024-10-09T13:04:53.201Z (4 months ago)
- Topics: defold, extension, lua, typescript, visual-studio-code, vscode, vscode-extension
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=ts-defold.defold-vscode-build
- Size: 999 KB
- Stars: 14
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-defold - Defold Build Tools
README
# Defold Build Tools
> Build, Run & Package Defold projects from Visual Studio Code## Features
- `build`, `bundle`, `resolve`, `clean`, and `run`
- problemMatchers for task output
- colorized console output for enhanced readability
- sourcemap support for sourcemaps emitted from [TSTL](https://github.com/TypeScriptToLua/TypeScriptToLua)## Requirements
Install the Defold editor and configure the `defold.editorPath` setting to point to the installation location of the editor.
## Quick Start
Open the command pallette with `⌘ + shift + p` or `ctrl + shift + p`
`> Tasks: Run Task` - Then selecting `defold`, followed by `build`, `bundle`, `resolve`, `clean`, or `run` will execute the single task with the default task configuration.
`> Tasks: Configure Default Build Task` - Then selecting `defold`, followed by `build`, `bundle`, `resolve`, `clean`, or `run` will create or update a tasks.json file where you can provide further customization to the task. This will also bind the default task to the build hotkey `⌘ + shift + b` or `ctrl + shift + b`
You can always fully define your own tasks using any of the tasks that the `defold` task provider provides.
```json
{
"type": "defold",
"label": "build",
"detail": "Build the defold game project",
"action": "build",
"configuration": "debug",
"platform": "current",
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"echo": true,
"reveal": "always",
"focus": true,
"panel": "dedicated",
"showReuseMessage": false,
"clear": false
},
"problemMatcher": [
"$defold-build"
],
"dependsOn": [
"compile"
],
}
```## Extension Settings
#### Defold
* `defold.editorPath`: Path to the Defold Editor, will attempt to infer path if this is not set
#### Build
* `defold.build.email`: Email address for Bob to use when logging in
* `defold.build.auth`: Auth token for Bob to use when logging in
* `defold.build.textureCompression`: Use texture compression as specified in texture profiles
* `defold.build.withSymbols`: Use symbols when building the project#### Bundle
* `defold.bundle.liveUpdate`: Should LiveUpdate content be published
#### iOS
* `defold.bundle.ios.identity`: The name of the iOS signing identity to use when building the project
* `defold.bundle.ios.mobileProvisioningProfilePath`: The path to the mobile provisioning profile to use when building the project#### Android
* `defold.bundle.android.keystore`: The path to the Android keystore to use when building the project
* `defold.bundle.android.keystorePass`: The password for the Android keystore to use when building the project
* `defold.bundle.android.keystoreAlias`: The alias for the Android keystore to use when building the project
* `defold.bundle.android.bundleFormat`: The Android bundle format to use when building the project## Release Notes
### 0.1.6 - 2021-11-17
- Fixes bug with custom task resolution### 0.1.5 - 2021-10-15
- Better editor path resolution
- Copy dmEngine from local build before attempting to resolve from Editor package
- Handle spaces in paths more gracefully
- More diagnostics and error handling### 0.1.4 - 2021-10-6
- Update problem matcher to catch native extension errors from build### 0.1.3 - 2021-10-6
- Fix run task bug on Windows when project uses native extensions### 0.1.2 - 2021-10-6
- Fix run task on Windows### 0.1.1 - 2021-10-05
- Notifications to remind you to configure the extensions in settings
- Better Default task provider defaults### 0.1.0 - 2021-10-05
- Initial release
TypeScript ❤️ Defold