This Makefile aids in developing a ruby gem. It's pretty opinionated to my workflow, but it might be useful to you, so here it goes.
- Assumes you use of [
gs
][gs] (or [gst
][gst]) for managing gemsets. - Assumes you use [
dep
][dep] for installing dependencies. Because fuck Bundler. - Assumes the directory in which the source code is located is named
after the gem. So
basename $(dirname $(pwd))
would returnfoo