Rename source folders
All checks were successful
forgejo/Procyon/seedling/pipeline/pr-master This commit looks good
forgejo/Procyon/seedling/pipeline/head This commit looks good

This commit is contained in:
Roman Jaroš 2024-01-10 21:08:53 +00:00 committed by Roman Jaroš
parent 29ddf807f0
commit a260d611bd
31 changed files with 3 additions and 3 deletions

View file

@ -15,7 +15,7 @@ const contextDir = `${argv._[0] ?? defaultContextDir}`;
const appsDir = `${contextDir}/apps`; const appsDir = `${contextDir}/apps`;
const uiDir = `${contextDir}/apps/${appName}-ui`; const uiDir = `${contextDir}/apps/${appName}-ui`;
const restDir = `${contextDir}/apps/${appName}-rest`; const restDir = `${contextDir}/apps/${appName}-rest`;
const testDir = `${contextDir}/apps/${appName}-selenium`; const testDir = `${contextDir}/apps/${appName}-e2e`;
// prepare structure folders // prepare structure folders
if (!fs.existsSync(uiDir)) { if (!fs.existsSync(uiDir)) {
@ -33,7 +33,7 @@ if (!fs.existsSync(uiDir)) {
// copy folder content // copy folder content
try { try {
fs.cpSync(`${rootDir}/source/__/`, contextDir, { fs.cpSync(`${rootDir}/source/global/`, contextDir, {
force: true, force: true,
recursive: true, recursive: true,
}); });
@ -45,7 +45,7 @@ try {
force: true, force: true,
recursive: true, recursive: true,
}); });
fs.cpSync(`${rootDir}/source/selenium/`, testDir, { fs.cpSync(`${rootDir}/source/e2e/`, testDir, {
force: true, force: true,
recursive: true, recursive: true,
}); });