mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-24 09:29:35 -05:00
* install two ffmpeg architectures on Windows, close #558 * add missing function to export object
This commit is contained in:
@@ -85,6 +85,12 @@ copyAllToDist = (distDir) ->
|
||||
.then ->
|
||||
console.log("Finished Copying", new Date() - started)
|
||||
|
||||
forceNpmInstall = (packagePath, packageToInstall) ->
|
||||
console.log("Force installing %s", packageToInstall)
|
||||
console.log("in %s", packagePath)
|
||||
la(check.unemptyString(packageToInstall), "missing package to install")
|
||||
npmRun(["install", "--force", packageToInstall], packagePath)
|
||||
|
||||
npmInstallAll = (pathToPackages) ->
|
||||
## 1,060,495,784 bytes (1.54 GB on disk) for 179,156 items
|
||||
## 313,416,512 bytes (376.6 MB on disk) for 23,576 items
|
||||
@@ -177,4 +183,10 @@ module.exports = {
|
||||
symlinkAll
|
||||
|
||||
runAllCleanJs
|
||||
|
||||
forceNpmInstall
|
||||
}
|
||||
|
||||
if not module.parent
|
||||
console.log("demo force install")
|
||||
forceNpmInstall("packages/server", "@ffmpeg-installer/win32-x64")
|
||||
|
||||
Reference in New Issue
Block a user