Sha256: d61c14bd406a4a0b72da7ed8c27e202b99f58d9e762ef8d85527d67dfbb1737b
Contents?: true
Size: 422 Bytes
Versions: 3
Compression:
Stored size: 422 Bytes
Contents
#!/usr/bin/env ruby def compile_and_recurse # Compile all of the treetop files in the pwd Dir.glob("*.treetop").each do |treetop_file| system "tt -f #{treetop_file}" end # Get a list of all the directories in the pwd Dir.glob("*").select do |file_name| Dir.exists?(file_name) end.each do |dir| Dir.chdir(dir) compile_and_recurse Dir.chdir("..") end end Dir.chdir("lib/hemingway") compile_and_recurse
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
hemingway-1.0.0 | script/build |
hemingway-0.0.3 | script/build |
hemingway-0.0.2 | script/build |