Sha256: 2e0a136b85ddf9e7343bfd43a26de22cf410cc6f1789df0ce7c645bf4ca2fa61
Contents?: true
Size: 444 Bytes
Versions: 2
Compression:
Stored size: 444 Bytes
Contents
#!/usr/bin/env ruby require "obst" path = ARGV[0] || '.' gitignore = File.join(path, '.gitignore') File.open(gitignore, 'a+') do |f| f.puts("# Obst\nobst.md") unless f.read =~ /# Obst/ end obst_md = File.join(path, 'obst.md') File.open(obst_md, 'w') do |f| f.puts Obst::Chart::DailyCount.new(C: path).to_s f.puts "\n" f.puts Obst::Chart::DailyChange.new(C: path).to_s f.puts "\n" f.puts Obst::TouchedFiles.new(C: path).to_s end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
obst-0.1.6 | exe/obst |
obst-0.1.5 | exe/obst |