-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This reverts commit e607c88.
- Loading branch information
Tom Ball
committed
May 16, 2022
1 parent
e607c88
commit 3843d45
Showing
7 changed files
with
57 additions
and
74 deletions.
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 |
---|---|---|
@@ -1,15 +1,15 @@ | ||
# MakeCode | ||
built | ||
node_modules | ||
yotta_modules | ||
yotta_targets | ||
pxt_modules | ||
_site | ||
*.db | ||
*.tgz | ||
.header.json | ||
.simstate.json | ||
docs/assets/js/binary-local.js | ||
dist | ||
others | ||
# MakeCode | ||
built | ||
node_modules | ||
yotta_modules | ||
yotta_targets | ||
pxt_modules | ||
_site | ||
*.db | ||
*.tgz | ||
.header.json | ||
.simstate.json | ||
docs/assets/js/binary-local.js | ||
dist | ||
others | ||
*.gts |
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,5 +1,5 @@ | ||
#!/bin/sh | ||
|
||
set -e | ||
git pull | ||
makecode bump --version-file version.ts | ||
#!/bin/sh | ||
|
||
set -e | ||
git pull | ||
makecode bump --version-file version.ts |
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
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,6 +1,6 @@ | ||
#!/bin/sh | ||
|
||
set -e | ||
makecode -u -j --mono-repo -c mkc.json | ||
makecode -u -j --mono-repo -c mkc-maker.json | ||
makecode -u -j --mono-repo -c mkc-arcade.json | ||
#!/bin/sh | ||
|
||
set -e | ||
makecode -u -j --mono-repo -c mkc.json | ||
makecode -u -j --mono-repo -c mkc-maker.json | ||
makecode -u -j --mono-repo -c mkc-arcade.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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
#!/bin/sh | ||
|
||
set -e | ||
set -x | ||
if test -d ../../../../pxt-common-packages/libs/wifi---esp32 ; then | ||
cfg=mkc-local.json | ||
else | ||
cfg=mkc.json | ||
fi | ||
mkc build -d --config-path $cfg | ||
mkc serve -p 3232 --config-path $cfg | ||
#cp built/binary.js ../../docs/assets/js/binary-local.js | ||
#!/bin/sh | ||
|
||
set -e | ||
set -x | ||
if test -d ../../../../pxt-common-packages/libs/wifi---esp32 ; then | ||
cfg=mkc-local.json | ||
else | ||
cfg=mkc.json | ||
fi | ||
mkc build -d --config-path $cfg | ||
mkc serve -p 3232 --config-path $cfg | ||
#cp built/binary.js ../../docs/assets/js/binary-local.js |
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,7 +1,7 @@ | ||
#!/bin/sh | ||
|
||
test -f mkc.json.bkp || cp mkc.json mkc.json.bkp | ||
cp mkc-local.json mkc.json | ||
mkc init --symlink-pxt-modules | ||
mv mkc.json.bkp mkc.json | ||
rm -rf pxt_modules/jacdac* tsconfig.json | ||
#!/bin/sh | ||
|
||
test -f mkc.json.bkp || cp mkc.json mkc.json.bkp | ||
cp mkc-local.json mkc.json | ||
mkc init --symlink-pxt-modules | ||
mv mkc.json.bkp mkc.json | ||
rm -rf pxt_modules/jacdac* tsconfig.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 |
---|---|---|
@@ -1,14 +1,14 @@ | ||
#!/bin/sh | ||
|
||
set -e | ||
git pull | ||
for f in $(find . -name '*.gts'); do | ||
echo "processing $f..."; | ||
cf="${f%.*}.g.ts" | ||
if [ -f $cf ] | ||
then | ||
cp "$f" "${cf}" | ||
fi | ||
done | ||
|
||
#!/bin/sh | ||
|
||
set -e | ||
git pull | ||
for f in $(find . -name '*.gts'); do | ||
echo "processing $f..."; | ||
cf="${f%.*}.g.ts" | ||
if [ -f $cf ] | ||
then | ||
cp "$f" "${cf}" | ||
fi | ||
done | ||
|
||
prettier --write **/*.ts |