-
Notifications
You must be signed in to change notification settings - Fork 104
/
zproject_git.gsl
185 lines (184 loc) · 4.3 KB
/
zproject_git.gsl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
# Generate .gitignore for project (one time only)
#
# This is a code generator built using the iMatix GSL code generation
# language. See https://github.com/zeromq/gsl for details.
#
# Copyright (c) the Contributors as noted in the AUTHORS file.
# This file is part of zproject.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
if !file.exists (".gitignore")
echo "Generating initial .gitignore file"
output ".gitignore"
># This is a skeleton created by zproject.
># You can add hand-written code here.
>save.xml
># Object files
>*.o
>*.so
>*.ko
>*.pyc
>
># Libraries
>*.lib
>*.a
>*.la
>*.pc
>*.dll.a
>
># Shared objects (inc. Windows DLLs)
>*.dll
>*.so.*
>*.dylib
>*.lo
>
># Executables
>src/$(project.name)_selftest
for project.main
>src/$(main.name)
endfor
>*.exe
>*.out
>*.app
>core
>
># Distcheck workspace and archives
>/$(project.name)-*/
>/$(project.name)-*.tar.gz
>/$(project.name)-*.zip
>
># Man pages
>doc/*.1
>doc/*.3
>doc/*.7
>
># autoconf files
>.deps
>.libs
>*.log
>*.trs
>Makefile
>Makefile.in
>!builds/openwrt/Makefile
>aclocal.m4
>autom4te.cache/
>config.log
>config.status
>config/
>configure
>configure.lineno
>libtool
>src/platform.h
>src/platform.h.in
>src/platform.h.in~
>src/stamp-h1
>src/test-suite.log
>src/.dirstamp
>
># CMake cache
>CMakeCache.txt
>CMakeFiles/
>CTestTestfile.cmake
>cmake_install.cmake
>compile_commands.json
>DartConfiguration.tcl
>install_manifest.txt
>Testing/
>
># Repositories downloaded by CI integration scripts
>tmp-deps/
>
># Travis build area
>tmp/
>
># Valgrind files
>callgrind*
>vgcore*
>
># Vagrant files
>.vagrant
>
># CLion / PyCharm
>.idea
>
># GYP files
>project.Makefile
>*.target.mk
>out/
>
># Android build results
>builds/android/prefix
>
># Android - generated directories
>src/app/bin/
>src/app/gen/
>src/app/obj/
>src/app/local.properties
>
># Android - dependencies
>src/app/jni/output
>
># Python build directory
>build/
>
># MSVC build directories
>obj/
>bin/
>*.tlog
>
># Qt
>*pro.user
>moc_*
>build-*
>bindings/qt/selftest/selftest
>
># Temporary files
>*.swp
>*.bak
>.test*
>
># Netbeans directory
>nbproject/
>
># editor backups
>*~
else
echo "NOT regenerating an existing .gitignore file; you might want to move yours out of the way and re-generate the project again to get updated settings"
endif
if !file.exists (".gitattributes")
echo "Generating initial .gitattributes file"
output ".gitattributes"
># This is a skeleton created by zproject.
># You can add hand-written code here.
># disables auto CRLF conversion for all files; create the file correctly and it will be allright
>* -text
else
echo "NOT regenerating an existing .gitattributes file; you might want to move yours out of the way and re-generate the project again to get updated settings"
endif
if !file.exists (".editorconfig")
echo "Generating initial .editorconfig file"
output ".editorconfig"
># This is a skeleton created by zproject.
># You can add hand-written code here.
># See http://editorconfig.org/ and https://github.com/editorconfig/ for
># details about the format and links to plugins for IDEs and editors which
># do not yet support this configuration out of the box - but easily can.
>
># This is a top-level setting for project sources under this directory
>root = true
>
>[*]
>end_of_line = lf
>insert_final_newline = true
>indent_style = space
>indent_size = 4
>trim_trailing_whitespace = true
>charset = utf-8
>
>[*.am]
>indent_style = tab
else
echo "NOT regenerating an existing .editorconfig file; you might want to move yours out of the way and re-generate the project again to get updated settings"
endif