-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
38bfab5
commit af3f86f
Showing
19 changed files
with
669 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
index.html linguist-generated=true | ||
assets/index.html linguist-generated=true | ||
assets/js/loader.js linguist-generated=true | ||
assets/js/binary.js linguist-generated=true | ||
assets/version.txt linguist-generated=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
name: MakeCode Arcade Release | ||
|
||
on: | ||
release: | ||
types: | ||
- created | ||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [8.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: install node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: install makecode | ||
run: | | ||
npm install -g pxt | ||
pxt target arcade | ||
- name: build js | ||
run: | | ||
pxt clean | ||
pxt install | ||
pxt build --cloud | ||
- name: build D51 | ||
continue-on-error: true | ||
run: | | ||
pxt clean | ||
pxt install --hw samd51 | ||
pxt build --hw samd51 --cloud | ||
cp ./built/binary.uf2 binary-d51.uf2 | ||
- name: build F4 | ||
continue-on-error: true | ||
run: | | ||
pxt clean | ||
pxt install --hw stm32f401 | ||
pxt build --hw stm32f401 --cloud | ||
cp ./built/binary.uf2 binary-f4.uf2 | ||
- name: build P0 | ||
continue-on-error: true | ||
run: | | ||
pxt clean | ||
pxt install --hw rpi | ||
pxt build --hw rpi --cloud | ||
cp ./built/binary.uf2 binary-p0.uf2 | ||
- name: bundle all | ||
run: | | ||
cat binary-*.uf2 > built/arcade.uf2 | ||
- name: upload bundled | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ github.event.release.upload_url }} | ||
asset_path: ./built/arcade.uf2 | ||
asset_name: arcade.uf2 | ||
asset_content_type: application/octet-stream |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,12 @@ | ||
# Initial | ||
# MakeCode | ||
built | ||
node_modules | ||
yotta_modules | ||
yotta_targets | ||
pxt_modules | ||
.pxt | ||
_site | ||
*.db | ||
*.tgz | ||
.header.json | ||
.simstate.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"recommendations": ["ms-edu.pxt-vscode-web"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"editor.formatOnType": true, | ||
"files.autoSave": "afterDelay", | ||
"files.watcherExclude": { | ||
"**/.git/objects/**": true, | ||
"**/built/**": true, | ||
"**/node_modules/**": true, | ||
"**/yotta_modules/**": true, | ||
"**/yotta_targets": true, | ||
"**/pxt_modules/**": true, | ||
"**/.pxt/**": true | ||
}, | ||
"files.associations": { | ||
"*.blocks": "html", | ||
"*.jres": "json" | ||
}, | ||
"search.exclude": { | ||
"**/built": true, | ||
"**/node_modules": true, | ||
"**/yotta_modules": true, | ||
"**/yotta_targets": true, | ||
"**/pxt_modules": true, | ||
"**/.pxt": true | ||
}, | ||
"files.exclude": { | ||
"**/pxt_modules": true, | ||
"**/.pxt": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
source 'https://rubygems.org' | ||
gem 'github-pages', group: :jekyll_plugins |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
all: deploy | ||
|
||
build: | ||
pxt build | ||
|
||
deploy: | ||
pxt deploy | ||
|
||
test: | ||
pxt test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
|
||
> Open this page at [https://v-katherine.github.io/uy/](https://v-katherine.github.io/uy/) | ||
## Use as Extension | ||
|
||
This repository can be added as an **extension** in MakeCode. | ||
|
||
* open [https://arcade.makecode.com/](https://arcade.makecode.com/) | ||
* click on **New Project** | ||
* click on **Extensions** under the gearwheel menu | ||
* search for **https://github.com/v-katherine/uy** and import | ||
|
||
## Edit this project | ||
|
||
To edit this repository in MakeCode. | ||
|
||
* open [https://arcade.makecode.com/](https://arcade.makecode.com/) | ||
* click on **Import** then click on **Import URL** | ||
* paste **https://github.com/v-katherine/uy** and click import | ||
|
||
#### Metadata (used for search, rendering) | ||
|
||
* for PXT/arcade | ||
<script src="https://makecode.com/gh-pages-embed.js"></script><script>makeCodeRender("{{ site.makecode.home_url }}", "{{ site.github.owner_name }}/{{ site.github.repository_name }}");</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
makecode: | ||
target: arcade | ||
platform: arcade | ||
home_url: https://arcade.makecode.com/ | ||
theme: jekyll-theme-slate | ||
include: | ||
- assets | ||
- README.md |
Empty file.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/** | ||
* This will be loaded before starting the simulator. | ||
* If you wish to add custom javascript, | ||
* ** make sure to add this line to pxt.json** | ||
* | ||
* "disableTargetTemplateFiles": true | ||
* | ||
* otherwise MakeCode will override your changes. | ||
* | ||
* To register a constrol simmessages, use addSimMessageHandler | ||
*/ |
Oops, something went wrong.