Browse Source

Add ability for local makefile with personal customizations that wouldnt affect remote repo (#35836)

This would allow developers to keep a local file that'd add personal
makefile targets for niche convenience customization without having to
have the git workspace polluted with uncommitted changes.

---------

Signed-off-by: techknowlogick <techknowlogick@gitea.com>
pull/35915/head
techknowlogick 1 month ago committed by GitHub
parent
commit
919348665b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      .gitattributes
  2. 3
      .gitignore
  3. 4
      Makefile

1
.gitattributes vendored

@ -8,3 +8,4 @@ @@ -8,3 +8,4 @@
/vendor/** -text -eol linguist-vendored
/web_src/js/vendor/** -text -eol linguist-vendored
Dockerfile.* linguist-language=Dockerfile
Makefile.* linguist-language=Makefile

3
.gitignore vendored

@ -127,3 +127,6 @@ prime/ @@ -127,3 +127,6 @@ prime/
# Ignore worktrees when working on multiple branches
.worktrees/
# A Makefile for custom make targets
Makefile.local

4
Makefile

@ -198,6 +198,10 @@ TEST_MSSQL_DBNAME ?= gitea @@ -198,6 +198,10 @@ TEST_MSSQL_DBNAME ?= gitea
TEST_MSSQL_USERNAME ?= sa
TEST_MSSQL_PASSWORD ?= MwantsaSecurePassword1
# Include local Makefile
# Makefile.local is listed in .gitignore
sinclude Makefile.local
.PHONY: all
all: build

Loading…
Cancel
Save