slagyr / gaeshi

Google App Engine library for Clojure
MIT License
39 stars 4 forks source link

Leiningen 2 #6

Open maacl opened 12 years ago

maacl commented 12 years ago

Is it possible to install this plugin using Leiningen 2. If so how is it done? I have tried adding:

[gaeshi/kuzushi "0.5.2"]

to .lein/profiles.clj, but that does not appear to work. gaeshi is added to .m2 though.

maacl commented 12 years ago

Forget that, looks like adding [gaeshi/lein-gaeshi "0.10.0"] instead did the trick.

maacl commented 12 years ago

The gaeshi command does not appear to work, whereas lein gaeshi does. This is fine except lein gaeshi new looks for a project.clj file which obviously does not exist.

slagyr commented 12 years ago

Martin,

Coincidentally, I added lein2 support yesterday.

Below is what my ~/.lein/profiles.clj looks like. The gaeshi entry should be the only one you need.

Let me know if you have trouble.

Micah

{ :1.2 { :dependencies [[org.clojure/clojure "1.2.0"]] } :1.3 { :dependencies [[org.clojure/clojure "1.3.0"]] } :1.4 { :dependencies [[org.clojure/clojure "1.4.0"]] } :user {:plugins [[lein-clojars "0.9.0"] [joodo/lein-joodo "0.10.0"] [gaeshi/lein-gaeshi "0.10.0"]]} }

On Jul 19, 2012, at 12:40 AM, Martin Clausen wrote:

Is it possible to install this plugin using Leinigen 2. If so how is it done? I have tried adding:

[gaeshi/kuzushi "0.5.2"]

to .lein/profiles.clj, but that does not appear to work. gaeshi is added to .m2 though.


Reply to this email directly or view it on GitHub: https://github.com/slagyr/gaeshi/issues/6

maacl commented 12 years ago

Thanks, the plugin installs but the gaeshi command (without lein) does not work. Neither does "lein gaeshi new" as it appears to look for a project.clj file which does not exist. I am on OSX btw, if that makes a difference.

slagyr commented 12 years ago

Martin,

Thanks. Turns our there were a few things I forgot with the update. I've added them and re-pused to version 0.10.0 since it was broken in the first place.

You'll have to delete your downloaded version to get the update.

rm -rf ~/.m2/repositories/gaeshi/lein-gaeshi

Then you should be good to go.

Micah

On Jul 19, 2012, at 10:26 AM, Martin Clausen wrote:

Thanks, the plugin installs but the gaeshi command (without lein) does not work. Neither does "lein gaeshi new" as it appears to look for a project.clj file which does not exist. I am on OSX btw, if that makes a difference.


Reply to this email directly or view it on GitHub: https://github.com/slagyr/gaeshi/issues/6#issuecomment-7101400

maacl commented 12 years ago

Thanks. The stand alone gaeshi command still does not work, but that is not a big deal.

Just in case someone else sees this the command to delete gaeshi from the repo is:

rm -rf ~/.m2/repository/gaeshi/lein-gaeshi

On Thu, Jul 19, 2012 at 3:03 PM, Micah Martin < reply@reply.github.com

wrote:

Martin,

Thanks. Turns our there were a few things I forgot with the update. I've added them and re-pused to version 0.10.0 since it was broken in the first place.

You'll have to delete your downloaded version to get the update.

    rm -rf ~/.m2/repositories/gaeshi/lein-gaeshi

Then you should be good to go.

Micah

On Jul 19, 2012, at 10:26 AM, Martin Clausen wrote:

Thanks, the plugin installs but the gaeshi command (without lein) does not work. Neither does "lein gaeshi new" as it appears to look for a project.clj file which does not exist. I am on OSX btw, if that makes a difference.


Reply to this email directly or view it on GitHub: https://github.com/slagyr/gaeshi/issues/6#issuecomment-7101400


Reply to this email directly or view it on GitHub: https://github.com/slagyr/gaeshi/issues/6#issuecomment-7108119

slagyr commented 12 years ago

Cool. That standalone gaeshi command was lein1 only… and I feel like it was a bad idea.

Micah

On Jul 19, 2012, at 2:16 PM, Martin Clausen wrote:

Thanks. The stand alone gaeshi command still does not work, but that is not a big deal.

Just in case someone else sees this the command to delete gaeshi from the repo is:

rm -rf ~/.m2/repository/gaeshi/lein-gaeshi

On Thu, Jul 19, 2012 at 3:03 PM, Micah Martin < reply@reply.github.com

wrote:

Martin,

Thanks. Turns our there were a few things I forgot with the update. I've added them and re-pused to version 0.10.0 since it was broken in the first place.

You'll have to delete your downloaded version to get the update.

   rm -rf ~/.m2/repositories/gaeshi/lein-gaeshi

Then you should be good to go.

Micah

On Jul 19, 2012, at 10:26 AM, Martin Clausen wrote:

Thanks, the plugin installs but the gaeshi command (without lein) does not work. Neither does "lein gaeshi new" as it appears to look for a project.clj file which does not exist. I am on OSX btw, if that makes a difference.


Reply to this email directly or view it on GitHub: https://github.com/slagyr/gaeshi/issues/6#issuecomment-7101400


Reply to this email directly or view it on GitHub: https://github.com/slagyr/gaeshi/issues/6#issuecomment-7108119


Reply to this email directly or view it on GitHub: https://github.com/slagyr/gaeshi/issues/6#issuecomment-7109580