Skip to content

Commit 1179d13

Browse files
authored
Merge pull request #6 from t-strings/fix-build-script
fix build script
2 parents eb8e887 + 42f59fa commit 1179d13

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/build-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Install the project
3737
run: uv sync --locked --all-extras --dev
3838
- name: Build sphinx site
39-
run: uv run make playground
39+
run: uv run make build-playground
4040
- name: Copy CNAME from root into build
4141
run: |
4242
if [ -f CNAME ]; then

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ help:
1616

1717
# Catch-all target: route all unknown targets to Sphinx using the new
1818
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
19-
%: Makefile
20-
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
19+
# %: Makefile
20+
# @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
2121

2222

2323
.PHONY: build-playground
2424
build-playground: check-jq
2525
@echo "Building playground..."
26-
rm -rf public/lite
27-
jupyter lite build
26+
rm -rf public/lite && \
27+
jupyter lite build && \
2828
python tools/patch_jlite_json.py \
2929
public/lite/jupyter-lite.json && \
3030
cp -frpv pyodide public/lite/

0 commit comments

Comments
 (0)