-
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command not defined #1
Comments
add the following to your build def
np used to just override settings can get the auto setting mix treatment but there is an issue with that in sbt if you are using global plugins do the the order in which build definitions get evaluated. What I mainly wanted was a way to set a default name and org id for all my projects. I set those at a global level but found that you have a chicken and egg situation if you want to provide a default in the plugin (which I do) and and global override. In my case, the default overrides the global settings because of the order sbt loads settings. Try explicitly mixing in npSettings and get back to me. I'll leave the issue open until then. In the meantime, I'll update the readme. For reference, this is what I use locally in a
|
Ahhh, I see. Creating a It'd be nice to be able to use the plugin out of the box without 'importing' the settings, since most sbt plugins don't require that, but your reasons not to do that make sense. |
Yes, for defining plugin tasks its almost always a bad idea to override settings. In this of |
I installed the plugin as specified in the README:
I then created a new folder, cd'ed into it, ran sbt, and then attempted to run np:
Did I do something wrong? This is using sbt 0.11.1.
The text was updated successfully, but these errors were encountered: