Clear up index
This commit is contained in:
parent
439de6a264
commit
0ab6984cdf
11 changed files with 44 additions and 66 deletions
|
|
@ -8,12 +8,10 @@ cd sync-server
|
|||
cargo test export_bindings
|
||||
cd -
|
||||
|
||||
# sync-client/src/services/types contains only generated bindings — wipe and copy
|
||||
# Both target directories contain only generated bindings — wipe and copy
|
||||
rm -f frontend/sync-client/src/services/types/*.ts
|
||||
rm -f frontend/history-ui/src/lib/types/*.ts
|
||||
cp -r sync-server/bindings/* frontend/sync-client/src/services/types/
|
||||
|
||||
# history-ui/src/lib/types contains generated bindings plus a hand-written index.ts
|
||||
find frontend/history-ui/src/lib/types -maxdepth 1 -name "*.ts" ! -name "index.ts" -delete
|
||||
cp -r sync-server/bindings/* frontend/history-ui/src/lib/types/
|
||||
|
||||
cd frontend
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue