mirror of
				https://github.com/actions-rs/cargo.git
				synced 2025-11-03 22:31:58 +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__"
 | 
					        "test": "__tests__"
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "scripts": {
 | 
					    "scripts": {
 | 
				
			||||||
        "build": "ncc build src/main.ts --minify",
 | 
					        "bundle": "cp -r .matchers ./dist/",
 | 
				
			||||||
        "watch": "ncc build src/main.ts --watch --minify",
 | 
					        "build": "ncc build src/main.ts --minify && npm run bundle",
 | 
				
			||||||
 | 
					        "watch": "npm run bundle && ncc build src/main.ts --watch --minify",
 | 
				
			||||||
        "test": "jest"
 | 
					        "test": "jest"
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "repository": {
 | 
					    "repository": {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue