Sha256: 00c82098096ab23e041cc369e6549950f0819c38084f064cb4eef5b7e709fd5a
Contents?: true
Size: 497 Bytes
Versions: 5
Compression:
Stored size: 497 Bytes
Contents
Standup.script do self.description = 'Put specified script into project configuration' def run unless ENV['SCRIPT'] bright_p "Specify script name with SCRIPT=name argument" return end FileUtils.mkdir_p(Standup.local_scripts_path) [ENV['SCRIPT'], "#{ENV['SCRIPT']}.rb"].each do |path| path = File.expand_path(path, Standup.gem_scripts_path) if File.exists? path FileUtils.cp_r path, Standup.local_scripts_path end end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
standup-0.3.3 | scripts/localize.rb |
standup-0.3.2 | scripts/localize.rb |
standup-0.3.1 | scripts/localize.rb |
standup-0.3.0 | scripts/localize.rb |
standup-0.2.0 | scripts/localize.rb |