Browse Source

better looks on github

skyblue 11 years ago
parent
commit
583f11f27c
1 changed files with 6 additions and 8 deletions
  1. 6 8
      .fswatch.json

+ 6 - 8
.fswatch.json

@@ -1,22 +1,20 @@
 {
-    "paths": [
-		"."
-	],
+    "paths": ["."],
     "depth": 2,
     "exclude": [
-		"^gogs$",
+        "^gogs$",
         "~$",
         "\\.swp$",
         "\\.exe$",
-		"\\.swx$",
-		".*\\.log$"
+        "\\.swx$",
+        ".*\\.log$"
     ],
-    "include": [],
+    "include": ["\\.go$"],
     "command": [
         "bash", "-c", "go build && ./gogs web"
     ],
     "env": {
-        "PROGRAM": "fswatch"
+        "POWERED_BY": "github.com/shxsun/fswatch"
     },
     "enable-restart": false
 }