-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
tiandiyishaou
committed
May 9, 2023
1 parent
c301a93
commit f9c91b0
Showing
4 changed files
with
97 additions
and
30 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,67 @@ | ||
|
||
// A task runner that calls the PXT compiler and | ||
{ | ||
"version": "0.1.0", | ||
"version": "2.0.0", | ||
|
||
// The command is pxt. Assumes that PXT has been installed using npm install -g pxt | ||
"command": "pxt", | ||
|
||
// The command is a shell script | ||
"isShellCommand": true, | ||
|
||
// Show the output window always. | ||
"showOutput": "always", | ||
|
||
"tasks": [{ | ||
"taskName": "deploy", | ||
"isBuildCommand": true, | ||
"problemMatcher": "$tsc", | ||
"args": [""] | ||
}, { | ||
"taskName": "build", | ||
"isTestCommand": true, | ||
"problemMatcher": "$tsc", | ||
"args": [""] | ||
}, { | ||
"taskName": "clean", | ||
"isTestCommand": true, | ||
"problemMatcher": "$tsc", | ||
"args": [""] | ||
}, { | ||
"taskName": "serial", | ||
"isTestCommand": true, | ||
"problemMatcher": "$tsc", | ||
"args": [""] | ||
}] | ||
"tasks": [ | ||
{ | ||
"label": "deploy", | ||
"type": "shell", | ||
"command": "pxt", | ||
"args": [ | ||
"deploy", | ||
"" | ||
], | ||
"problemMatcher": "$tsc", | ||
"group": { | ||
"_id": "build", | ||
"isDefault": false | ||
} | ||
}, | ||
{ | ||
"label": "build", | ||
"type": "shell", | ||
"command": "pxt", | ||
"args": [ | ||
"build", | ||
"" | ||
], | ||
"problemMatcher": "$tsc", | ||
"group": { | ||
"_id": "test", | ||
"isDefault": false | ||
} | ||
}, | ||
{ | ||
"label": "clean", | ||
"type": "shell", | ||
"command": "pxt", | ||
"args": [ | ||
"clean", | ||
"" | ||
], | ||
"problemMatcher": "$tsc", | ||
"group": { | ||
"_id": "test", | ||
"isDefault": false | ||
} | ||
}, | ||
{ | ||
"label": "serial", | ||
"type": "shell", | ||
"command": "pxt", | ||
"args": [ | ||
"serial", | ||
"" | ||
], | ||
"problemMatcher": "$tsc", | ||
"group": { | ||
"_id": "test", | ||
"isDefault": false | ||
} | ||
} | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
|
||
// A task runner that calls the PXT compiler and | ||
{ | ||
"version": "0.1.0", | ||
|
||
// The command is pxt. Assumes that PXT has been installed using npm install -g pxt | ||
"command": "pxt", | ||
|
||
// The command is a shell script | ||
"isShellCommand": true, | ||
|
||
// Show the output window always. | ||
"showOutput": "always", | ||
|
||
"tasks": [{ | ||
"taskName": "deploy", | ||
"isBuildCommand": true, | ||
"problemMatcher": "$tsc", | ||
"args": [""] | ||
}, { | ||
"taskName": "build", | ||
"isTestCommand": true, | ||
"problemMatcher": "$tsc", | ||
"args": [""] | ||
}, { | ||
"taskName": "clean", | ||
"isTestCommand": true, | ||
"problemMatcher": "$tsc", | ||
"args": [""] | ||
}, { | ||
"taskName": "serial", | ||
"isTestCommand": true, | ||
"problemMatcher": "$tsc", | ||
"args": [""] | ||
}] | ||
} |
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
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