Ant formula
Ant is a Java-based build tool. In theory, it is kind of like Make, without Make's wrinkles and with the full portability of pure Java code.
This commit is contained in:
		
							parent
							
								
									80a54dc5b2
								
							
						
					
					
						commit
						0df406ae4f
					
				@ -140,7 +140,11 @@ class Pathname
 | 
			
		||||
    # eg. foobar4.5.1
 | 
			
		||||
    /((\d+\.)*\d+)$/.match stem
 | 
			
		||||
    return $1 if $1
 | 
			
		||||
 | 
			
		||||
    
 | 
			
		||||
    # eg foobar-4.5.0-bin
 | 
			
		||||
    /-((\d+\.)*\d+-bin)$/.match stem
 | 
			
		||||
    return $1 if $1
 | 
			
		||||
    
 | 
			
		||||
    # eg. otp_src_R13B (this is erlang's style)
 | 
			
		||||
    # eg. astyle_1.23_macosx.tar.gz
 | 
			
		||||
    stem.scan /_([^_]+)/ do |match|
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user