Add empty "plugins" dir when packaging

This commit is contained in:
Pig Fang 2017-12-18 23:41:57 +08:00
parent e33ac27d6c
commit 46c246b5ff
2 changed files with 2 additions and 1 deletions

View File

@ -190,6 +190,7 @@ gulp.task('zip', () => {
'!composer.*',
'!yarn.lock',
'!plugins/**',
'plugins/',
'!phpunit.xml',
'!package.json',
'!{tests,tests/**}',

View File

@ -22,7 +22,7 @@ require __DIR__.'/bootstrap/autoload.php';
// Check the runtime environment
runtime_check(array(
'extensions' => array('pdo_mysql', 'openssl', 'gd', 'mbstring', 'tokenizer'),
'write_permission' => array('storage', 'resources', 'plugins')
'write_permission' => array('storage', 'plugins')
));
// Process the request