forked from fr/deguapp
upload
This commit is contained in:
7
backend/src/utils/copyAssets.ts
Normal file
7
backend/src/utils/copyAssets.ts
Normal file
@ -0,0 +1,7 @@
|
||||
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/')
|
Reference in New Issue
Block a user