Taskfile: remove trailing period in task description (#6873)

[skip ci]
pull/6874/head
Joe Chen 2022-03-25 18:38:40 +08:00 committed by GitHub
parent 3c49a6173d
commit 22fb91cff9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 10 deletions

View File

@ -6,13 +6,13 @@ vars:
tasks: tasks:
web: web:
desc: Build the binary and start the web server. desc: Build the binary and start the web server
deps: [build] deps: [build]
cmds: cmds:
- ./gogs web - ./gogs web
build: build:
desc: Build the binary. desc: Build the binary
cmds: cmds:
- go build -v - go build -v
-ldflags ' -ldflags '
@ -35,12 +35,12 @@ tasks:
- templates/** - templates/**
generate-schemadoc: generate-schemadoc:
desc: Generate database schema documentation. desc: Generate database schema documentation
cmds: cmds:
- go generate ./internal/db/schemadoc - go generate ./internal/db/schemadoc
generate: generate:
desc: Run all go:generate commands. desc: Run all go:generate commands
deps: [generate-schemadoc] deps: [generate-schemadoc]
test: test:
@ -49,12 +49,12 @@ tasks:
- go test -cover -race ./... - go test -cover -race ./...
clean: clean:
desc: Cleans up system meta files for code generation. desc: Cleans up system meta files
cmds: cmds:
- find . -name "*.DS_Store" -type f -delete - find . -name "*.DS_Store" -type f -delete
release: release:
desc: Build the binary and pack resources to a ZIP file. desc: Build the binary and pack resources to a ZIP file
deps: [build] deps: [build]
cmds: cmds:
- rm -rf {{.RELEASE_GOGS}} - rm -rf {{.RELEASE_GOGS}}
@ -66,21 +66,21 @@ tasks:
RELEASE_GOGS: release/gogs RELEASE_GOGS: release/gogs
less: less:
desc: Generate CSS from LESS files. desc: Generate CSS from LESS files
cmds: cmds:
- lessc --clean-css --source-map "public/less/gogs.less" public/css/gogs.min.css - lessc --clean-css --source-map "public/less/gogs.less" public/css/gogs.min.css
fixme: fixme:
desc: Show all occurrences of "FIXME". desc: Show all occurrences of "FIXME"
cmds: cmds:
- grep -rnw "FIXME" internal - grep -rnw "FIXME" internal
todo: todo:
desc: Show all occurrences of "TODO". desc: Show all occurrences of "TODO"
cmds: cmds:
- grep -rnw "TODO" internal - grep -rnw "TODO" internal
legacy: legacy:
desc: Identify legacy and deprecated lines. desc: Identify legacy and deprecated lines
cmds: cmds:
- grep -rnw "\(LEGACY\|Deprecated\)" internal - grep -rnw "\(LEGACY\|Deprecated\)" internal