Skip to content

Commit

Permalink
Stub out a call to the jar
Browse files Browse the repository at this point in the history
  • Loading branch information
tclem committed Sep 27, 2011
1 parent 5901d59 commit 530d2f3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions plugin/vim-arduino
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#!/bin/sh

echo "my shell script is running"
java \
-Djava.library.path=/Applications/Arduino.app/Contents/Resources/Java \
-d32 \
-Dfile.encoding=MacRoman \
-classpath/Applications/Arduino.app/Contents/Resources/Java \
-jar arduino-cli.jar
2 changes: 1 addition & 1 deletion plugin/vim-arduino.vim
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ let s:helper_dir = expand("<sfile>:h")

" NOTES
"
" Reference for how arduino IDE does the compilation:
" Reference for how the Arduino IDE does compilation:
" https://github.com/arduino/Arduino/blob/0022/app/src/processing/app/debug/Compiler.java
function! ArduinoCompile()
echo system(s:helper_dir."/vim-arduino")
Expand Down

0 comments on commit 530d2f3

Please sign in to comment.