build: copy mini moonboard problems into derivation
This commit is contained in:
parent
a8e90f26ff
commit
09d09159f2
2
.gitignore
vendored
2
.gitignore
vendored
@ -8,3 +8,5 @@ node_modules/
|
|||||||
test-results/
|
test-results/
|
||||||
end2end/playwright-report/
|
end2end/playwright-report/
|
||||||
playwright/.cache/
|
playwright/.cache/
|
||||||
|
|
||||||
|
/datastore/
|
||||||
|
@ -1 +1,6 @@
|
|||||||
# Ascend
|
# Ascend
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
<img src="docs/ascend.jpg" alt="Logo" width="100%">
|
||||||
|
</p>
|
||||||
|
|
||||||
|
BIN
docs/ascend.jpg
Normal file
BIN
docs/ascend.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 160 KiB |
@ -61,9 +61,14 @@
|
|||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
|
mkdir -p $out/data
|
||||||
|
|
||||||
cp target/release/ascend $out/bin/
|
cp target/release/ascend $out/bin/
|
||||||
cp -r target/site $out/
|
cp -r target/site $out/
|
||||||
wrapProgram $out/bin/ascend --set LEPTOS_SITE_ROOT $out/site
|
wrapProgram $out/bin/ascend --set LEPTOS_SITE_ROOT $out/site
|
||||||
|
|
||||||
|
mkdir -p $out/data/moonboard-problems
|
||||||
|
cp "moonboard-problems/problems Mini MoonBoard 2020 40.json" $out/data/moonboard-problems/
|
||||||
'';
|
'';
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user