mirror of
https://github.com/TabbyML/tabby
synced 2024-11-22 00:08:06 +00:00
parent
af5549a9ab
commit
5027d466ed
7
Makefile
7
Makefile
@ -7,8 +7,9 @@ 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
|
||||
@ -16,10 +17,6 @@ update-db-schema:
|
||||
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
|
||||
|
||||
|
@ -3,9 +3,8 @@
|
||||
"version": "0.0.19",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "email build",
|
||||
"dev": "email dev",
|
||||
"export": "email export"
|
||||
"build": "email build && email export",
|
||||
"dev": "email dev"
|
||||
},
|
||||
"devDependencies": {
|
||||
"react-email": "2.1.3",
|
||||
|
@ -5,7 +5,12 @@
|
||||
"dependsOn": [
|
||||
"^build"
|
||||
],
|
||||
"outputs": ["dist/**", ".next/**", "!.next/cache/**", ".react-email/**", "!.react-email/.next/cache/**"]
|
||||
"outputs": [
|
||||
"out/**",
|
||||
"dist/**",
|
||||
".next/**",
|
||||
"!.next/cache/**"
|
||||
]
|
||||
},
|
||||
"lint": {},
|
||||
"lint:fix": {},
|
||||
|
Loading…
Reference in New Issue
Block a user