Skip to content

Commit 24ce205

Browse files
authored
Clean bindata (#34728)
Follow #34692
1 parent 6b8b580 commit 24ce205

File tree

4 files changed

+2
-15
lines changed

4 files changed

+2
-15
lines changed

.dockerignore

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,6 @@ _testmain.go
3636
coverage.all
3737
cpu.out
3838

39-
/modules/migration/bindata.go
40-
/modules/migration/bindata.go.hash
41-
/modules/options/bindata.go
42-
/modules/options/bindata.go.hash
43-
/modules/public/bindata.go
44-
/modules/public/bindata.go.hash
45-
/modules/templates/bindata.go
46-
/modules/templates/bindata.go.hash
47-
4839
*.db
4940
*.log
5041

.ignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
*.min.css
22
*.min.js
33
/assets/*.json
4-
/modules/options/bindata.go
5-
/modules/public/bindata.go
6-
/modules/templates/bindata.go
74
/options/gitignore
85
/options/license
96
/public/assets

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ WEBPACK_CONFIGS := webpack.config.js tailwind.config.js
120120
WEBPACK_DEST := public/assets/js/index.js public/assets/css/index.css
121121
WEBPACK_DEST_ENTRIES := public/assets/js public/assets/css public/assets/fonts
122122

123-
BINDATA_DEST := modules/public/bindata.dat modules/options/bindata.dat modules/templates/bindata.dat
123+
BINDATA_DEST_WILDCARD := modules/migration/bindata.* modules/public/bindata.* modules/options/bindata.* modules/templates/bindata.*
124124

125125
GENERATED_GO_DEST := modules/charset/invisible_gen.go modules/charset/ambiguous_gen.go
126126

@@ -219,7 +219,7 @@ clean-all: clean ## delete backend, frontend and integration files
219219

220220
.PHONY: clean
221221
clean: ## delete backend and integration files
222-
rm -rf $(EXECUTABLE) $(DIST) $(BINDATA_DEST) \
222+
rm -rf $(EXECUTABLE) $(DIST) $(BINDATA_DEST_WILDCARD) \
223223
integrations*.test \
224224
e2e*.test \
225225
tests/integration/gitea-integration-* \

tailwind.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ export default {
3333
'!./templates/swagger/v1_json.tmpl',
3434
'!./templates/user/auth/oidc_wellknown.tmpl',
3535
'!**/*_test.go',
36-
'!./modules/{public,options,templates}/bindata.go',
3736
'./{build,models,modules,routers,services}/**/*.go',
3837
'./templates/**/*.tmpl',
3938
'./web_src/js/**/*.{ts,js,vue}',

0 commit comments

Comments
 (0)