Sha256: 8b30bf190cdad2734b8ac72fceeff00493aeec6dcbaa22c8520d8d7c79fd8c18

Contents?: true

Size: 286 Bytes

Versions: 4

Compression:

Stored size: 286 Bytes

Contents

$LOAD_PATH.unshift File.expand_path('/vagrant/puppet-parser/lib')

require 'puppet-parse'
require 'rake'
require 'rake/tasklib'

desc 'Run puppet-parse'
task :parse do
  matched_files = FileList['**/*.pp']
  run = PuppetParse::Runner.new
  puts run.run(matched_files.to_a).to_yaml
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
puppet-parse-0.0.5 lib/puppet-parse/puppet-parse.rb
puppet-parse-0.0.4 lib/puppet-parse/puppet-parse.rb
puppet-parse-0.0.2 lib/puppet-parse/puppet-parse.rb
puppet-parse-0.0.1 lib/puppet-parse/puppet-parse.rb