Made client/[name] generate static pages
All checks were successful
checks-impure / test (pull_request) Successful in 26s
checks / test (pull_request) Successful in 1m19s

This commit is contained in:
2024-01-23 00:17:24 +01:00
parent d54206f43c
commit 6f4bab98c1
7 changed files with 45 additions and 13 deletions

View File

@@ -8,7 +8,7 @@ pkgs.mkShell {
fmod.config.floco.settings.nodePackage
];
shellHook = ''
ID=${pkg.built.tree}
export ID=${pkg.built.tree}
currID=$(cat .floco/.node_modules_id 2> /dev/null)
mkdir -p .floco
@@ -22,10 +22,11 @@ pkgs.mkShell {
ln -sf ${pkgs.roboto}/share/fonts ./src
export PATH="$PATH:$(realpath ./node_modules)/.bin"
export NEXT_BUILD_ID=$(git log -1 --pretty=format:"%H")
# re-generate the api code
rm -rf src/api openapi.json
rm -f openapi.json
rm -rf src/api
cp ${clanPkgs.clan-openapi}/openapi.json .
orval
'';