Skip to content

Commit b9dae91

Browse files
committed
Move from BlocklyDuino to Roboblocks.
1 parent f6c8d6f commit b9dae91

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

roboblocks/roboblocks.pro

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
roboblocks.commands = ./roboblocks.sh
2+
QMAKE_EXTRA_TARGETS = roboblocks

roboblocks/roboblocks.sh

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/bash
2+
## This script imports and builds Roboblocks, the required
3+
## Blockly-based HTML application that Visual Arduino
4+
## embeds.
5+
set -ex
6+
git clone https://github.com/bq/roboblocks.git
7+
cd roboblocks/
8+
npm install bower
9+
npm run bower
10+
cp -r bower_components/ src/
11+
cp -r bower_components/blockly-bq/media/ src/
12+
cp -r dist/* src/

0 commit comments

Comments
 (0)