mirror of
https://github.com/cypress-io/cypress.git
synced 2026-02-16 12:11:55 -06:00
deploy: specify files to include when copying packages for dist
This commit is contained in:
@@ -60,12 +60,12 @@ module.exports = (platform, version) ->
|
||||
|
||||
Promise
|
||||
.bind(@)
|
||||
.then(cleanupPlatform)
|
||||
.then(buildPackages)
|
||||
# .then(cleanupPlatform)
|
||||
# .then(buildPackages)
|
||||
.then(copyPackages)
|
||||
.then(npmInstallPackages)
|
||||
.then(createRootPackage)
|
||||
.then(symlinkPackages)
|
||||
# .then(npmInstallPackages)
|
||||
# .then(createRootPackage)
|
||||
# .then(symlinkPackages)
|
||||
# .then(@convertCoffeeToJs)
|
||||
# .then(@obfuscate)
|
||||
# .then(@cleanupSrc)
|
||||
|
||||
@@ -47,6 +47,7 @@ copyAllToDist = (distDir) ->
|
||||
## and convert to relative paths
|
||||
DEFAULT_PATHS
|
||||
.concat(json.files or [])
|
||||
.concat(json.main or [])
|
||||
.map (file) ->
|
||||
path.join(pkg, file)
|
||||
.map(copyRelativePathToDist, {concurrency: 1})
|
||||
@@ -70,7 +71,6 @@ copyAllToDist = (distDir) ->
|
||||
.map(copyPackage, {concurrency: 1})
|
||||
.then ->
|
||||
console.log("Finished Copying", new Date() - started)
|
||||
.delay(10000)
|
||||
|
||||
npmInstallAll = (pathToPackages) ->
|
||||
## 1,060,495,784 bytes (1.54 GB on disk) for 179,156 items
|
||||
|
||||
Reference in New Issue
Block a user