-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitignore
148 lines (127 loc) · 4.45 KB
/
.gitignore
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
################################################################################
# CleanDeck for CMD-Auth (https://link133.com) and other similar applications
#
# Copyright (c) 2023-2024 Iotu Nicolae, [email protected]
# Licensed under the terms of the MIT License (MIT)
#
# For the full copyright and license information, please view
# the LICENSE file that was distributed with this source code.
################################################################################
# Exclude all
/**
# Handle each file and directory in detail.
# Logic:
# - allow only paths which may by committed,
# - ommit paths which are designated for individual projects,
# - ommit paths which may be used by developers for individual projects.
# In this way the developer may continue working on his CleanDeck project and make commits from the same place.
# Unlike other applications, CleanDeck is build arround this workflow and .gitignore is an essential tool used to
# enforce the workflow. This means that it should be safe for developers to make commits as long as no .gitignore
# overriding commands are used (i.e. don't use *git add --force ...*).
# Paths which are common to own project and contribution must be handled as required by CleanDeck (branch).
# Application
!/Application
!/Application/readme.md
# Application/Instance
!/Application/Instance
!/Application/Instance/*
!/Application/Instance/Config/**
!/Application/Instance/Controllers/.gitkeep
!/Application/Instance/Libraries/.gitkeep
!/Application/Instance/Libraries/View
!/Application/Instance/Libraries/View/.gitkeep
!/Application/Instance/Middleware/.gitkeep
!/Application/Instance/Routes/.gitkeep
!/Application/Instance/Routes/GETRoutes.php
!/Application/Instance/Routes/POSTRoutes.php
!/Application/Instance/Views
!/Application/Instance/Views/core
!/Application/Instance/Views/core/components
!/Application/Instance/Views/core/components/.gitkeep
!/Application/Instance/Views/core/page-content
!/Application/Instance/Views/core/page-content/.gitkeep
!/Application/Instance/Views/core/.gitkeep
!/Application/Instance/Views/.gitkeep
# Application/public
!/Application/public
!/Application/public/*
!/Application/public/misc/.gitkeep
!/Application/public/template/core
!/Application/public/template/core/addon
!/Application/public/template/core/addon/**
!/Application/public/template/core/custom
!/Application/public/template/core/custom/.gitkeep
!/Application/public/template/core/main
!/Application/public/template/core/main/**
# Application/writable
!/Application/writable
!/Application/writable/.gitkeep
!/Application/writable/.htaccess
# bin
!/bin
!/bin/**
# build
!/build
!/build/.gitkeep
# deploy
!/deploy
!/deploy/settings
!/deploy/settings/**
!/deploy/ssl
!/deploy/ssl/generated
!/deploy/ssl/generated/.gitkeep
!/deploy/ssl/scripts
!/deploy/ssl/scripts/**
!/deploy/ssl/template
!/deploy/ssl/template/**
!/deploy/ssl/ssl-readme.md
!/deploy/readme.md
# documentation
!/documentation
!/documentation/**
# Framework
!/Framework
!/Framework/**
# tests
!/tests
!/tests/**
/tests/_support-Application/**
!/tests/_support-Application/.gitkeep
/tests/Application/**
!/tests/Application/Instance
!/tests/Application/Instance/Controllers
!/tests/Application/Instance/Controllers/.gitkeep
!/tests/Application/Instance/Libraries
!/tests/Application/Instance/Libraries/.gitkeep
!/tests/Application/Instance/Middleware
!/tests/Application/Instance/Middleware/.gitkeep
# tools
!/tools
!/tools/**
# tools/Application
/tools/Application/eslint/**
!/tools/Application/eslint/.eslintignore
!/tools/Application/eslint/.eslintrc.json
/tools/Application/php-cs-fixer/**
!/tools/Application/php-cs-fixer/.php-cs-fixer-basic-setup.php
!/tools/Application/php-cs-fixer/.php-cs-fixer-no-parallel.dist.php
!/tools/Application/php-cs-fixer/.php-cs-fixer-parallel.dist.php
/tools/Application/phpstan/**
!/tools/Application/phpstan/phpstan.neon.dist
!/tools/Application/phpstan/phpstan-baseline.php
!/tools/Application/phpstan/phpstan-bootstrap.php
/tools/Application/phpunit/**
!/tools/Application/phpunit/phpunit.xml.dist
!/tools/Application/phpunit/phpunit-bootstrap.php
/tools/Application/rector/**
!/tools/Application/rector/rector.php
# Top level files
!/.editorconfig
!/.gitignore
!/composer.json
# Commit your application's lock file https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
!/composer.lock
!/env.ini
!/LICENSE
!/readme.md