Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
executable file
·
31 lines (29 loc) · 765 Bytes

File metadata and controls

executable file
·
31 lines (29 loc) · 765 Bytes
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/sh
echo "compile..."
node ../node_modules/typescript/bin/tsc || exit 1
echo "process..."
node build/process.js bytecode.md
R=$?
if [ $R = 10 ] ; then
diff -u bytecode.md bytecode.md.new
printf "Apply changes? Enter - yes, Ctrl-C to stop: "
read LINE
mv bytecode.md.new bytecode.md
node build/process.js bytecode.md
R=$?
fi
if [ $R != 0 ] ; then
echo "exit $R"
exit $R
fi
set -x
set -e
cp build/bytecode.ts ../compiler/src/
cp build/devs_bytecode.h ../runtime/devicescript/devs_bytecode.h
clang-format -i ../runtime/devicescript/devs_bytecode.h
../node_modules/.bin/prettier -w ../compiler/src/bytecode.ts
MC=../../../microcode
if test -d $MC ; then
cp build/devs_bytecode.ts $MC
../node_modules/.bin/prettier -w $MC/devs_bytecode.ts
fi
Morty Proxy This is a proxified and sanitized view of the page, visit original site.