Skip to content

Commit 54c8c72

Browse files
committed
generate .gitignore from mustache template from now.
1 parent 00d3f1e commit 54c8c72

3 files changed

Lines changed: 23 additions & 0 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# ref: https://github.com/github/gitignore/blob/master/Composer.gitignore
2+
# ref: https://mustache.github.io/mustache.5.html
23

34
composer.phar
45
/vendor/
@@ -13,3 +14,4 @@ composer.phar
1314

1415
# PHPUnit cache
1516
.phpunit.result.cache
17+
composer.lock

.openapi-generator/config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,7 @@ additionalProperties:
2121
composer.mustache:
2222
folder: .
2323
destinationFilename: composer.json
24+
gitignore.mustache:
25+
folder: .
26+
destinationFilename: .gitignore
27+
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# ref: https://github.com/github/gitignore/blob/master/Composer.gitignore
2+
# ref: https://mustache.github.io/mustache.5.html
3+
4+
composer.phar
5+
/vendor/
6+
7+
# Commit your application's lock file https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control
8+
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
9+
# composer.lock
10+
11+
# php-cs-fixer cache
12+
.php_cs.cache
13+
.php-cs-fixer.cache
14+
15+
# PHPUnit cache
16+
.phpunit.result.cache
17+
composer.lock

0 commit comments

Comments
 (0)