diff --git a/.gitignore b/.gitignore index 75f88ee..7e83430 100644 --- a/.gitignore +++ b/.gitignore @@ -16,6 +16,6 @@ main.db debug *db.lock static/bower_components -config.json +/config.json static.go handlers/tmpls/tmpls.go \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index 1e49dc1..597a726 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: go go: - - 1.9.2 + - master install: - . $HOME/.nvm/nvm.sh - nvm install stable diff --git a/build/config.json b/build/config.json new file mode 100644 index 0000000..26edcd3 --- /dev/null +++ b/build/config.json @@ -0,0 +1,18 @@ +{ + "$schema": "./schema.json", + "Store": { + "DBPath": "main.db", + "ShortedIDLength": 4 + }, + "Handlers": { + "ListenAddr": ":8080", + "BaseURL": "http://localhost:3000", + "EnableGinDebugMode": false, + "OAuth": { + "Google": { + "ClientID": "", + "ClientSecret": "" + } + } + } +} \ No newline at end of file diff --git a/descriptor.json b/descriptor.json index 9215e70..89b2579 100644 --- a/descriptor.json +++ b/descriptor.json @@ -9,8 +9,8 @@ }, "files": [ { - "includePattern": "releases/(.*\/.tar\/.bz2)", - "uploadPattern": "/$1" + "includePattern": "releases/(.*\\.tar\\.bz2)", + "uploadPattern": "$1" } ], "publish": true