ddliu / grunt-push-svn

Push local directory to a specified SVN server
MIT License
14 stars 5 forks source link

i can not use this plugin???? #1

Closed grassmu closed 11 years ago

grassmu commented 11 years ago

i saw the example,but it always tell me "{ [Error: spawn ENOENT] code: 'ENOENT', errno: 'ENOENT', syscall: 'spawn' }"

my config is: push_svn:{ options:{ remove:false, message:"<%=pkg.version%>version uglify" }, min:{ src:"D:/workspace/webapp_o2o_v1", dest:"https://tc-svn.tencent.com/paipai/paipai_qgo_rep/qgo_proj/trunk/itg/weigou_domestic/v1.0/webapp_o2o_v1/WebRoot/assets/min/", tmp:"./tmp" }, build:{ src:"D:/workspace/webapp_o2o_v1/WebRoot/assets/build", dest:"https://tc-svn.tencent.com/paipai/paipai_qgo_rep/qgo_proj/trunk/itg/weigou_domestic/v1.0/webapp_o2o_v1/WebRoot/assets/build"

        }
    }

and i debug the code, find that when excute the "svn.getFile", it throw wrong.....

please tell me how i could write it??? thanks

ddliu commented 11 years ago

Do you have subversion(command line) installed?

There is an option not checked by default when you install tortoisesvn on Windows.

grassmu commented 11 years ago

let me have a try!

I saw the windows env path has no the svn.exe

please add this case to your readme. thanks

ddliu commented 11 years ago

Thank you for your feedback, I've updated README and released a new version.

Let me know if you have any problem.

ddliu commented 11 years ago

To install svn command line, you may need to reinstall tortoisesvn, and change an option during installation.