Skip to content

Instantly share code, notes, and snippets.

@raa0121
Created April 8, 2014 06:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save raa0121/10096507 to your computer and use it in GitHub Desktop.
Save raa0121/10096507 to your computer and use it in GitHub Desktop.
let s:V = vital#of('vital')
let s:List = s:V.import('Data.List')
let s:File = s:V.import('System.File')
let s:Cache = s:V.import('System.Cache')
let s:ProMan = s:V.import('ProcessManager')
function! sbtimport#start_sbt()
call s:ProMan.touch('sbt', 'sbt')
endfunction
function! sbtimport#check_libraryDependencies()
call s:ProMan.touch('sbt', 'sbt')
call s:ProMan.writeln('sbt', 'show libraryDependencies')
return split(matchstr(s:ProMan.read_wait('sbt', ["> "])[0], 'List(\zs.\{-}\ze)'), ',')
endfunction
echo sbtimport#check_libraryDependencies()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment