Sha256: 1184c46a138422294a53a826779d555381a52f27227e22f4b3f0fb635a8440ef

Contents?: true

Size: 541 Bytes

Versions: 1

Compression:

Stored size: 541 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(ARGV)

Version data entries

1 entries across 1 versions & 1 rubygems

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