2022-07-15 09:36:11 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2022-07-15 09:40:18 +00:00
|
|
|
npm run clean-build
|
2022-07-15 09:36:11 +00:00
|
|
|
rm -rf website
|
|
|
|
mkdir -p website/fs
|
|
|
|
cp -r packages/web/dist/* website/
|
2022-07-15 09:51:54 +00:00
|
|
|
cp _redirects website/
|
|
|
|
cp -r docs/* website/fs/
|
2022-07-15 10:00:30 +00:00
|
|
|
find website/fs/ -name "*.md" -exec bash -c 'mv "$1" "${1%.md}"' - '{}' +
|
|
|
|
find website/fs/ -name "*.json" -exec bash -c 'mv "$1" "${1%.json}"' - '{}' +
|
|
|
|
node scripts/generate_fs_list.js > website/index.json
|