Sha256: fe5e5bad8e04f39afe2e71d5b615a283b8af684e11842097e733528f83595252

Contents?: true

Size: 553 Bytes

Versions: 1

Compression:

Stored size: 553 Bytes

Contents

#!/usr/bin/env ruby

# If you move the dispatch executable relative to the project root, change this. For example, if you move it into the
# bin/ directory you'd want this to say '..'
#
RELATIVE_PROJ_ROOT_DIR = '.'

require 'pathname'
this_dir   = Pathname.new(File.expand_path(File.dirname(__FILE__))).realpath
$PROJ_ROOT = File.expand_path(File.join(this_dir, RELATIVE_PROJ_ROOT_DIR))
$LOAD_PATH.unshift File.join(File.expand_path(File.dirname(__FILE__)), ".exctl")
require 'exctl'
require 'exctl/dispatch'
Exctl::Dispatch::dispatch($PROJ_ROOT, ARGV)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
exctl-0.0.4 templates/dispatch-wrapper.erb