Skip to content

Commit

Permalink
Copy .gitattributes to project directory when creating a new project
Browse files Browse the repository at this point in the history
Closes gh-469
  • Loading branch information
rainboyan committed Aug 15, 2024
1 parent 189df21 commit 3c4a9a1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -708,6 +708,7 @@ class CreateAppCommand extends ArgumentCompletingCommand implements ProfileRepos
File destFile = new File(destDir, BUILD_GRADLE)

ant.copy(file: "${srcDir}/.gitignore", todir: destDir, failonerror: false)
ant.copy(file: "${srcDir}/.gitattributes", todir: destDir, failonerror: false)

if (!destFile.exists()) {
ant.copy file: srcFile, tofile: destFile
Expand Down

0 comments on commit 3c4a9a1

Please sign in to comment.