Categories:
  - Development
  - Science & Education
License: GPL-2.0-or-later
WebSite: https://sensebox.de
SourceCode: https://github.com/sensebox/blockly-app
IssueTracker: https://github.com/sensebox/blockly-app/issues

AutoName: Blockly for senseBox
Description: Blockly for senseBox is a visual programming editor for the senseBox:edu
    on mobile. It is based on Google's Blockly and Carlos Pereira Atencio's Ardublockly.
    Compiled code is uploaded directly onto the MCU via WiFi.

RepoType: git
Repo: https://github.com/sensebox/blockly-app

Builds:
  - versionName: 1.1.2
    versionCode: 10102
    commit: v1.1.2
    submodules: true
    sudo:
      - apt update || apt update
      - apt install -y -t stretch-backports npm
    output: platforms/android/app/build/outputs/apk/release/app-release-unsigned.apk
    build:
      - mkdir -p "$PWD/npm"
      - npm config set prefix "$PWD/npm"
      - export PATH="$PATH:$PWD/npm/bin"
      - npm install -g ionic cordova
      - npm install
      - npm run android:build
      - cd platforms/android/app
      - gradle assembleRelease

MaintainerNotes: This is an Ionic 3 / Cordova app, built from source.

AutoUpdateMode: Version v%v
UpdateCheckMode: HTTP
UpdateCheckIgnore: alpha
UpdateCheckData: https://raw.githubusercontent.com/sensebox/blockly-app/master/config.xml|version=\"([^\"]+)\"|https://raw.githubusercontent.com/sensebox/blockly-app/master/config.xml|android-versionCode=\"([^\"]+)\"
CurrentVersion: 1.1.2
CurrentVersionCode: 10102