mirror of
https://github.com/espocrm/espocrm.git
synced 2026-03-03 00:27:01 +00:00
bin command
This commit is contained in:
12
Gruntfile.js
12
Gruntfile.js
@@ -159,7 +159,7 @@ module.exports = grunt => {
|
||||
'img/**',
|
||||
'css/**',
|
||||
'sounds/**',
|
||||
'custom/**'
|
||||
'custom/**',
|
||||
],
|
||||
dest: 'build/tmp/client',
|
||||
},
|
||||
@@ -184,6 +184,7 @@ module.exports = grunt => {
|
||||
'html/**',
|
||||
'public/**',
|
||||
'install/**',
|
||||
'bin/**',
|
||||
'bootstrap.php',
|
||||
'cron.php',
|
||||
'daemon.php',
|
||||
@@ -254,6 +255,14 @@ module.exports = grunt => {
|
||||
'build/EspoCRM-<%= pkg.version %>/application/Espo/Modules',
|
||||
]
|
||||
},
|
||||
executable: {
|
||||
options: {
|
||||
mode: '754'
|
||||
},
|
||||
src: [
|
||||
'build/EspoCRM-<%= pkg.version %>/bin/*',
|
||||
],
|
||||
},
|
||||
},
|
||||
|
||||
replace: {
|
||||
@@ -387,6 +396,7 @@ module.exports = grunt => {
|
||||
'chmod:php',
|
||||
'chmod:folders',
|
||||
'chmod:foldersWritable',
|
||||
'chmod:executable',
|
||||
'clean:final',
|
||||
]);
|
||||
|
||||
|
||||
4
bin/command
Normal file
4
bin/command
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
|
||||
include __DIR__ . "/../command.php";
|
||||
Reference in New Issue
Block a user