Sha256: 87688d219641a86c2f7a1fe58925755fecb484ef09f03a75434361b96a1f3d3a
Contents?: true
Size: 390 Bytes
Versions: 3
Compression:
Stored size: 390 Bytes
Contents
namespace :thot do desc "templatize file from ENV vars : THOT_VARFILE, THOT_TEMPLATE " task :templatize do if ENV.include? 'THOT_VARFILE' and ENV.include? 'THOT_VARFILE' system("thot -f #{ENV['THOT_VARFILE']} #{ENV['THOT_TEMPLATE']}") else puts 'Please precise THOT_VARFILE and THOT_TEMPLATE environment variables' end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
thot-1.2.2 | lib/thot/rake/tasks/template.task |
thot-1.2.1 | lib/thot/rake/tasks/template.task |
thot-1.2.0 | lib/thot/rake/tasks/template.task |