fix menu json; fix travis upload

pull/193/head
Thorsten von Eicken 8 years ago
parent 8c8b6f1d2d
commit 7ce2d2a260
  1. 7
      .travis.yml
  2. 4
      Makefile
  3. 2
      esp-link/cgi.c

@ -13,8 +13,8 @@ after_script:
echo Uploading *.tgz to $S3_BUCKET; echo Uploading *.tgz to $S3_BUCKET;
curl -Ls https://github.com/rlmcpherson/s3gof3r/releases/download/v0.5.0/gof3r_0.5.0_linux_amd64.tar.gz | tar zxf - gof3r_0.5.0_linux_amd64/gof3r; curl -Ls https://github.com/rlmcpherson/s3gof3r/releases/download/v0.5.0/gof3r_0.5.0_linux_amd64.tar.gz | tar zxf - gof3r_0.5.0_linux_amd64/gof3r;
mv gof3r*/gof3r .; mv gof3r*/gof3r .;
ls *.tgz | xargs -I {} ./gof3r put -b $S3_BUCKET -k espruino/{} --acl public-read -p {}; ls *.tgz | xargs -I {} ./gof3r put -b $S3_BUCKET -k esp-link/{} --acl public-read -p {};
ls *.tgz | xargs -I {} echo \"URL: http://$S3_BUCKET/espruino/{}\"; ls *.tgz | xargs -I {} echo \"URL: http://$S3_BUCKET/esp-link/{}\";
fi" fi"
compiler: gcc compiler: gcc
@ -25,9 +25,6 @@ script:
- export XTENSA_TOOLS_ROOT=$PWD/xtensa-lx106-elf/bin/ - export XTENSA_TOOLS_ROOT=$PWD/xtensa-lx106-elf/bin/
- export BRANCH=$TRAVIS_BRANCH - export BRANCH=$TRAVIS_BRANCH
#- export SDK_BASE=$PWD/esp_iot_sdk_v2.0.0.p1 #- export SDK_BASE=$PWD/esp_iot_sdk_v2.0.0.p1
- ls
- ls ..
- echo $PWD
- make release - make release
notifications: notifications:

@ -485,8 +485,8 @@ release: all
$(Q) cp $(FW_BASE)/user1.bin $(FW_BASE)/user2.bin $(SDK_BASE)/bin/blank.bin \ $(Q) cp $(FW_BASE)/user1.bin $(FW_BASE)/user2.bin $(SDK_BASE)/bin/blank.bin \
"$(SDK_BASE)/bin/boot_v1.6.bin" "$(SDK_BASE)/bin/esp_init_data_default.bin" \ "$(SDK_BASE)/bin/boot_v1.6.bin" "$(SDK_BASE)/bin/esp_init_data_default.bin" \
wiflash avrflash release/esp-link-$(BRANCH) wiflash avrflash release/esp-link-$(BRANCH)
$(Q) tar zcf esp-link-$(BRANCH).tgz -C release esp-link-$(BRANCH) $(Q) tar zcf esp-link-$(BRANCH)-$(SHA).tgz -C release esp-link-$(BRANCH)
$(Q) echo "Release file: esp-link-$(BRANCH).tgz" $(Q) echo "Release file: esp-link-$(BRANCH)-$(SHA).tgz"
$(Q) rm -rf release $(Q) rm -rf release
clean: clean:

@ -214,7 +214,7 @@ int ICACHE_FLASH_ATTR cgiMenu(HttpdConnData *connData) {
"\"REST/MQTT\", \"/mqtt.html\", " "\"REST/MQTT\", \"/mqtt.html\", "
#endif #endif
"\"Debug log\", \"/log.html\"," "\"Debug log\", \"/log.html\","
"\"Upgrade Firmware\", \"/flash.html\"" "\"Upgrade Firmware\", \"/flash.html\","
"\"Web Server\", \"/web-server.html\"" "\"Web Server\", \"/web-server.html\""
"%s" "%s"
" ], " " ], "

Loading…
Cancel
Save