diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build-unix.sh | 10 | ||||
-rw-r--r-- | scripts/build-windows.ps1 | 10 |
2 files changed, 14 insertions, 6 deletions
diff --git a/scripts/build-unix.sh b/scripts/build-unix.sh index 28d0e7c..a7cb003 100755 --- a/scripts/build-unix.sh +++ b/scripts/build-unix.sh | |||
@@ -104,16 +104,20 @@ mkdir -p data | |||
104 | # ----------------------------------------------------------------------------- | 104 | # ----------------------------------------------------------------------------- |
105 | printf "\n*************** Building recipes ***************\n" | 105 | printf "\n*************** Building recipes ***************\n" |
106 | pushd recipes | 106 | pushd recipes |
107 | pnpm i | 107 | pnpm i && pnpm lint && pnpm reformat-files && pnpm package |
108 | pnpm package | ||
109 | popd | 108 | popd |
110 | 109 | ||
110 | # ----------------------------------------------------------------------------- | ||
111 | # Now the meat..... | 111 | # Now the meat..... |
112 | pnpm i | 112 | pnpm i |
113 | node ace migration:refresh | 113 | pnpm prepare-code |
114 | pnpm lint | ||
115 | # TODO: Uncomment after fixing tests | ||
116 | # pnpm test | ||
114 | 117 | ||
115 | # ----------------------------------------------------------------------------- | 118 | # ----------------------------------------------------------------------------- |
116 | printf "\n*************** Building app ***************\n" | 119 | printf "\n*************** Building app ***************\n" |
120 | node ace migration:refresh | ||
117 | pnpm start --dev | 121 | pnpm start --dev |
118 | 122 | ||
119 | printf "\n*************** App successfully stopped! ***************\n" | 123 | printf "\n*************** App successfully stopped! ***************\n" |
diff --git a/scripts/build-windows.ps1 b/scripts/build-windows.ps1 index 5af7392..7a5004e 100644 --- a/scripts/build-windows.ps1 +++ b/scripts/build-windows.ps1 | |||
@@ -154,16 +154,20 @@ if (-not (Test-Path -Path "data")) { | |||
154 | # ----------------------------------------------------------------------------- | 154 | # ----------------------------------------------------------------------------- |
155 | Write-Host "*************** Building recipes ***************" | 155 | Write-Host "*************** Building recipes ***************" |
156 | Push-Location recipes | 156 | Push-Location recipes |
157 | pnpm i | 157 | pnpm i && pnpm lint && pnpm reformat-files && pnpm package |
158 | pnpm package | ||
159 | Pop-Location | 158 | Pop-Location |
160 | 159 | ||
160 | # ----------------------------------------------------------------------------- | ||
161 | # Now the meat..... | 161 | # Now the meat..... |
162 | & pnpm i | 162 | & pnpm i |
163 | & node ace migration:refresh | 163 | & pnpm prepare-code |
164 | & pnpm lint | ||
165 | # TODO: Uncomment after fixing tests | ||
166 | # & pnpm test | ||
164 | 167 | ||
165 | # ----------------------------------------------------------------------------- | 168 | # ----------------------------------------------------------------------------- |
166 | Write-Host "*************** Starting app ***************" | 169 | Write-Host "*************** Starting app ***************" |
170 | & node ace migration:refresh | ||
167 | & pnpm start --dev | 171 | & pnpm start --dev |
168 | 172 | ||
169 | Write-Host "*************** App successfully stopped! ***************" | 173 | Write-Host "*************** App successfully stopped! ***************" |