@@ -35,49 +35,49 @@ export async function buildDockerImage() {
35
35
log . info ( 'Preparing build...' )
36
36
37
37
// delete old CDK relating files, to always build fresh
38
- log . debug ( 'Deleting old CDK files...' )
39
- log . debug ( 'Deleting old cdk.out ...' )
38
+ log . info ( 'Deleting old CDK files...' )
39
+ log . info ( 'Deleting old cdk.out ...' )
40
40
await runCommand ( `rm -rf ${ frameworkCloudPath ( 'cdk.out/' ) } ` )
41
- log . debug ( 'Deleted old cdk.out' )
41
+ log . success ( 'Deleted old cdk.out' )
42
42
43
- log . debug ( 'Deleting old CDK context file...' )
43
+ log . info ( 'Deleting old CDK context file...' )
44
44
await runCommand ( `rm -rf ${ frameworkCloudPath ( 'cdk.context.json' ) } ` )
45
- log . debug ( 'Deleted old cdk.context.json' )
45
+ log . success ( 'Deleted old cdk.context.json' )
46
46
47
- log . debug ( 'Deleting old dist.zip file...' )
47
+ log . info ( 'Deleting old dist.zip file...' )
48
48
await runCommand ( `rm -rf ${ frameworkCloudPath ( 'dist.zip' ) } ` )
49
- log . debug ( 'Deleted old dist.zip' )
49
+ log . success ( 'Deleted old dist.zip' )
50
50
51
- log . debug ( 'Deleting .DS_Store files...' )
51
+ log . info ( 'Deleting .DS_Store files...' )
52
52
await runCommand ( `rm -rf ${ frameworkPath ( '**/.DS_Store' ) } ` )
53
- log . debug ( 'Deleted .DS_Store files' )
53
+ log . success ( 'Deleted .DS_Store files' )
54
54
55
- log . debug ( 'Deleting sourcemaps...' )
55
+ log . info ( 'Deleting sourcemaps...' )
56
56
await runCommand ( `rm -rf ${ frameworkPath ( '**/*.map' ) } ` )
57
- log . debug ( 'Deleted sourcemaps' )
57
+ log . success ( 'Deleted sourcemaps' )
58
58
59
- log . debug ( 'Deleting cache files...' )
59
+ log . info ( 'Deleting cache files...' )
60
60
await runCommand ( `rm -rf ${ frameworkPath ( 'cache/dashboard' ) } ` )
61
61
await runCommand ( `rm -rf ${ frameworkPath ( 'cache/docs' ) } ` )
62
- log . debug ( 'Deleted cache files' )
62
+ log . success ( 'Deleted cache files' )
63
63
64
- log . debug ( 'Copying project files...' )
65
- log . debug ( 'Copying config files...' )
64
+ log . info ( 'Copying project files...' )
65
+ log . info ( 'Copying config files...' )
66
66
await cleanCopy ( projectPath ( 'config' ) , frameworkPath ( 'server/config' ) )
67
- log . debug ( 'Copied config files' )
67
+ log . success ( 'Copied config files' )
68
68
69
- log . debug ( 'Copying docs files...' )
69
+ log . info ( 'Copying docs files...' )
70
70
await cleanCopy ( projectPath ( 'docs' ) , frameworkPath ( 'server/docs' ) )
71
- log . debug ( 'Copied docs files' )
71
+ log . success ( 'Copied docs files' )
72
72
73
- log . debug ( 'Copying storage files...' )
73
+ log . info ( 'Copying storage files...' )
74
74
await cleanCopy ( projectPath ( 'storage' ) , frameworkPath ( 'server/storage' ) )
75
- log . debug ( 'Copied storage files' )
75
+ log . success ( 'Copied storage files' )
76
76
77
- log . debug ( 'Copying .env file...' )
77
+ log . info ( 'Copying .env file...' )
78
78
await cleanCopy ( projectPath ( '.env' ) , frameworkPath ( 'server/.env' ) )
79
- log . debug ( 'Copied .env file' )
80
- log . debug ( 'Server ready to be built' )
79
+ log . success ( 'Copied .env file' )
80
+ log . success ( 'Server ready to be built' )
81
81
82
82
if ( ! app . name ) {
83
83
log . error ( 'Please provide a name for your app in your config file' )
0 commit comments