Sha256: 97eec3528b941d5c559254c50f26a3f488c59aec5274f8c4a601e836141699d0
Contents?: true
Size: 313 Bytes
Versions: 2
Compression:
Stored size: 313 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::TouchedFiles.new(C: path).to_s end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
obst-0.1.4 | exe/obst |
obst-0.1.3 | exe/obst |