fix(build): add placeholder for embed static directory
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Add .gitkeep to backend/web/static/ to ensure directory exists for Go embed directive. The static/* pattern requires at least one file to exist at build time, otherwise compilation fails. Update .gitignore to allow .gitkeep while ignoring other contents.
This commit is contained in:
3
backend/.gitignore
vendored
3
backend/.gitignore
vendored
@@ -1,2 +1,3 @@
|
||||
dist
|
||||
web/static/
|
||||
web/static/*
|
||||
!web/static/.gitkeep
|
||||
|
||||
0
backend/web/static/.gitkeep
Normal file
0
backend/web/static/.gitkeep
Normal file
Reference in New Issue
Block a user