mirror of
https://github.com/Mibew/mibew.git
synced 2025-03-03 10:28:32 +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.
|
||||
gulp.task('pack-sources', ['composer-install'], function() {
|
||||
var sources = config.mibewPath + '/**/*',
|
||||
version = config.package.version;
|
||||
var sources = [
|
||||
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(
|
||||
gulp.src(sources, {dot: true})
|
||||
|
Loading…
Reference in New Issue
Block a user