Sha256: 05d65c940b0e6a9f09a709aa815ed436a621c29cc8ad2e02090bc825846050ce

Contents?: true

Size: 261 Bytes

Versions: 5

Compression:

Stored size: 261 Bytes

Contents

namespace :devel do
  desc "Create launcher"
  task :launcher do
    puts "[INFO] Creating symbolic link into /usr/local/bin"
    basedir = File.join(File.dirname(__FILE__), "..")
    system("sudo ln -s #{basedir}/zettacode /usr/local/bin/zettacode")
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
zettacode-0.1.7 tasks/devel.rb
zettacode-0.1.6 tasks/devel.rb
zettacode-0.1.5 tasks/devel.rb
zettacode-0.1.4 tasks/devel.rb
zettacode-0.1.3 tasks/devel.rb