Skip to content

Commit 1a932a5

Browse files
committed
Move non-main files into util/
1 parent 0e0c103 commit 1a932a5

File tree

11 files changed

+6
-3
lines changed

11 files changed

+6
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ jobs:
123123
tags: ${{ steps.meta.outputs.tags }}
124124
labels: ${{ steps.meta.outputs.labels }}
125125
target: main
126+
file: util/Dockerfile
126127
deploy:
127128
runs-on: ubuntu-latest
128129
if: |

.github/workflows/stage.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,6 @@ jobs:
2727
name: scrapscript-pr-${{ github.event.number }}
2828
region: ewr
2929
org: personal
30+
config: util
3031
env:
3132
FLY_API_TOKEN: ${{ secrets.FLY_API_DEPLOY_TOKEN }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ python3 scrapscript.py repl
2525
or with [Cosmopolitan](https://justine.lol/cosmopolitan/index.html):
2626

2727
```bash
28-
./build-com
28+
./util/build-com
2929

3030
# With a file
3131
./scrapscript.com eval examples/0_home/factorial.scrap

Dockerfile renamed to util/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
FROM caddy as web
22
COPY . .
33
RUN echo ":8000" > /etc/caddy/Caddyfile
4-
RUN echo "rewrite /repl /repl.html" >> /etc/caddy/Caddyfile
5-
RUN echo "rewrite /compilerepl /compilerepl.html" >> /etc/caddy/Caddyfile
4+
RUN echo "rewrite /repl /util/repl.html" >> /etc/caddy/Caddyfile
5+
RUN echo "rewrite /compilerepl /util/compilerepl.html" >> /etc/caddy/Caddyfile
6+
RUN echo "rewrite /style.css /util/style.css" >> /etc/caddy/Caddyfile
67
RUN echo "log" >> /etc/caddy/Caddyfile
78
RUN echo "file_server" >> /etc/caddy/Caddyfile
89

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)