Update editorconfig & formatting

This commit is contained in:
Manuel 2023-02-02 14:15:17 +01:00
parent bfd1d7c5ba
commit e6f94b8e3b
Signed by: SunRed
GPG Key ID: 4085037435E1F07A
3 changed files with 18 additions and 8 deletions

View File

@ -4,5 +4,15 @@ root = true
charset = utf-8 charset = utf-8
end_of_line = lf end_of_line = lf
insert_final_newline = true insert_final_newline = true
trim_trailing_whitespace = true
[{v.mod,*.v}]
indent_style = tab indent_style = tab
tab_width = 4 indent_size = 4
[*.{yml,yaml,hcl,toml}]
indent_style = space
indent_size = 2
[*.{diff,md}]
trim_trailing_whitespace = false

View File

@ -5,5 +5,5 @@ redirect = false
redirect_url = "" redirect_url = ""
db_path = "./db/app.db" db_path = "./db/app.db"
origins = [ origins = [
"*" "*"
] ]

View File

@ -1,17 +1,17 @@
variable "REG" { variable "REG" {
default = "git.snrd.eu" default = "git.snrd.eu"
} }
variable "REPO" { variable "REPO" {
default = "sunred/highscore-server" default = "sunred/highscore-server"
} }
variable "TAG" { variable "TAG" {
default = "latest" default = "latest"
} }
group "default" { group "default" {
targets = ["production"] targets = ["production"]
} }
target "production" { target "production" {
output = ["type=docker"] output = ["type=docker"]
tags = ["${REG}/${REPO}:latest", "${REG}/${REPO}:${TAG}"] tags = ["${REG}/${REPO}:latest", "${REG}/${REPO}:${TAG}"]
} }