Files
deguapp/backend/src/utils/copyAssets.ts
2023-06-30 14:16:33 +02:00

8 lines
214 B
TypeScript

import * as shell from 'shelljs'
// Copy all the view templates
shell.cp('-R', 'src/views', 'dist/')
shell.cp('-R', 'src/public', 'dist/')
shell.cp('-R', 'src/models', 'dist/')
shell.cp('-u', 'src/.env', 'dist/')