Skip to content

Commit 60a6906

Browse files
committed
Fix: missing files and scripts
1 parent e914a91 commit 60a6906

File tree

4 files changed

+17
-6
lines changed

4 files changed

+17
-6
lines changed

.air.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[build]
2+
cmd = "make -s init"
3+
bin = "bin"
4+

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@
2020
# Go workspace file
2121
go.work
2222
go.work.sum
23+
bin
24+
tmp
2325

2426
# Vault
2527
vault
2628
vault.*
2729
*.vt
28-
*.bak
29-
bin
30+
*.bak

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ ENTRYPOINT air
1717
### BASE DEPLOY
1818
FROM base AS base-deploy
1919
COPY . .
20-
RUN make mainbuild
20+
RUN make build
2121

2222
### DEPLOY
2323
FROM ubuntu:24.04 AS deploy

Makefile

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
DISPLAY_NAME := Vault
2-
SHORT_NAME := vault
3-
VERSION := 1.3.9
1+
DISPLAY_NAME := WireGaurdGenerator
2+
SHORT_NAME := wgg
3+
VERSION := 1.0.0
44

55
COMMIT := $(shell git rev-parse --short HEAD)
66
BUILD_ARGS := "-X main.Version=$(VERSION) -X main.Commit=$(COMMIT) -X main.DisplayName=$(DISPLAY_NAME) -X main.ShortName=$(SHORT_NAME)"
@@ -68,6 +68,12 @@ init:
6868
@echo "building..."
6969
@make -s build
7070

71+
## air: starts the go bin in air watch mode
72+
.PHONY: air
73+
air:
74+
@go install github.com/air-verse/air@v1
75+
@air
76+
7177
## dev: starts a dev docker container
7278
.PHONY: dev
7379
dev:

0 commit comments

Comments
 (0)