Skip to content

Commit

Permalink
Adding quick build alias to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ESteanes authored Sep 10, 2024
1 parent 5df6eac commit fedcccb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,10 @@ go build -o expense-manager #linux
.\expense-manager.exe #windows
./expense-manager #linux
```

## Helpful Commands
Add to your `.bashrc` file.
```
alias expenseManagerBuild="templ generate && gofmt -s -w . && go mod tidy && go build -o expense-manager"
alias expenseManagerBuildRun="templ generate && gofmt -s -w . && go mod tidy && go build -o expense-manager && ./expense-manager"
```

0 comments on commit fedcccb

Please sign in to comment.