<gs-element-blockly>
Element providing Blockly interface for Gobstones Web
Install Development Environment
First, make sure you have the Polymer CLI and Bower installed.
$ npm install -g bower polymer-cli vulcanizeThen, run both npm install and bower install.
This will install Husky and a Git hook that will lint your code before each commit. It's recommended to install an ESlint extension on your code editor, to see linting errors when you code.
Viewing Your Application
$ polymer serve
After running it, go to http://localhost:8080/components/gs-element-blockly/demo to see the component in action.
Running Tests
$ polymer test
Your application is already set up to be tested via web-component-tester.
Deploy Demo to mumuki.github.io/gs-element-blockly
Just create a folder and run gp.sh with parameters:
mkdir temp
cd temp
../gp.sh mumuki gs-element-blockly dev
cd ..
rm -rf tempor simply execute ./deploy-gh-pages.sh.
Building
This command will build a minified .html file with all included:
./build.shGem wrapper
This module can also be deployed a ruby gem. mumuki-gobstones-blockly works with Ruby >= 2.3.1
./build-gem.shTagging and releasing
Run the ./tag.sh script with the version you want. For instance, to tag version 1.0.0 you should execute:
./tag.sh 1.0.0