Last active
May 11, 2016 12:34
-
-
Save gforcedev/21a2e2645228e40beb07859b85df750c to your computer and use it in GitHub Desktop.
A vscode task runner for love2d projects
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
// Available variables which can be used inside of strings. | |
// ${workspaceRoot}: the root folder of the team | |
// ${file}: the current opened file | |
// ${fileBasename}: the current opened file's basename | |
// ${fileDirname}: the current opened file's dirname | |
// ${fileExtname}: the current opened file's extension | |
// ${cwd}: the current working directory of the spawned process | |
// A task runner that calls the Typescript compiler (tsc) and | |
// Compiles a HelloWorld.ts program | |
{ | |
// The command is the path to your love install exe. | |
"command": "D:\\SDKs\\love-0.10.1-win32\\love", | |
// The command is a shell script | |
"isShellCommand": true, | |
// args are appended onto the command run, just like a batch file | |
"args": ["${workspaceRoot}"] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Replace the path on line 13 with your love install, remembering to use double backslashes because of the escape codes.