Skip to content

Commit

Permalink
remove demo page from navigation and remove build action
Browse files Browse the repository at this point in the history
  • Loading branch information
MathematicalDessert committed Nov 9, 2021
1 parent 80ff5e3 commit 69a97d3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 32 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,31 +33,3 @@ jobs:
with:
name: luau-${{matrix.os}}
path: Release\luau*.exe
web:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: setup emsdk
uses: mymindstorm/setup-emsdk@v9
with:
version: 1.38.40
actions-cache-folder: 'emsdk-cache'
- name: verify emsdk
run: |
emcc -v # verify emscripten installed successfully
- name: cmake configure
run: |
emcmake cmake .
- name: build
run: |
cmake --build . --target Luau.Repl.CLI --config Debug # as seen above but only Repl.CLI.
- uses: actions/upload-artifact@v2
with:
name: luau.wasm
path: docs/assets/luau/luau.wasm
if-no-files-found: error
- uses: actions/upload-artifact@v2
with:
name: luau.js
path: docs/assets/luau/luau.js
if-no-files-found: error
2 changes: 1 addition & 1 deletion CLI/Repl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ static std::string runCode(lua_State* L, const std::string& source)
else
{
std::string error;

if (status == LUA_YIELD)
{
error = "thread yielded unexpectedly";
Expand Down
6 changes: 4 additions & 2 deletions docs/_data/navigation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,7 @@ pages:
url: /profile
- title: Library
url: /library
- title: Demo
url: /demo

# Remove demo pages until solution is found
# - title: Demo
# url: /demo
2 changes: 1 addition & 1 deletion docs/_includes/repl.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@
}
}
</script>
<script async src="assets/luau/luau.js"></script>
<script async src="assets/luau/luau.js"></script>

0 comments on commit 69a97d3

Please sign in to comment.