Browse Source

added missing config.ini file for build

dependabot/npm_and_yarn/web/prismjs-1.21.0
Schmitt, Max 8 years ago
parent
commit
6e33c8bb09
  1. 2
      .gitignore
  2. 2
      .travis.yml
  3. 18
      build/config.json
  4. 4
      descriptor.json

2
.gitignore

@ -16,6 +16,6 @@ main.db
debug debug
*db.lock *db.lock
static/bower_components static/bower_components
config.json /config.json
static.go static.go
handlers/tmpls/tmpls.go handlers/tmpls/tmpls.go

2
.travis.yml

@ -1,6 +1,6 @@
language: go language: go
go: go:
- 1.9.2 - master
install: install:
- . $HOME/.nvm/nvm.sh - . $HOME/.nvm/nvm.sh
- nvm install stable - nvm install stable

18
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": ""
}
}
}
}

4
descriptor.json

@ -9,8 +9,8 @@
}, },
"files": [ "files": [
{ {
"includePattern": "releases/(.*\/.tar\/.bz2)", "includePattern": "releases/(.*\\.tar\\.bz2)",
"uploadPattern": "/$1" "uploadPattern": "$1"
} }
], ],
"publish": true "publish": true

Loading…
Cancel
Save