Create .gitignore
when execute init command
#957
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, great catch!
Just 1 small comment otherwise looks good
gulpfile.js
Outdated
@@ -37,7 +37,8 @@ gulp.task('compile', () => { | |||
let tsReporter = typescript.reporter.defaultReporter(); | |||
return mergeStream( | |||
tsProject.src().pipe(tsProject(tsReporter)), | |||
gulp.src(['src/**/*', '!src/**/*.ts'])) | |||
gulp.src(['src/**/*', '!src/**/*.ts']), | |||
gulp.src(['src/**/.gitignore'])) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This like should be unnecessary, no need to compile .gitignore with typescript
@FredKSchott Thanks for your reviews ! |
Did yeoman make it to where it doesn't ignore hidden files? I remember looking at this a while back and thought it would ignore hidden files. @sottar have you checked this? |
@stramel |
@FredKSchott I restarted the tests and they pass... lgty? |
Fixes #531 as well |
PR for #953
Summary
Automatically generate a
.gitignore
file when execute init command and selectelement
orapplication
.