1 Star 0 Fork 0

深度游子/arduino-eclipse-plugin

Create your Gitee Account
Explore and code with more than 14 million developers,Free private repositories !:)
Sign up
文件
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
build_then_launch.sh 1.19 KB
Copy Edit Raw Blame History
Wim Jongman authored 2018-01-15 03:03 +08:00 . Cannot IDE/plugin build on Mac OS X #898
#!/bin/bash
file_x86="./io.sloeber.product/target/products/io.sloeber.product/linux/gtk/x86/sloeber/sloeber-ide"
file_x86_64="./io.sloeber.product/target/products/io.sloeber.product/linux/gtk/x86_64/sloeber/sloeber-ide"
file=""
echo "Trying to build and then launch the Arduino Eclipse IDE"
echo "First we build with Maven. This may download a lot and take some time (it is downloading all Eclipse CDT for you)"
mvn --version
if [[ $? -ne 0 ]] ; then
echo "Maven not installed"
exit 1
fi
#This is the actual build
mvn clean verify -DskipTests=true
if [[ $? -ne 0 ]] ; then
echo "Problem in build"
exit 1
fi
echo "Searching for the Eclipse executable (with our plugin pre-packaged) to launch"
#Find an executable if we made it successfully
if [[ -x "$file_x86" ]]
then
#echo "File '$file_x86' is executable"
file=$file_x86
fi
if [[ -x "$file_x86_64" ]]
then
#echo "File '$file_x86_64' is executable"
file=$file_x86_64
fi
if [[ -x "$file" ]]
then
echo "Executing $file"
echo "Execute the executable above directly if you don't want to rebuild subsequently"
eval $file
exit 0;
else
echo "Did not find an Eclipse Arduino IDE executable built....."
exit 1;
fi
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/zusmart/arduino-eclipse-plugin.git
git@gitee.com:zusmart/arduino-eclipse-plugin.git
zusmart
arduino-eclipse-plugin
arduino-eclipse-plugin
master

Search