mirror of
				https://github.com/KevinMidboe/linguist.git
				synced 2025-10-29 17:50:22 +00:00 
			
		
		
		
	Detect Maven wrapper "mvnw" (#4042)
* Detect Maven wrapper "mvnw" * Fix build, filenames must be sorted in the "filenames" section of languages.yml, filenames cannot be grouped by topic * Remove `mvnw` file from languages/Shell/filenames according to @Alhadis recommendation as we are sure that `mvnw` always starts with the shebang `#!/bin/sh`. * Remove space chars added by mistake
This commit is contained in:
		
				
					committed by
					
						 Colin Seymour
						Colin Seymour
					
				
			
			
				
	
			
			
			
						parent
						
							14fcd75773
						
					
				
				
					commit
					51d3711faf
				
			| @@ -534,6 +534,14 @@ class TestFileBlob < Minitest::Test | ||||
|     assert sample_blob("subproject/gradlew.bat").vendored? | ||||
|     assert sample_blob("subproject/gradle/wrapper/gradle-wrapper.properties").vendored? | ||||
|  | ||||
|     # Maven | ||||
|     assert sample_blob("mvnw").vendored? | ||||
|     assert sample_blob("mvnw.cmd").vendored? | ||||
|     assert sample_blob(".mvn/wrapper/maven-wrapper.properties").vendored? | ||||
|     assert sample_blob("subproject/mvnw").vendored? | ||||
|     assert sample_blob("subproject/mvnw.cmd").vendored? | ||||
|     assert sample_blob("subproject/.mvn/wrapper/maven-wrapper.properties").vendored? | ||||
|  | ||||
|     # Octicons | ||||
|     assert sample_blob("octicons.css").vendored? | ||||
|     assert sample_blob("public/octicons.min.css").vendored? | ||||
|   | ||||
		Reference in New Issue
	
	Block a user