mirror of
https://github.com/Mibew/mibew.git
synced 2025-03-03 18:38:31 +03:00
Do not include GIT repos of third-party libs to build
This commit is contained in:
parent
f583aa6439
commit
02874adbd0
@ -173,8 +173,13 @@ gulp.task('generate-pot', function() {
|
|||||||
|
|
||||||
// Pack sources to .zip and .tar.gz archives.
|
// Pack sources to .zip and .tar.gz archives.
|
||||||
gulp.task('pack-sources', ['composer-install'], function() {
|
gulp.task('pack-sources', ['composer-install'], function() {
|
||||||
var sources = config.mibewPath + '/**/*',
|
var sources = [
|
||||||
version = config.package.version;
|
config.mibewPath + '/**/*',
|
||||||
|
// Exclude Git repositories that can be shipped with third-party libs
|
||||||
|
'!' + config.phpVendorPath + '/**/.git',
|
||||||
|
'!' + config.phpVendorPath + '/**/.git/**/*'
|
||||||
|
];
|
||||||
|
var version = config.package.version;
|
||||||
|
|
||||||
return eventStream.merge(
|
return eventStream.merge(
|
||||||
gulp.src(sources, {dot: true})
|
gulp.src(sources, {dot: true})
|
||||||
|
Loading…
Reference in New Issue
Block a user