1 Star 0 Fork 0

hkiuyu/blynk-library

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile 1.64 KB
一键复制 编辑 原始数据 按行查看 历史
Volodymyr Shymanskyy 提交于 2017-11-01 12:28 . Update Travis
.PHONY: docs format-examples cloc travis-build build-examples build-boards build-tools update-travis update-ver spaces clean check
export ARDUINO_IDE_PATH=/data2/arduino-1.8.5
export ENERGIA_IDE_PATH=/data2/energia-1.6.10E18
docs:
doxygen extras/doxygen.config
format-examples:
find examples tests -name '*.ino' -exec astyle --options=extras/formatter.conf {} \;
cloc:
cloc ./
build-examples:
python extras/build-examples.py
build-boards:
python extras/build-boards.py
build-tools:
cd ./extras/ide-tools/; ./build.sh BlynkUpdater
cd ./extras/ide-tools/; ./build.sh BlynkUsbScript
spaces:
find ./src ./linux -name '*.cpp' -o -name '*.h' -exec sed -i 's/\t/ /g' {} \;
find ./examples ./tests -name '*.ino' -o -name '*.h' -exec sed -i 's/\t/ /g' {} \;
update-travis:
python extras/travis-generate.py > .travis.yml.new
meld .travis.yml .travis.yml.new
update-ver:
sed -i 's/"version": "[0-9\.]*"/"version": "$(VER)"/g' library.json
sed -i 's/version=[0-9\.]*/version=$(VER)/g' library.properties
sed -i 's/BLYNK_VERSION "[0-9\.]*"/BLYNK_VERSION "$(VER)"/g' src/Blynk/BlynkConfig.h
clean:
-rm .travis.yml.new
-find . -type f -name "*.orig" -exec rm -f {} \;
check: spaces format-examples
@echo '******************************************'
@echo ' Files with no "YourAuthToken":'
@echo '******************************************'
@find ./examples -name "*.ino" -exec grep -L "YourAuthToken" {} \;
travis-build:
ifdef PLATFORMIO_CI_SRC
-rm -rf ./linux
ifdef PLATFORMIO_CI_EXTRA_ARGS
platformio ci --lib="." $(PLATFORMIO_CI_EXTRA_ARGS)
else
platformio ci --lib="." --board=uno
endif
endif
ifdef LINUX_SRC
make -C $(LINUX_SRC)
endif
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/hkiuyu/blynk-library.git
git@gitee.com:hkiuyu/blynk-library.git
hkiuyu
blynk-library
blynk-library
master

搜索帮助