impromptu / impromptu-svn

An SVN module for Impromptu.
MIT License
0 stars 1 forks source link

Can't work out how to install and set up this module, no documentation. #1

Open Drarok opened 10 years ago

Drarok commented 10 years ago

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!

evansolomon commented 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