Skip to content

Commit

Permalink
Zip-up action on Qrepo build script for Windows platform.
Browse files Browse the repository at this point in the history
  • Loading branch information
nthnn committed Nov 8, 2024
1 parent 7f2a543 commit 7cffff8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion qrepo.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,13 @@
"linux:stop": [
"/opt/lampp/xampp stop"
],
"zip-up": [
"linux:zip-up": [
"echo \"\\033[92m[+]\\033[0m Zipping deployment entity...\"",
"zip -q -r qlbase.zip api assets bin components controller docs drive scripts side styles views favicon.ico .htaccess 404.html index.php sandbox.php"
],
"windows:zip-up": [
"echo \"\\033[92m[+]\\033[0m Zipping deployment entity...\"",
"powershell -Command \"Compress-Archive -Path @( 'api', 'assets', 'bin', 'components', 'controller', 'docs', 'drive', 'scripts', 'side', 'styles', 'views', 'favicon.ico', '.htaccess', '404.html', 'index.php', 'sandbox.php' ) -DestinationPath qlbase.zip -Force\""
]
}
}

0 comments on commit 7cffff8

Please sign in to comment.