Skip to content

Commit

Permalink
deploy cozy code viewer
Browse files Browse the repository at this point in the history
  • Loading branch information
CrowdHailer committed Jul 31, 2023
1 parent 3fb7814 commit 4409699
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion website/netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,23 @@ command = """
ls . &&
ls ./build &&
npx rollup -f iife -i ./public/easel.js -o ../website/build/easel.js &&
cd ../website
echo 'main built' &&
npm i
./gleam run cli cozo ./saved/saved.json &&
cd .. &&
cp wisdom/tmp.db.json cozy/build/db.json &&
(cd cozy;
npx rollup --config rollup.config.mjs &&
cp index.html build/index.html &&
cp node_modules/cozo-lib-wasm/cozo_lib_wasm_bg.wasm build
) &&
cd website &&
mkdir build &&
mkdir build/explore &&
cp -R ../cozy/build build/explore &&
cp -R public/* build/
"""
publish = "build"

0 comments on commit 4409699

Please sign in to comment.