Skip to content

Instantly share code, notes, and snippets.

@ItGacky
Created February 26, 2016 14:44
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 ItGacky/98e6e269b3bffd2e1d5b to your computer and use it in GitHub Desktop.
Save ItGacky/98e6e269b3bffd2e1d5b to your computer and use it in GitHub Desktop.
TypeScript 1.8 + Visual Studio Code での開発 ref: http://qiita.com/GackyQiita/items/013b7390e39065d8b64a
copy /B tools\header.js + %OUTNAKED% + tools\footer.js %OUTWRAPPED% > NUL
java -jar tools/compiler.jar --js %OUTWRAPPED% --js_output_file %RELEASED%
{
"version": "0.1.0",
"command": "cmd",
"isShellCommand": true,
"showOutput": "silent",
"args": [],
"tasks": [
{
"taskName": "build",
"suppressTaskName": false,
"args": [ "/C tsc -p src --outFile bld/main.js" ],
"problemMatcher": "$tsc"
},
{
"taskName": "release",
"suppressTaskName": false,
"args": [ "/C tools\\release.cmd" ],
"showOutput": "silent"
},
{
"taskName": "test",
"suppressTaskName": false,
"args": [ "/C start index-debug.html" ],
"showOutput": "never"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment