Skip to content

Commit

Permalink
update 'deps' and 'web' commands
Browse files Browse the repository at this point in the history
  • Loading branch information
paprotskiy committed Oct 30, 2023
1 parent a4bdf36 commit cf24115
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ openapi:
openapi-generator-cli generate -i api/openapi-spec/openapi.yaml -g typescript-axios -o web/src/axios

deps:
go mod download
go mod tidy

build:
GOOS=linux GOARCH=386 go build -o build/envrouter cmd/envrouter/main.go

# should be started with make run -B
web:
unset CI
cd web
npm i
npm run build
npm --prefix ./web i
npm --prefix ./web run build

run:
go run cmd/envrouter/main.go

0 comments on commit cf24115

Please sign in to comment.