CL-MAGIC

Magic tools for a turnkey developer experience.

Installation

gem install cl-magic

And make it available everywhere

# find magic tools
MAGIC_INSTALLED_AT="$(gem info cl-magic | grep Installed | cut -d':' -f2 | xargs)/gems"
MAGIC_DIR="$(ls -d1 $MAGIC_INSTALLED_AT/cl-magic-*)"

# install vendorized gems
cd $MAGIC_DIR bundle install --path=vendor

# symlink
ln -s $MAGIC_DIR/bin/cl /usr/local/bin

Development

For local development

Remove any previously installed simlink

rm /usr/local/bin/cl

Then sim-link the source code instead

ln -s $(pwd)/bin/cl /usr/local/bin

NOTE: if using dk make-world, you'll need to reset your world path

dk world set --path ./dk-world