Skip to content

Add GLSL linter using glslang#914

Merged
w0rp merged 8 commits into
dense-analysis:masterfrom
svenstaro:add-glsl-linter
Sep 8, 2017
Merged

Add GLSL linter using glslang#914
w0rp merged 8 commits into
dense-analysis:masterfrom
svenstaro:add-glsl-linter

Conversation

@svenstaro

Copy link
Copy Markdown
Contributor

Adds a GLSL linter using glslang. Also fixes #592.

Comment thread README.md
| Go | [gofmt](https://golang.org/cmd/gofmt/), [go vet](https://golang.org/cmd/vet/), [golint](https://godoc.org/github.com/golang/lint), [gometalinter](https://github.com/alecthomas/gometalinter) !!, [go build](https://golang.org/cmd/go/) !!, [gosimple](https://github.com/dominikh/go-tools/tree/master/cmd/gosimple), [staticcheck](https://github.com/dominikh/go-tools/tree/master/cmd/staticcheck) |
| GraphQL | [gqlint](https://github.com/happylinks/gqlint) |
| Haml | [haml-lint](https://github.com/brigade/haml-lint)
| Haml | [haml-lint](https://github.com/brigade/haml-lint) |

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Technically out of scope but I think this fixes a small markup problem.

@w0rp w0rp left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Apart from the documentation error, this looks pretty good to me. 👍

Comment thread doc/ale.txt
fusionscript..........................|ale-fuse-options|
fusion-lint.........................|ale-fuse-fusionlint|
glsl..................................|ale-glsl-options|
glslang.............................|ale-glsl-glslang|

@w0rp w0rp Sep 7, 2017

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The Bash script pointed out that there's no tag for this doc tag link |ale-glsl-glslang|. I think the name is right here. You should make the heading name and the tag in doc/ale-glsl.txt match what you have here.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Oh yeah I was apparently moving these things around at some point. The name here is the one I intended.

Comment thread doc/ale-glsl.txt Outdated


===============================================================================
glslangValidator *ale-glsl-glslangValidator*

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I recommend changing these to glslang and *ale-glsl-glslang*. See my other comment.

@w0rp w0rp merged commit ff28836 into dense-analysis:master Sep 8, 2017
@w0rp

w0rp commented Sep 8, 2017

Copy link
Copy Markdown
Member

Cheers! 🍻

@svenstaro svenstaro deleted the add-glsl-linter branch September 8, 2017 10:19
cwonrails added a commit to cwonrails/ale that referenced this pull request Sep 9, 2017
* upstream/master: (30 commits)
  Add a Batch script for running tests on Windows
  Switch the AppVeyor clone directory to C:\testplugin
  Get some more random tests to work on Windows
  Fix the smoke_test.vader file on Windows
  Fix dense-analysis#912 - Close lists automatically when g:ale_open_list is set to 'on_save' again
  Add GLSL linter using glslang (dense-analysis#914)
  Add cuda nvcc linter (dense-analysis#874)
  Now remove the version command and the dummy file
  Add a blank file for testing AppVeyor
  Now try to cache Vim and Vader for AppVeyor CI
  Fix some PowerShell stderr BS
  Try and set up Vader only if needed too
  Fix some PowerShell syntax errors
  Try and set up AppVeyor so it will only download Vim if the directory is not there
  Try and get AppVeyor to run a single test
  Set up Vim runtime files in AppVeyor too
  Try and set up Vader in AppVeyor
  Try again
  Try different things for the Vim executable path
  Disable builds for AppVeyor
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Glsl linting

2 participants