Created
May 15, 2017 11:32
-
-
Save adamdriscoll/6a3197790661b5b3e841f7b22b13f469 to your computer and use it in GitHub Desktop.
VSCode task.json to add a build command to package a PowerShell script as an exe
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
{ | |
"version": "0.1.0", | |
"tasks": [ | |
{ | |
"taskName": "build", | |
"command": "powershell", | |
"args": ["Merge-Script -Script '${file}' -Bundle -OutputPath '${fileDirname}\\out' -OutputType Executable"], | |
"isBuildCommand": true, | |
"showOutput": "silent" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment