Rename source folders
This commit is contained in:
parent
29ddf807f0
commit
a260d611bd
31 changed files with 3 additions and 3 deletions
|
@ -15,7 +15,7 @@ const contextDir = `${argv._[0] ?? defaultContextDir}`;
|
|||
const appsDir = `${contextDir}/apps`;
|
||||
const uiDir = `${contextDir}/apps/${appName}-ui`;
|
||||
const restDir = `${contextDir}/apps/${appName}-rest`;
|
||||
const testDir = `${contextDir}/apps/${appName}-selenium`;
|
||||
const testDir = `${contextDir}/apps/${appName}-e2e`;
|
||||
|
||||
// prepare structure folders
|
||||
if (!fs.existsSync(uiDir)) {
|
||||
|
@ -33,7 +33,7 @@ if (!fs.existsSync(uiDir)) {
|
|||
|
||||
// copy folder content
|
||||
try {
|
||||
fs.cpSync(`${rootDir}/source/__/`, contextDir, {
|
||||
fs.cpSync(`${rootDir}/source/global/`, contextDir, {
|
||||
force: true,
|
||||
recursive: true,
|
||||
});
|
||||
|
@ -45,7 +45,7 @@ try {
|
|||
force: true,
|
||||
recursive: true,
|
||||
});
|
||||
fs.cpSync(`${rootDir}/source/selenium/`, testDir, {
|
||||
fs.cpSync(`${rootDir}/source/e2e/`, testDir, {
|
||||
force: true,
|
||||
recursive: true,
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue