File tree Expand file tree Collapse file tree 3 files changed +40
-4
lines changed Expand file tree Collapse file tree 3 files changed +40
-4
lines changed Original file line number Diff line number Diff line change 1+ bin /
2+ dist /
Original file line number Diff line number Diff line change 1+ sudo : false 
2+ 
3+ language : java 
4+ 
5+ os :
6+   - linux 
7+ 
8+ addons :
9+   apt :
10+     packages :
11+     - ant 
12+ 
13+ jdk :
14+   - oraclejdk8 
15+ 
16+ script :
17+   - export SRC=$PWD 
18+   - cd $HOME 
19+   - export TAG=1.6.6 
20+   - wget https://github.com/arduino/Arduino/archive/$TAG.zip 
21+   - unzip $TAG.zip 
22+   - rm $TAG.zip 
23+   - export arduino_dir=Arduino-$TAG 
24+   - pushd $arduino_dir/build 
25+   - echo "" | ant build 
26+   - pushd shared/tools 
27+   - mkdir -p ESP8266FS 
28+   - rsync -a $SRC/ ESP8266FS/ 
29+   - pushd ESP8266FS 
30+   - ./make.sh 
31+   - popd && popd && popd 
Original file line number Diff line number Diff line change 1- #! /bin/sh 
1+ #! /usr/ bin/env bash 
22
33if  [[ -z  " $INSTALLDIR " ;  then 
44    INSTALLDIR=" $HOME /Documents/Arduino" 
55fi 
66echo  " INSTALLDIR: $INSTALLDIR " 
77
8- pde_path=` find ../../.. -name pde.jar` 
9- core_path=` find ../../.. -name arduino-core.jar` 
10- lib_path=` find ../../.. -name commons-codec-1.7.jar` 
8+ pde_path=` find ../../../  -name pde.jar` 
9+ core_path=` find ../../../  -name arduino-core.jar` 
10+ lib_path=` find ../../../  -name commons-codec-1.7.jar` 
1111if  [[ -z  " $core_path " ||  -z  " $pde_path " ;  then 
1212    echo  " Some java libraries have not been built yet (did you run ant build?)" 
1313    return  1
1414fi 
15+ echo  " pde_path: $pde_path " 
16+ echo  " core_path: $core_path " 
17+ echo  " lib_path: $lib_path " 
1518
1619set  -e
1720
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments