Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F4442431
demo.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
288 B
Referenced Files
None
Subscribers
None
demo.sh
View Options
#!/usr/bin/env bash
set
-euo
pipefail
SCRIPT_DIR
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
&&
pwd
)
"
SRC
=
"
${
SCRIPT_DIR
}
/hello.c"
BASE
=
"
${
SRC
%.c
}
"
emcc
-O3
"
$SRC
"
-o
"
${
BASE
}
.cjs"
./build/ant
-pe
"\`running ant \${Ant.version}\`"
./build/ant
"
${
BASE
}
.cjs"
rm
-f
"
${
BASE
}
.cjs"
"
${
BASE
}
.wasm"
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Sat, May 2, 9:34 AM (1 d, 23 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
541854
Default Alt Text
demo.sh (288 B)
Attached To
Mode
rANT Ant
Attached
Detach File
Event Timeline
Log In to Comment