Open Drarok opened 10 years ago
Impromptu modules are normal NPM dependencies, so you need to install it as a dependency of your prompt's NPM package. It's not published on NPM because honestly I haven't tested it much (I rarely use SVN for anything), though it is running in my prompt.
If you do want to use it this should work. Note, this requires compiling the CoffeeScript yourself (which would normally be done for you in a published package).
cd ~/.impromptu
npm install Impromptu/impromptu-svn --save
cd node_modules/impromptu-svn
cake build
I've got Impromptu itself running, but I can't figure out (working blind) how to install impromptu-svn. I've cloned the repo and copied the README into my prompt.coffee, but I get an error that svn isn't defined. So I added
svn = @module.require 'impromptu-svn'
, but then I get an error about async!