環境構築#
scratch3-tello リポジトリには scratch-vm と scratch-gui リポジトリに対する差分がファイル単位で格納されています。そのため、scratch3-telloをビルドするためには、scratch-vm と scratch-gui をクローンしてから、差分を適用する必要があります。
必要なもの#
- wget
- git
- node.js
- npm
作業用フォルダの作成#
$ mkdir scratch3-tello
$ cd scratch3-telloビルドスクリプトのダウンロード#
$ wget https://raw.githubusercontent.com/kebhr/scratch3-tello/master/build.sh
$ chmod +x build.shビルドスクリプトの実行#
$ ./build.shbuild.sh を実行することで、自動的に scratch-vm, scratch-gui, scratch-desktop がクローンされ、scratch3-tello で管理されている変更差分が適用されます。
Scratch3-Tello の起動#
$ cd scratch-desktop
$ npm startパッケージを作成#
$ cd scratch-desktop
$ npm run dist