aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn S. Urban <urbanjost@comcast.net>2021-08-08 12:00:36 -0400
committerJohn S. Urban <urbanjost@comcast.net>2021-08-08 12:00:36 -0400
commitbc3a995360e6478a29becef3e2f2319aad7ef33a (patch)
tree9e6ae34de3533542c7f39cf2cab4a98bcc6272a0
parentd6f5bf20b2245564ba4a851d1f4ea9b19ba579b6 (diff)
downloadfpm-bc3a995360e6478a29becef3e2f2319aad7ef33a.tar.gz
fpm-bc3a995360e6478a29becef3e2f2319aad7ef33a.zip
replace lines deleted by conflict
-rw-r--r--src/fpm/cmd/new.f903
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fpm/cmd/new.f90 b/src/fpm/cmd/new.f90
index abc1d67..0d57a59 100644
--- a/src/fpm/cmd/new.f90
+++ b/src/fpm/cmd/new.f90
@@ -98,6 +98,9 @@ character(len=:,kind=tfc),allocatable :: littlefile(:)
! like realpath() or getcwd().
bname=basename(settings%name)
+ ! create NAME/.gitignore file
+ call warnwrite(join_path(settings%name, '.gitignore'), ['build/*'])
+
littlefile=[character(len=80) :: '# '//bname, 'My cool new project!']
! create NAME/README.md