lein-lobos plug in

33 views
Skip to first unread message

J. Pablo Fernández

unread,
Aug 20, 2011, 5:32:27 AM8/20/11
to lobos-...@googlegroups.com
Hello,

I created a simple lein-lobos plugin for running migrations and rolling back: https://github.com/pupeno/lein-lobos (warning, it still uses lobos.core/run).

I see other projects, like Noir, having a separate project for the lein plugin, which I think it makes sense for two reasons:
  • you probably don't want to pull the whole lobos and all it's dependencies into lein itself as you want lein to load as fast as possible (not sure how true this is)
  • lein tasks currently in Lobos, for maintenance of the web site, would be mixed with the lein tasks to be used by third parties; not sure if they can be separated
Maybe we'll create more tasks in the future, to create migrations, config, etc. That way, projects can be easily loboized and there's no discussion about where to put the database config, migrations, etc.

J. Pablo Fernández

unread,
Aug 21, 2011, 5:14:49 AM8/21/11
to lobos-...@googlegroups.com
I just pushed a new update that uses lobos.core/migrate and the new open-global.
Reply all
Reply to author
Forward
0 new messages