mirror of
				https://gitea.invidious.io/iv-org/shard-ameba.git
				synced 2024-08-15 00:53:29 +00:00 
			
		
		
		
	Add version to shards.yml in usage
If the version is missed, shards utilite takes the latest release which can break the build if the user is not ready to upgrade
This commit is contained in:
		
							parent
							
								
									2a4cc56865
								
							
						
					
					
						commit
						319a90d5d7
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -32,8 +32,7 @@ Run `ameba` binary within your project directory to catch code issues:
 | 
				
			||||||
$ ameba
 | 
					$ ameba
 | 
				
			||||||
Inspecting 107 files.
 | 
					Inspecting 107 files.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
...............F.....................F...............................................
 | 
					...............F.....................F....................................................................
 | 
				
			||||||
.....................
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
src/ameba/rule/unneeded_disable_directive.cr:29:7
 | 
					src/ameba/rule/unneeded_disable_directive.cr:29:7
 | 
				
			||||||
UselessAssign: Useless assignment to variable `s`
 | 
					UselessAssign: Useless assignment to variable `s`
 | 
				
			||||||
| 
						 | 
					@ -57,6 +56,7 @@ Add this to your application's `shard.yml`:
 | 
				
			||||||
development_dependencies:
 | 
					development_dependencies:
 | 
				
			||||||
  ameba:
 | 
					  ameba:
 | 
				
			||||||
    github: veelenga/ameba
 | 
					    github: veelenga/ameba
 | 
				
			||||||
 | 
					    version: 0.6.0
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Build `bin/ameba` binary within your project directory while running `shards install`.
 | 
					Build `bin/ameba` binary within your project directory while running `shards install`.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue