5a886307fd
`make backend` embeds public/ via go:embed at compile time, so any frontend asset change requires: ddev build-gitea-frontend # vite into public/assets/ ddev build-gitea # re-embed public/ into the binary ddev restart # pick up new binary
19 lines
378 B
Plaintext
19 lines
378 B
Plaintext
# Whitelist approach: ignore everything in .ddev by default, then re-include
|
|
# the files we author. DDEV regenerates the rest on `ddev start`.
|
|
*
|
|
!.gitignore
|
|
!config.yaml
|
|
!web-build/
|
|
web-build/*
|
|
!web-build/Dockerfile
|
|
!commands/
|
|
commands/*
|
|
!commands/web/
|
|
commands/web/*
|
|
!commands/web/build-gitea
|
|
!commands/web/build-gitea-frontend
|
|
!gitea/
|
|
gitea/*
|
|
!gitea/app.ini
|
|
!gitea/.gitignore
|