Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
wsxiaoys committed May 21, 2024
1 parent 74e72e0 commit 9167731
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,16 @@ fix-ui:
pnpm lint:fix

update-ui:
cd ee/tabby-ui && pnpm build
pnpm build
rm -rf ee/tabby-webserver/ui && cp -R ee/tabby-ui/out ee/tabby-webserver/ui
rm -rf ee/tabby-webserver/email_templates && cp -R ee/tabby-email/out ee/tabby-webserver/email_templates

update-db-schema:
sqlite3 ee/tabby-db/schema.sqlite ".schema --indent" > ee/tabby-db/schema/schema.sql
sqlite3 ee/tabby-db/schema.sqlite -init ee/tabby-db/schema/sqlite-schema-visualize.sql "" > schema.dot
dot -Tsvg schema.dot > ee/tabby-db/schema/schema.svg
rm schema.dot

update-email-templates:
cd ee/tabby-email && pnpm export
rm -rf ee/tabby-webserver/email_templates && cp -R ee/tabby-email/out ee/tabby-webserver/email_templates

caddy:
caddy run --watch --config ee/tabby-webserver/development/Caddyfile

Expand Down

0 comments on commit 9167731

Please sign in to comment.