Skip to content

Commit f3eb8a6

Browse files
committed
Patch fomantic-ui to workaround build issue
Better workaround than #10653 for fomantic/Fomantic-UI#1356. It does not seem like we're getting a new Fomantic-UI release anytime soon, so this patches it after node_modules installation. Fixes: #11243 Fixes: #10679
1 parent 6b6f20b commit f3eb8a6

File tree

6 files changed

+219
-113
lines changed

6 files changed

+219
-113
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
* text=auto eol=lf
22
/vendor/** -text -eol
33
/public/vendor/** -text -eol
4+
/patches/** -text -eol
45

56
conf/* linguist-vendored
67
docker/* linguist-vendored

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ release-sources: | $(DIST_DIRS) node_modules
573573
tar --exclude=./$(DIST) --exclude=./.git --exclude=./$(MAKE_EVIDENCE_DIR) --exclude=./node_modules/.cache -czf $(DIST)/release/gitea-src-$(VERSION).tar.gz .
574574
rm -f $(STORED_VERSION_FILE)
575575

576-
node_modules: package-lock.json
576+
node_modules: package-lock.json patches/*
577577
npm install --no-save
578578
@touch node_modules
579579

@@ -654,4 +654,4 @@ golangci-lint:
654654
golangci-lint run --timeout 5m
655655

656656
# This endif closes the if at the top of the file
657-
endif
657+
endif

0 commit comments

Comments
 (0)