UNPKG

@mjcctech/meteor-desktop

Version:

Build a Meteor's desktop client with hot code push.

43 lines (34 loc) 1.5 kB
"use strict";var path;module.link('path',{default(v){path=v}},0);var tempDir;module.link('temp-dir',{default(v){tempDir=v}},1); const { join, resolve } = path; const testsPath = resolve(path.join(__dirname, '..', '..', 'tests')); const testsTmpPath = resolve(path.join(tempDir, '.__tmp')); const testsIntegrationTmpPath = resolve(path.join(tempDir, '.__tmp_int')); const fixturesPath = 'fixtures'; const projectDir = 'meteorProject'; const testProjectInstallPath = join(testsTmpPath, projectDir); const autoUpdateVersionsPath = join(testsTmpPath, 'autoupdate'); const storagesPath = join(testsTmpPath, 'storages'); const fixtures = { testProject: join(testsPath, fixturesPath, projectDir), desktop: join(testsPath, fixturesPath, '.desktop'), storages: join(testsPath, fixturesPath, 'storages'), electronApp: join(testsPath, fixturesPath, '.meteor-desktop'), bundledWww: join(testsPath, fixturesPath, 'localServer', 'bundledWww'), downloadableVersions: join(testsPath, fixturesPath, 'autoUpdate', 'downloadableVersions'), autoUpdate: join(testsPath, fixturesPath, 'autoUpdate'), partiallyDownloadableVersions: join( testsPath, fixturesPath, 'autoUpdate', 'partiallyDownloadedVersions' ) }; const cli = resolve(join(__dirname, '..', 'bin', 'cli.js')); module.exportDefault({ testsPath, testsTmpPath, testsIntegrationTmpPath, testProjectInstallPath, autoUpdateVersionsPath, fixtures, fixturesPath, storagesPath, cli });