mirror of
https://github.com/actions-rs/cargo.git
synced 2024-11-14 21:46:34 +02:00
Bundling all matchers on build
This commit is contained in:
parent
9e78198b90
commit
333d0cf286
2 changed files with 15 additions and 2 deletions
12
dist/.matchers/rustfmt.json
vendored
Normal file
12
dist/.matchers/rustfmt.json
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"problemMatcher": [
|
||||
{
|
||||
"owner": "rustfmt",
|
||||
"pattern": {
|
||||
"regexp": "^Diff in (\\S+) at line (\\d+):$",
|
||||
"file": 1,
|
||||
"line": 2
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -9,8 +9,9 @@
|
|||
"test": "__tests__"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "ncc build src/main.ts --minify",
|
||||
"watch": "ncc build src/main.ts --watch --minify",
|
||||
"bundle": "cp -r .matchers ./dist/",
|
||||
"build": "ncc build src/main.ts --minify && npm run bundle",
|
||||
"watch": "npm run bundle && ncc build src/main.ts --watch --minify",
|
||||
"test": "jest"
|
||||
},
|
||||
"repository": {
|
||||
|
|
Loading…
Reference in a new issue