mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-06-28 06:46:27 +00:00
Added build script for cPanel
This commit is contained in:
@@ -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", '{
|
||||
|
||||
Reference in New Issue
Block a user