generalized rakefile for better copypasta