Browse Source

Creating now tarball for the different architectures

dependabot/npm_and_yarn/web/prismjs-1.21.0
Schmitt, Max 8 years ago
parent
commit
f7ba9d5cbc
  1. 3
      Makefile
  2. 18
      config.dist.json
  3. 2
      descriptor.json

3
Makefile

@ -23,3 +23,6 @@ getGoDependencies:
buildProject: buildProject:
@mkdir releases @mkdir releases
gox -output="releases/{{.OS}}_{{.Arch}}/{{.OS}}_{{.Arch}}" gox -output="releases/{{.OS}}_{{.Arch}}/{{.OS}}_{{.Arch}}"
find releases -maxdepth 1 -mindepth 1 -type d -exec cp build/config.json {} \;
find releases -maxdepth 1 -mindepth 1 -type d -exec cp build/schema.json {} \;
find releases -maxdepth 1 -mindepth 1 -type d -exec tar -cvjf {}.tar.bz2 {} \;

18
config.dist.json

@ -1,18 +0,0 @@
{
"$schema": "./build/schema.json",
"Store": {
"DBPath": "main.db",
"ShortedIDLength": 4
},
"Handlers": {
"ListenAddr": ":8080",
"BaseURL": "http://localhost:3000",
"EnableGinDebugMode": false,
"OAuth": {
"Google": {
"ClientID": "",
"ClientSecret": ""
}
}
}
}

2
descriptor.json

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

Loading…
Cancel
Save