mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-11 00:14:50 +03:00
Added build script for cPanel
This commit is contained in:
parent
5c02806a76
commit
ce7bcbcaf5
2 changed files with 44 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
|||
<?php
|
||||
chdir(__DIR__);
|
||||
|
||||
$options = getopt('', ['aur','docker','plugins','set-version','skip-gulp','debian','nextcloud','sign']);
|
||||
$options = getopt('', ['aur','docker','plugins','set-version','skip-gulp','debian','nextcloud','sign','cpanel']);
|
||||
|
||||
if (isset($options['plugins'])) {
|
||||
require(__DIR__ . '/build/plugins.php');
|
||||
|
|
@ -178,6 +178,10 @@ if (isset($options['nextcloud'])) {
|
|||
require(__DIR__ . '/build/nextcloud.php');
|
||||
}
|
||||
|
||||
if (isset($options['cpanel'])) {
|
||||
require(__DIR__ . '/build/cpanel.php');
|
||||
}
|
||||
|
||||
rename("snappymail/v/{$package->version}", 'snappymail/v/0.0.0');
|
||||
|
||||
file_put_contents("{$destPath}core.json", '{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue