Sha256: 42f56a12ffca51127758a805ef56c582b4f6731937965c3f03040807b5e68013

Contents?: true

Size: 475 Bytes

Versions: 5

Compression:

Stored size: 475 Bytes

Contents

Gem.post_install do |installer|
  if installer.spec.name == 'activefacts-cql'
    pattern = installer.dir + '/lib/activefacts/cql/**/*.treetop'
    files = Dir[pattern]
    # Hopefully this quoting will work where there are spaces in filenames, and even maybe on Windows?
    cmd = "tt '#{files*"' '"}'"
    puts "Compiling Treetop grammars:"
    puts cmd
    system cmd
    puts 'For more information on ActiveFacts, see http://dataconstellation.com/ActiveFacts/'
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
activefacts-cql-1.8.3 lib/rubygems_plugin.rb
activefacts-cql-1.8.2 lib/rubygems_plugin.rb
activefacts-cql-1.8.1 lib/rubygems_plugin.rb
activefacts-cql-1.8.0 lib/rubygems_plugin.rb
activefacts-cql-1.7.1 lib/rubygems_plugin.rb