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
8 changes: 1 addition & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,4 @@ jobs:
python -m pip install -r requirements.txt
- name: Build the JupyterLite site
run: |
cp README.md content
cd tskit-launcher
jlpm install
jlpm run build
pip install .
cd ..
jupyter lite build --contents content --output-dir dist
./build.sh
12 changes: 12 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash -e

cd tskit-launcher/
jlpm install
jlpm run build
pip install -e .
cd ..
rm -rf dist
jupyter lite build --contents content --output-dir dist
find content/ -type f -exec cat {} \; | sha256sum | cut -d' ' -f1 > content-hash.txt
HASH=$(cat content-hash.txt)
echo "{\"contentHash\":\"$HASH\",\"lastUpdated\":\"$(date -u +%Y-%m-%dT%H:%M:%SZ)\"}" > dist/lab/content-config.json
1 change: 1 addition & 0 deletions content-hash.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
05cfda449cc14ff90cee5a0e1f904008f159ce3fd094eb319c55c4fce01076f6
1 change: 0 additions & 1 deletion content/data/Museums_in_DC.geojson

This file was deleted.

54 changes: 0 additions & 54 deletions content/data/bar.vl.json

This file was deleted.

8 changes: 0 additions & 8 deletions content/data/fasta-example.fasta

This file was deleted.

151 changes: 0 additions & 151 deletions content/data/iris.csv

This file was deleted.

Binary file removed content/data/matplotlib.png
Binary file not shown.
86 changes: 0 additions & 86 deletions content/javascript.ipynb

This file was deleted.

Loading