Skip to content

Instantly share code, notes, and snippets.

@sergioalvz
sergioalvz / new_hg_gem.sh
Last active August 29, 2015 14:06 — forked from dgsuarez/new_hg_gem.sh
Uses Mercurial instead of Git in a gem generated by "bundle gem" but removes the spec, test and features files from the *.gemspec
#! /bin/sh
set -e
bundle gem $1
cd $1
rm -rf .git
mv .gitignore .hgignore