Sha256: b8cac17cb725c812f2d6ff01760ec548bb1cc99c3940b4b5bf28b371dfbb95f1

Contents?: true

Size: 571 Bytes

Versions: 2

Compression:

Stored size: 571 Bytes

Contents

require "fileutils"

def remove(iPath)
	if ( File.exist?( iPath ) )
		File.delete( iPath )
	end
end

srcdirectories.each do |sub_name|
	path = File.join( curr_srcdir, sub_name, sub_name )

	flex_file = ( sub_name + "tok.l" )
	flex_file = File.join( path, flex_file )
	next unless ( File.file?( flex_file ) )
	flex_outh = File.basename( flex_file, ".l" ) << ".h"
	flex_outc = File.basename( flex_file, ".l" ) << ".c"
	[flex_outh, flex_outc, sub_name + ".h", sub_name + ".c", "extconf.rb"].each do |x|
		x = File.join( path, x )
		remove( x )
	end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
langscan-1.2-x86-mswin32-60 ext/langscan/post-distclean.rb
langscan-1.2 ext/langscan/post-distclean.rb