diff options
author | Michael Li <alimy@gility.net> | 2022-03-17 14:05:09 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-17 14:05:09 +0800 |
commit | 32c454ba5faea9dc4236c12e28e0b65f01117cc1 (patch) | |
tree | 1eea30a83f78b311983924ba3bab00884633f508 /Taskfile.yml | |
parent | 39f64a1371cdb01e02aeeb04839d2689052ae1d3 (diff) |
assets: convert usage of go-bindata to Go embed (#6851)
Co-authored-by: Joe Chen <jc@unknwon.io>
Diffstat (limited to 'Taskfile.yml')
-rw-r--r-- | Taskfile.yml | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/Taskfile.yml b/Taskfile.yml index b42d3881..d133b975 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -30,14 +30,9 @@ tasks: sources: - gogs.go - internal/**/*.go - - generate-bindata: - desc: Generate bindata for all assets. - deps: [clean] - cmds: - - go generate internal/assets/conf/conf.go - - go generate internal/assets/templates/templates.go - - go generate internal/assets/public/public.go + - conf/** + - public/** + - templates/** generate-schemadoc: desc: Generate database schema documentation. @@ -46,7 +41,7 @@ tasks: generate: desc: Run all go:generate commands. - deps: [generate-bindata, generate-schemadoc] + deps: [generate-schemadoc] test: desc: Run all tests. |