Skip to content

Commit

Permalink
Bugfix/minor2 (#137)
Browse files Browse the repository at this point in the history
* Mod ntaf.js function move

* Mod ntaf support/data

* Rollback ntaf.js

* Test build NTAF
  • Loading branch information
corleone77 authored and demathend committed Jan 16, 2019
1 parent 03dabb6 commit 663bf17
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions bin/ntaf.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ gulp.task('test-unit', () =>

gulp.task('test-unit-with-coverage', () => {
//Does not work with version of gulp-mocha 4.x.x
//To follow coming updates
//To follow coming updates review
});

gulp.task('generate-local-conf', () => {
Expand Down Expand Up @@ -85,8 +85,15 @@ const installProject = async () => {
];

const emptyDirectories = [
'conf/realm',
'logs',
'src/features',
'src/step_definitions',
'src/support/business-object',
'src/support/component-object',
'src/support/data',
'src/support/helper',
'src/support/page-object',
'conf/realm',
'logs',
];

emptyDirectories.forEach(directory => {
Expand All @@ -97,22 +104,12 @@ const installProject = async () => {
await Promise.all(allPromises);
await fs.move('gitignore', '.gitignore');
await fs.move('npmrc', '.npmrc');
await fs.move('./examples', './src');
console.log('Test project structure successfully created.');
} catch (err) {
console.error(err);
process.exit(1);
}

// Copy Test_File to /src

// fs.copy('./examples', './src', function (err) {
// if (err){
// console.log('An error occured while copying the folder :(')
// return console.error(err)
}
// console.log('Copy Completed !! :)')
// });
};

yargs
Expand Down

0 comments on commit 663bf17

Please sign in to comment.