Skip to content
Open
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
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules/*
20 changes: 20 additions & 0 deletions .github/workflows/build-on-push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Build and test application on push to remote

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 22
- run: make build
- run: make test
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.idea
node_modules
build/
build/
docker-compose.override.yml
11 changes: 7 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
SHELL = /bin/bash

.PHONY: build
build: docker-compose.override.yml
docker-compose run --rm web npm run build
build: node_modules
npm run build

.PHONY: test
test: docker-compose.override.yml
test: docker-compose.override.yml node_modules
docker-compose run --rm test npm run test

docker-compose.override.yml:
Expand All @@ -16,4 +16,7 @@ docker-compose.override.yml:
@echo " user: `id -u`:`id -g`" >> docker-compose.override.yml

dist/js/app.js:
dist/js/app.js: build
dist/js/app.js: build

node_modules:
npm install
4 changes: 2 additions & 2 deletions TODO
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
- [X] Add `Code` renderer to syntax highlight quines or other code output.
- [X] Responsive view
- [X] Fix the mime selector as that has some undesirable behaviour when editing at the moment.
- [X] Add Ruby (https://runrb.io/)
- [ ] Check a bunch of existing answers and fix what's broken
- [ ] Verify `LICENSE`s before adding one here
- [ ] Clean up the used `webperl` implementation (to make updating easier)
- [ ] Add different versions of Perl (older versions supporting `?..?` in `s///`, literal `$^V`, etc)
- [ ] Add PHP (https://github.com/oraoto/pib)
- [ ] Add Ruby (https://runrb.io/)
- [ ] Add Python (https://pyodide.org/)
- [-] Add Python (https://pyodide.org/)
- [ ] Add C#? (https://blazor.net/)
- [ ] Maybe add bash via jslinux somehow? (https://bellard.org/jslinux/)
- [ ] Accessibility (aria-label of all fields etc)
Expand Down
7 changes: 7 additions & 0 deletions coi-serviceworker.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions coi-serviceworker.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading