Skip to content

Commit

Permalink
Correcting makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacobbrewer1 committed Nov 2, 2024
1 parent 604a3e5 commit 179205c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ DATE = $(shell date -u +'%Y-%m-%dT%H:%M:%SZ')

linux: clean
@echo "Building for linux"
GOOS=linux GOARCH=amd64 go build -o bin/goschema -ldflags '-X main.Commit=$(hash) -X main.Date=$(DATE)' ./cmd/schema
GOOS=linux GOARCH=amd64 go build -o bin/goschema -ldflags '-X main.Commit=$(hash) -X main.Date=$(DATE)' .
windows: clean
@echo "Building for windows"
GOOS=windows GOARCH=amd64 go build -o bin/goschema -ldflags '-X main.Commit=$(hash) -X main.Date=$(DATE)' ./cmd/schema
GOOS=windows GOARCH=amd64 go build -o bin/goschema -ldflags '-X main.Commit=$(hash) -X main.Date=$(DATE)' .
mac: clean
@echo "Building for mac"
GOOS=darwin GOARCH=amd64 go build -o bin/goschema -ldflags '-X main.Commit=$(hash) -X main.Date=$(DATE)' ./cmd/schema
GOOS=darwin GOARCH=amd64 go build -o bin/goschema -ldflags '-X main.Commit=$(hash) -X main.Date=$(DATE)' .
clean:
@echo "Cleaning up"
# Remove the bin directory
Expand Down
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,3 @@ This application is designed to generate the schema for given SQL tables as GO s

Please take a look at the example directory for a sample schema layout and the output of the application.

## Installation

```bash
go install github.com/jacobbrewer1/goschema@latest
```

0 comments on commit 179205c

Please sign in to comment.