Home
last modified time | relevance | path

Searched refs:cachePath (Results 1 – 25 of 36) sorted by relevance

12

/developtools/ace_js2bundle/ace-loader/src/
Dcompile-plugin.js55 const cachePath = path.resolve(process.env.cachePath, '.rich_cache');
56 const entryFile = path.join(cachePath, 'entry.json');
92 addCacheFiles(entryFile, cachePath, entryPaths);
174 function addCacheFiles(entryFile, cachePath, entryPaths) { argument
181 …e if (!(process.env.tddMode === 'true') && !(fs.existsSync(cachePath) && fs.statSync(cachePath).is…
182 mkDir(cachePath);
185 if (fs.existsSync(cachePath) && fs.statSync(cachePath).isDirectory()) {
DgenAbc-plugin.js182 if (process.env.cachePath) {
185 cacheOutputPath = path.join(process.env.cachePath, TEMPORARY, abilityDir, keyPath);
362 if (process.env.cachePath) {
363 … if (!fs.existsSync(process.env.cachePath) || !fs.statSync(process.env.cachePath).isDirectory()) {
368 let hashJsonPath = path.join(process.env.cachePath, TEMPORARY, abilityDir, hashFile);
425 if (process.env.cachePath !== undefined) {
428 if (process.env.cachePath === undefined && fs.existsSync(cacheOutputPath)) {
593 if (process.env.cachePath === undefined) {
616 if (process.env.cachePath === undefined) {
657 let pathName = process.env.cachePath !== undefined ?
[all …]
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/
Dutils.ts89 let cacheFilePath: string = path.join(projectConfig.cachePath, sufStr);
122 …ompileShared ? path.resolve(projectConfig.aceModuleBuild, '../etsFortgz'): projectConfig.cachePath,
125 …filePath = genTemporaryPath(id, projectConfig.projectPath, projectConfig.cachePath, projectConfig);
181 …const temporaryModuleCacheDirPath: string = path.join(projectConfig.cachePath, TEMPORARY, abilityD…
192 const pathName: string = projectConfig.cachePath !== undefined ?
193 …path.join(projectConfig.cachePath, TEMPORARY, tailName) : path.join(projectConfig.aceModuleBuild, …
Dcache.ts81 path.resolve(rollupObject.share.projectConfig.cachePath, `./${USER_DEFINE_MOCK_CONFIG}`);
83 path.resolve(rollupObject.share.projectConfig.cachePath, `./${TRANSFORMED_MOCK_CONFIG}`);
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/common/
Dcommon_mode.ts101 if (this.projectConfig.cachePath) {
102 …if (!fs.existsSync(this.projectConfig.cachePath) || !fs.statSync(this.projectConfig.cachePath).isD…
Dgen_abc.ts52 cachePath: string): Promise<void> {
54 const filePath: string = path.join(cachePath, workerFileName);
/developtools/ace_ets2bundle/compiler/src/
Dgen_merged_abc.ts59 const filesInfoPath: string = path.join(process.env.cachePath, FILESINFO_TXT);
71 const npmEntriesInfoPath: string = path.join(process.env.cachePath, NPMENTRIES_TXT);
107 const filesInfoPath: string = path.join(process.env.cachePath, FILESINFO_TXT);
108 const npmEntriesInfoPath: string = path.join(process.env.cachePath, NPMENTRIES_TXT);
109 const cacheFilePath: string = path.join(process.env.cachePath, MODULES_CACHE);
Dgen_abc_plugin.ts191 if (projectConfig.cachePath && !projectConfig.xtsMode) {
193 const cachePrebuildInfoPath: string = path.join(projectConfig.cachePath, PREBUILDINFO_JSON);
213 if (projectConfig.cachePath && !projectConfig.xtsMode) {
215 const cachePrebuildInfoPath: string = path.join(projectConfig.cachePath, PREBUILDINFO_JSON);
323 …tryPath: string = genTemporaryPath(fakeEntryPath, projectConfig.projectPath, process.env.cachePath,
468 const CACHED_SOURCEMAPS: string = path.join(process.env.cachePath, SOURCEMAPS_JSON);
481 const CACHED_MODULELIST_FILE: string = path.join(process.env.cachePath, MODULELIST_JSON);
492 const CACHED_MODULELIST_FILE: string = path.join(process.env.cachePath, MODULELIST_JSON);
494 const CACHED_SOURCEMAPS: string = path.join(process.env.cachePath, SOURCEMAPS_JSON);
542 …Path = genTemporaryPath(filePath, projectConfig.projectPath, process.env.cachePath, projectConfig);
[all …]
Dgen_aot.ts146 export function generateBuiltinAbc(arkDir: string, abcArgs: string[], cachePath: string,
149 const builtinAbcPath: string = path.join(cachePath, TEMPORARY, "aot", "lib_ark_builtins.d.abc");
Ddo_arkTS_linter.ts132 let filePath: string = toUnixPath(projectConfig.cachePath);
163 let filePath: string = toUnixPath(projectConfig.cachePath);
203 …compilerOptions.tsBuildInfoFile = path.resolve(projectConfig.cachePath, '..', ARKTS_LINTER_BUILD_I…
Dgen_module_abc.ts36 let filePath: string = path.join(process.env.cachePath, workerFileName);
Dprocess_visual.ts246 if (!process.env.cachePath) {
276 let visualMapDirPath: string = path.resolve(process.env.cachePath, SUPERVISUAL +
280 visualMapDirPath = path.resolve(process.env.cachePath, SUPERVISUAL +
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/module/
Dmodule_mode.ts145 this.filesInfoPath = path.join(this.projectConfig.cachePath, FILESINFO_TXT);
146 this.npmEntriesInfoPath = path.join(this.projectConfig.cachePath, NPMENTRIES_TXT);
150 path.join(this.projectConfig.cachePath, SOURCEMAPS);
151 this.cacheFilePath = path.join(this.projectConfig.cachePath, MODULES_CACHE);
152 this.cacheSourceMapPath = path.join(this.projectConfig.cachePath, SOURCEMAPS_JSON);
154 …this.npmEntriesProtoFilePath = path.join(this.projectConfig.cachePath, PROTOS, NPM_ENTRIES_PROTO_B…
155 this.protoFilePath = path.join(this.projectConfig.cachePath, PROTOS, PROTO_FILESINFO_TXT);
307 … this.genFileCachePath(filePath, this.projectConfig.projectRootPath, this.projectConfig.cachePath);
343 … moduleId = moduleId.replace(this.projectConfig.projectRootPath, this.projectConfig.cachePath);
567 cachePath: this.projectConfig.cachePath
[all …]
Dmodule_source_file.ts150 path.resolve(rollupObject.share.projectConfig.cachePath, `./${TRANSFORMED_MOCK_CONFIG}`);
154 path.resolve(rollupObject.share.projectConfig.cachePath, `./${USER_DEFINE_MOCK_CONFIG}`);
179 path.resolve(rollupObject.share.projectConfig.cachePath, `./${TRANSFORMED_MOCK_CONFIG}`);
181 path.resolve(rollupObject.share.projectConfig.cachePath, `./${USER_DEFINE_MOCK_CONFIG}`);
/developtools/ace_js2bundle/ace-loader/
Dwebpack.rich.config.js205 …process.env.cachePath = env.cachePath || process.env.cachePath || path.resolve(__dirname, 'node_mo…
211 …process.env.watchCSSFiles = process.env.watchCSSFiles || path.resolve(process.env.cachePath, '.ric…
245 config.output.path = path.join(process.env.cachePath, "releaseAssets",
283 compareCache(path.resolve(process.env.cachePath, '.rich_cache'));
295 config.cache.cacheDirectory = path.resolve(process.env.cachePath, '.rich_cache',
Dwebpack.lite.config.js121 …process.env.cachePath = env.cachePath || process.env.cachePath || path.resolve(__dirname, 'node_mo…
142 webpackConfig.cache.cacheDirectory = path.resolve(process.env.cachePath, '.lite_cache');
/developtools/ace_ets2bundle/compiler/
Dwebpack.config.js128 cacheDirectory: path.resolve(projectConfig.cachePath, '.ets_cache',
222 if (envArgs.cachePath) {
223 projectConfig.cachePath = envArgs.cachePath;
Dmain.js92 projectConfig.cachePath = projectConfig.cachePath || process.env.cachePath ||
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/module/
Dmodule_mode.test.ts734 this.rollup.share.projectConfig.cachePath);
735 … expect(returnInfo === path.join(this.rollup.share.projectConfig.cachePath, sufStr)).to.be.true;
752 this.rollup.share.projectConfig.cachePath);
753 … expect(returnInfo === path.join(this.rollup.share.projectConfig.cachePath, sufStr)).to.be.true;
770 this.rollup.share.projectConfig.cachePath);
771 … expect(returnInfo === path.join(this.rollup.share.projectConfig.cachePath, sufStr)).to.be.true;
786 this.rollup.share.projectConfig.cachePath);
787 … expect(returnInfo === path.join(this.rollup.share.projectConfig.cachePath, sufStr)).to.be.true;
795 const cachePath = projectConfig.cachePath + DEBUG; constant
799 …const returnInfo = moduleMode.genFileCachePath(filePath, projectConfig.projectRootPath, cachePath);
[all …]
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/bundle/
Dbundle_mode.ts232 if (this.projectConfig.cachePath) {
372 if (this.projectConfig.cachePath !== undefined) {
380 if (this.projectConfig.cachePath !== undefined) {
401 …let relativeFileName: string = fileName.replace(toUnixPath(this.projectConfig.cachePath) + '/', ''…
404 const relativeCachePath: string = toUnixPath(this.projectConfig.cachePath.replace(
/developtools/ace_ets2bundle/compiler/server/
Dbuild_pipe_server.js74 init(cachePath, buildPath, cb) {
75 previewCacheFilePath = path.join(cachePath || buildPath, 'preview.ets');
91 path.join(projectConfig.cachePath || projectConfig.buildPath, 'preview.ets');
93 path.join(projectConfig.cachePath || projectConfig.buildPath, 'preview.js');
95 path.join(projectConfig.cachePath || projectConfig.buildPath, 'preview.abc');
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/utils/
DprocessProjectConfig.ts32 projectConfig.cachePath = '../../test/ark_compiler_ut/cache/';
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/mock/rollup_mock/
Dproject_config.ts85 cachePath: string; property in ProjectConfig
153 this.cachePath = `${proPath}/${this.entryModuleName}/${mode}`;
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/common/
Dutils.test.ts145 this.rollup.share.arkProjectConfig.cachePath = this.rollup.share.projectConfig.cachePath;
156 this.rollup.share.arkProjectConfig.cachePath = this.rollup.share.projectConfig.cachePath;
170 this.rollup.share.arkProjectConfig.cachePath = this.rollup.share.projectConfig.cachePath;
181 this.rollup.share.arkProjectConfig.cachePath = this.rollup.share.projectConfig.cachePath;
192 this.rollup.share.arkProjectConfig.cachePath = this.rollup.share.projectConfig.cachePath;
209 moduleSource.projectConfig.cachePath, moduleSource.projectConfig);
228 moduleSource.projectConfig.cachePath, moduleSource.projectConfig);
247 moduleSource.projectConfig.cachePath, moduleSource.projectConfig);
266 moduleSource.projectConfig.cachePath, moduleSource.projectConfig);
/developtools/ace_ets2bundle/compiler/src/fast_build/common/
Dprocess_project_config.ts88 dest: path.resolve(__dirname, projectConfig.cachePath)

12