Skip to content

Commit

Permalink
updated gorelaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
a-h committed Jun 3, 2021
1 parent 839d0bb commit 76a6d6b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
builds:
- env:
- CGO_ENABLED=0
dir: cmd
dir: cmd/templ
goos:
- linux
- windows
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
install-snapshot:
# Clear logs.
rm cmd/lspcmd/*.txt || true
rm cmd/templ/lspcmd/*.txt || true
# Install the latest version.
cd cmd && go build -o ~/bin/templ
cd cmd/templ && go build -o ~/bin/templ

build-snapshot:
goreleaser build --snapshot --rm-dist
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Getting started

* Install the `templ` command-line tool: `go install github.com/a-h/templ/cmd/templ`
* Install the `templ` command-line tool: `go install github.com/a-h/templ/cmd/templ@latest`
* Create a `*.templ` file containing a template.
* Run `templ generate` to create Go code from the template.

Expand Down Expand Up @@ -356,8 +356,8 @@ To add extensive debug information, you can include additional args to the LSP,
"templ": {
"command": "templ",
"args": ["lsp",
"--log", "/Users/adrian/github.com/a-h/templ/cmd/lspcmd/templ-log.txt",
"--goplsLog", "/Users/adrian/github.com/a-h/templ/cmd/lspcmd/gopls-log.txt",
"--log", "/Users/adrian/github.com/a-h/templ/cmd/templ/lspcmd/templ-log.txt",
"--goplsLog", "/Users/adrian/github.com/a-h/templ/cmd/templ/lspcmd/gopls-log.txt",
"--goplsRPCTrace", "true"
],
"filetypes": ["templ"]
Expand Down

2 comments on commit 76a6d6b

@bbkane
Copy link
Contributor

@bbkane bbkane commented on 76a6d6b Jun 4, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops, looks like I missed these changes, sorry about that

@a-h
Copy link
Owner Author

@a-h a-h commented on 76a6d6b Jun 4, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to apologise, I'm happy you helped out! 😁

Please sign in to comment.