Skip to content

Commit 84eac6e

Browse files
6543techknowlogick
andauthored
Add make targed generate-license & generate-gitignore + Update (#12682)
* Add make targed generate-license & generate-gitignore * Update Gitignores & Licenses Co-authored-by: techknowlogick <[email protected]>
1 parent 3ecd030 commit 84eac6e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+8773
-78
lines changed

Makefile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,8 @@ help:
170170
@echo " - fomantic build fomantic files"
171171
@echo " - generate run \"go generate\""
172172
@echo " - fmt format the Go code"
173+
@echo " - generate-license update license files"
174+
@echo " - generate-gitignore update gitignore files"
173175
@echo " - generate-swagger generate the swagger spec from code comments"
174176
@echo " - swagger-validate check if the swagger spec is valid"
175177
@echo " - golangci-lint run golangci-lint linter"
@@ -668,6 +670,15 @@ update-translations:
668670
mv ./translations/*.ini ./options/locale/
669671
rmdir ./translations
670672

673+
.PHONY: generate-license
674+
generate-license:
675+
GO111MODULE=on $(GO) run build/generate-licenses.go
676+
677+
.PHONY: generate-gitignore
678+
generate-gitignore:
679+
GO111MODULE=on $(GO) run build/generate-gitignores.go
680+
681+
671682
.PHONY: generate-images
672683
generate-images:
673684
npm install --no-save --no-package-lock xmldom fabric imagemin-zopfli

options/gitignore/Android

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,3 +83,6 @@ lint/generated/
8383
lint/outputs/
8484
lint/tmp/
8585
# lint/reports/
86+
87+
# Android Profiling
88+
*.hprof

options/gitignore/Autotools

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ Makefile.in
66
/py-compile
77
/test-driver
88
/ylwrap
9+
.deps/
10+
.dirstamp
911

1012
# http://www.gnu.org/software/autoconf
1113

options/gitignore/Concrete5

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,21 @@
1+
# ignore the error log and .htaccess and others
2+
error_log
3+
.htaccess
4+
5+
# concrete5 5.6 specific
6+
17
config/site.php
28
files/cache/*
39
files/tmp/*
4-
.htaccess
10+
11+
# concrete5 5.7 specific
12+
13+
# ignore everything but the index.html
14+
/application/files/*
15+
!/application/files/index.html
16+
17+
# ignore updates folder
18+
/updates/*
19+
20+
# ignore sitemap.xml
21+
/sitemap.xml

options/gitignore/Coq

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,13 @@ lia.cache
3131
nia.cache
3232
nlia.cache
3333
nra.cache
34+
35+
# generated timing files
36+
*.timing.diff
37+
*.v.after-timing
38+
*.v.before-timing
39+
*.v.timing
40+
time-of-build-after.log
41+
time-of-build-before.log
42+
time-of-build-both.log
43+
time-of-build-pretty.log

options/gitignore/Dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,6 @@ doc/api/
1919
*.js_
2020
*.js.deps
2121
*.js.map
22+
23+
.flutter-plugins
24+
.flutter-plugins-dependencies

options/gitignore/Drupal

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,25 +23,25 @@
2323

2424
# Ignore drupal core (if not versioning drupal sources)
2525
/core
26+
/vendor
2627
/modules/README.txt
2728
/profiles/README.txt
29+
/themes/README.txt
2830
/sites/README.txt
2931
/sites/example.sites.php
3032
/sites/example.settings.local.php
3133
/sites/development.services.yml
32-
/themes/README.txt
33-
/vendor
3434
/.csslintrc
3535
/.editorconfig
3636
/.eslintignore
3737
/.eslintrc.json
3838
/.gitattributes
39+
/.ht.router.php
3940
/.htaccess
4041
/autoload.php
41-
/composer.json
42-
/composer.lock
4342
/example.gitignore
4443
/index.php
44+
/INSTALL.txt
4545
/LICENSE.txt
4646
/README.txt
4747
/robots.txt

options/gitignore/Eclipse

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,7 @@ local.properties
5454
.cache-main
5555
.scala_dependencies
5656
.worksheet
57+
58+
# Uncomment this line if you wish to ignore the project description file.
59+
# Typically, this file would be tracked if it contains build/dependency configurations:
60+
#.project

options/gitignore/Godot

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
21
# Godot-specific ignores
32
.import/
43
export.cfg
54
export_presets.cfg
65

6+
# Imported translations (automatically generated from CSV files)
7+
*.translation
8+
79
# Mono-specific ignores
810
.mono/
911
data_*/

options/gitignore/Gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.gradle
2-
/build/
2+
**/build/
3+
!src/**/build/
34

45
# Ignore Gradle GUI config
56
gradle-app.setting

0 commit comments

Comments
 (0)