Sha256: 969e80ac85b57c91ac2b7892019b1f51b9a060afd1791cbf3293626bdd77c68d

Contents?: true

Size: 269 Bytes

Versions: 5

Compression:

Stored size: 269 Bytes

Contents

#!/usr/bin/env ruby
require 'fileutils'

binpath = "#{File.expand_path(File.dirname(__FILE__)).chomp}/../"
linkname = ARGV[0] || 'index'
powpath = "#{ENV['HOME']}/.pow/#{linkname}"
FileUtils.ln_s(binpath, powpath) unless File.exists?(powpath)
puts "Created #{powpath}"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pow-index-0.0.5 bin/pow-index
pow-index-0.0.4 bin/pow-index
pow-index-0.0.3 bin/pow-index
pow-index-0.0.2 bin/pow-index
pow-index-0.0.1 bin/pow-index