Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: Web console (GitHub Pages)

# The Emulator Console (web/): the page the firmware advertises as its WebUSB
# landing page (esp-cpp.github.io/<repo>/). Needs Settings -> Pages -> Source:
# GitHub Actions.
# The Emulator Console (web/, from the emulink submodule): the page the
# firmware advertises as its WebUSB landing page (esp-cpp.github.io/<repo>/).
# Needs Settings -> Pages -> Source: GitHub Actions.
on:
push:
branches: [main]
paths:
- 'web/**'
- 'components/emulink'
- '.github/workflows/pages.yml'
workflow_dispatch:

Expand All @@ -28,11 +28,13 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v4
- name: The emulink submodule (only it)
run: git submodule update --init components/emulink
- name: Check the scripts parse
run: for f in web/*.js; do node --check "$f"; done
run: for f in components/emulink/web/*.js; do node --check "$f"; done
- uses: actions/configure-pages@v5
- uses: actions/upload-pages-artifact@v3
with:
path: web
path: components/emulink/web
- id: deployment
uses: actions/deploy-pages@v4
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,7 @@
path = components/darkforces/TheForceEngine
url = https://github.com/esp-cpp/TheForceEngine.git
branch = main
[submodule "components/emulink"]
path = components/emulink
url = https://github.com/esp-cpp/emulink.git
branch = main
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ set(EMULATOR_COMPONENTS

set(
COMPONENTS
"main esptool_py esp_lcd esp_psram task format display display_drivers monitor timer ${EMULATOR_COMPONENTS} box-emu gui menu settings devlink"
"main esptool_py esp_lcd esp_psram task format display display_drivers monitor timer ${EMULATOR_COMPONENTS} box-emu gui menu settings emulink"
CACHE STRING
"List of components to include"
FORCE
Expand Down
12 changes: 0 additions & 12 deletions components/devlink/CMakeLists.txt

This file was deleted.

7 changes: 0 additions & 7 deletions components/devlink/idf_component.yml

This file was deleted.

112 changes: 0 additions & 112 deletions components/devlink/include/devlink.hpp

This file was deleted.

201 changes: 0 additions & 201 deletions components/devlink/src/devlink.cpp

This file was deleted.

1 change: 1 addition & 0 deletions components/emulink
Submodule emulink added at 343377
Loading