浏览代码

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

[skip ci]
Joe Chen 3 年之前
父节点
当前提交
22fb91cff9
共有 1 个文件被更改,包括 10 次插入10 次删除
  1. 10 10
      Taskfile.yml

+ 10 - 10
Taskfile.yml

@@ -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