You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

96 lines
3.2 KiB
Erlang

#!/usr/bin/env escript
Squashed 'vim/bundle/syntastic/' changes from 106c772b0..56e19eb81 56e19eb81 Sphinx checker: update maintainer's address. 131ec84e6 New checker for reStructuredText: sphinx. e46c64701 Bug fix: more findfile() fun. a728268d7 Bug fix: finding files in parent directories. 98e79d85f Nix checker: cleanup. c840655d1 Add support for .nix files b609b3bdd Checker ghc-mod: attempt to fix filename encodings. 84b4da7cf Manual: add a note about :mksession. b8682c302 Merge remote-tracking branch 'origin/pr/1447' 3dda9b833 Apps should be used for include_lib too cb9424c9e README: formatting. 7055ff936 Crystal external checker 0470fff0c Checker python/pylama: add option "--force". e15ebd336 Go checker: no longer attempt to redirect output of "go build". 5c6e78a27 README: suggest a safer cabbrev in FAQ. a7fde99ea Add support for Vera++ C++ checker 25ad02e12 README: add a link to the vim-eastwood plugin. 981196fdc Flow checker: use the "status" command. ae405fed8 Manual: add a note about zsh and rvm with MacVim. 5dba05af4 Bashate: make errorformat more permissive. 48b75c455 Tslint is a style checker. a8771fe6b Puppet-lint checker: --log-format now expects %{line}. 24bb29357 Minor comment fix. 4605886ea Safer opening of the error window (@blueyed). 3a30321fd Fix loclist timestamps for refresh (@blueyed). 9af644dac Remove comments from the tidy checker. 4fbe5f52c Flow checker: recover from negative end offsets. 48090a19f Updates to the manual. 615c890e7 Gfortran checker: bug fix: column handling and sorting for ifort. b152ac3db The gfortran checker now supports Intel Fortran. 80c5a047c Bug fix: b:cflags again. 2cf32d7be Bug fix: b:cflags applies only to C and C++ checkers. fe436371b Checker tsc: version 1.5 has option "--noEmit". a17db15e7 In some cases vim will set the filetype of *.pp files to 'pe-puppet' instead of 'puppet'. There is no functional difference so lets map 'pe-puppet' to 'puppet' so we can use the same default checkers. 710a854f6 Remove shellcheck checker for zsh ebfba7ec3 Puppet-lint no longer requires puppet. 2337c65b3 Keep track of b:changedtick. dac07db61 Cleanup: shut up most vint warnings. ac96ae4a2 Manual: add notes about powerline, vim-airline, and vim-go. ebadf9aff Windows brain damage: executable('foo') doesn't mean 'foo' is executable. b905f6d08 Mercury checker: cleanup. 4e0ac804c added mercury syntax checker 0cde75895 replaced erlang checker with the one from vimerl that works without rebar 84add5b7f Checkers using curl(1): allow redirections. 7b8526b96 Flow checker: bail out if there is no .flowconfig. 5b0d3dc8b README: rephrase. da1ecc0bb FAQ: add a note about $PATH. 231a78f5d Manual: update. 67fc031e0 Manual: fix examples to use g:syntastic_shell. 47eabae37 New global option: "shell". 869c5a726 Camlp4o checker: better error highlighting. 48812d833 Cleanup: exit codes are meaningless for checkers without exec. c297fbebb README: update address of tidy-html5. 69d20efc6 Elixir: handle warnings. fe3a48f33 Ruby checkers: make warning flags configurable. 272fc7df3 Manual: update the note about vim-auto-save. 413cdb354 Flow checker: make exe configurable. 5214f00a1 New checker for API Blueprint: snowcrash. a7758aa18 New checker for Vim: vint. b427af1e0 Cleanup: case-sensitive comparisons. 0e23cb097 Cleanup. fc8f8e500 RAEDME: minor rephrase. 9e5a6e657 README: add a link to vint-syntastic. 2a07c4acd New checker for SML: smlnj. c45293538 README: add a link syntastic-more. 399389c84 README: add links to a few third party checkers. c233c9bbd README: update URL for the Rust checker. f4b064e2d README: rephrase. 71aa71bc1 README: more details about enabling checkers. bccfdea4e Handling redefinition of exec: minor optimisation. 8256e4351 Typo. 471ce96af Remove the xcrun checker for Swift. d73546dd4 Java checker: more path fixes. cf4e18d3f Java checker: fix path detection. 776d4175c Handle redefinition of exec after the checker has run. 478218402 Security: disable the swift/xcrun checker by default. 372daff1a Reek checker: update. 157ad8d43 Minor cleanup. a7841c869 Minor cleanup. dde4a9be9 Formatting. 4401a23f2 Merge pull request #1323 from Shizmob/patch-1 b70e9af18 Don't warn on python/prospector with no messages. 7cbb79b73 More detailed debug information. c1a209895 New checker for JavaScript: standard. 1c6cae0d2 Merge pull request #1320 from ametheus/patch-1 0a310ca0a Fix typo 3ea613f53 Xmllint: make "--xinclude" and "--postvalid" optional. 7d9aec0be Prospector no longer accepts option "--external-config". 6b76c26cb Puppet checker: don't redirect stderr when checking version. abff1d81e Merge pull request #1313 from tomfogg/master 5cc56dbde missing comma in swift errorformat after cleanup b69efd072 README: Swift is now supported. cf012bdea Version logging: minor cleanup. b9608e77b Xcrun: cleanup. 46fc1ec68 Merge branch 'master' of https://github.com/scrooloose/syntastic 3e33785d8 add licence for swift syntax checker a76370c14 add swift syntax checker support using xcrun git-subtree-dir: vim/bundle/syntastic git-subtree-split: 56e19eb81a5cdf75542def5b0b07f68aab50809f
10 years ago
main([File]) ->
Dir = get_root(filename:dirname(File)),
Defs = [strong_validation,
warn_export_all,
warn_export_vars,
warn_shadow_vars,
warn_obsolete_guard,
warn_unused_import,
report,
{i, Dir ++ "/include"}],
Squashed 'vim/bundle/syntastic/' changes from 56e19eb81..89bc82a26 89bc82a26 Manual: add a note about debugging. b2ad71cd1 Manual: add a clarification about statusline. d8af5028e Bug fix: Cygwin sets has("unix"). de0106e83 JSCS checker: add "--max-errors -1" option. cc440f1b4 Checker yamllint: cleanup. 8c4dadc7e New checker for YAML: yamllint (@adrienverge). 972b87ca0 Safer syntastic#util#unique(). d1a179d75 Vim 7.4.1128 can delete directories recursively. 1f4846fec Stylelint checker can also check SCSS files. 2db6f539d Checker scss_lint: use the JSON reporter of scss-lint. b10c59b21 Manual: clarification about quiet_messages. c57ba0da9 Asciidoc checker: fix errorformat to allow use as asciidoctor. e39f636e2 Flow checker: go back to "flow check". 17a4c0123 Checker ghc_mod is on its way out. 189be0ae7 Workaround for a misfeature in Vim 7.4.1013 and later. 3280220e6 JSCS checker bug fix: minor fallouts from 751afea. 91814d672 Manual: bit rot: vim-go now uses loclists. 751afea9e JSCS checker: use JSON reporter. dbd761006 Minor feature: auto_loc_list == 3. 281b29487 Avoid checking the preview window. 6074c3d39 Stylelint checker: update parser. 48736aa37 Mixedindentlint is a style checker. ac4541e0e Minor cleanup. ce8dd364f Add `returns` list to `SyntasticMake` 6be9b4c71 Add mixedindentlint checker redirect for css a0382253c Add mixedindentlint checker redirect for scss 7d27a3982 Add mixedindentlint checker for JavaScript 60f979393 R linters: minor cleanup. 06a846955 Checker tsc: add guards option. e60555de7 Registry: cleaner handling of checker redirections. 4725c8616 Lintr checker: cleanup. bf60b72f3 Attempt support for Rmd files 4078f0db8 Updates for newest syntastic best practices f92adf3c9 Enable R linting using lintr 2d0bb98cf Allow ESLint to check typescript files. 77e20e22d Bug fix: decouple skip_checks from check_on_wq. 70c723ac1 Back off 6379bd1, this is not safe. 6379bd198 /dev/null should work under win32unix. dc516ef19 Checker asm/gcc: allow generic overrides. 6d2e406f9 Slim_lint checker: cleanup. 46c692b51 Add slim-lint checker 200cd1d07 Merge remote-tracking branch 'origin/pr/1609' 3f9fde2c1 fix miss test classpath 4f1e3adf3 correct pymode lint variable name in documentation 73dd78548 Dockerfile_lint checker: cleanup. 13456d5a7 Add dockerfile-lint checker 10788ac8d Javac checker: cleanup. 094c3631c fix maven project which has set srcdir or testsrc dir 3593d1697 fix maven project which has set srcdir or testsrc dir cd40fe975 Ansible-lint checker: make "-p" option mandatory. 13c8e7530 Ansible-lint checker: add version check. 7d627000c Checkers clang_check and clang_tidy: workaround for a regression in Clang. 721a42d5b Ansible-lint checker: cleanup. f8e638d28 Add ansible-lint syntax checkers 85cde9235 Core: disable autocommand nesting by default. d79d77fbd Core: allow syntastic commands to be followed by other Vim commands. ae7e00aad Revert "Javac checker: minor optimisation." cfdcdfaa9 Javac checker: minor optimisation. 03c058ea5 Typo. dec5bc73b New checker vcom for VHDL (@jevogel). 9f599a161 Standard checker: allow generic standard frontends. 943923433 Typo. 646124823 Back off a4c3fcc for slimrb. 630169bfc Stylelint checker: typo. c596b6474 Stylelint checker: cleanup. 1d5a057a0 Add CSS Stylelint checker a4c3fcc4a Partial workaround for a misfeature of errorformat. 1926693d1 Coqtop checker: fix potentially harmful errorformat. 11ca31582 Iverilog checker: formatting. d51d5ea51 Merge remote-tracking branch 'origin/pr/1579' 448b6cc61 add MIT license to iverilog.vim e484ac941 BaseX: allow filenames to contain special characters. 2553f6389 BaseX checker: minor cleanup. 50653f0bc BaseX checker: cleanup. 89ad03b2e conform iverilog to makeprgBuild() 5bf9fa749 Add support for Icarus Verilog compiler 3c524a661 Added support for XQuery using BaseX.exe f6eaf7e8b README: add links to ghcmod-vim and vim-go. 544acba17 ghc-mod versions 5.4.0 and later are no longer supported. f57cc9e84 Bump version number. 1b6c70ddc Merge remote-tracking branch 'origin/pr/1573' 160446799 [drafter] Update known status code 72b704e6f Bump version. d36bc7807 Bump version for release. 7e26d3589 Merge remote-tracking branch 'origin/pr/1567' ba62f2e68 API Blueprint should use drafter e1217a888 Manual: cross reference skip_checks from the filtering section. b3ebf94ac Manual: fix typo. 50d031583 Vimlint checker: add logging. d3130d6b5 Minor cleanup. b8aef009b Bug fix: length of composite characters in stl_format. 66f4e9693 Eslint checker: log if called as a generic frontend. c34ea8955 Eslint checker: allow generic eslint frontends. e0a3cf753 Add width controls to the new stl_format flags. d73d7601c New flags for stl_format: %ne, %nw, %N, %pe, %pw, %P. 03c8a7b55 README: add a link to the Merlin project. 1885e867b Checkstyle checker: make checkstyle_classpath an actual classpath. debcecd5c Checker gometalinter: minor cleanup. f2084e9e4 Checker gometalinter: fix arguments. 9371aafa8 Minor cleanup: regex optimisation. 8bb535bd2 Checker gometalinter: cleanup. 3db525cac include test files by default. add error type. aca4d8ea4 add support for setting arguments on gometalinter f1f7deed3 use package instead of file 61b7dbf9c add gometalinter syntax checker 8164240f6 Hlint: handle hint file parsing errors. 1e7589fe5 Back off "Reset notifiers if skip_checks is set." 6a4262251 Reset notifiers if skip_checks is set. be111259e js-yaml checker: update errorformat. 1be907716 Javac checker: make checker-specific commands available at startup. 3fb986584 Go checker: option "-buildmode=archive" is new in go 1.5. 703287c76 Checker jade_lint: cleanup. b5883c80f Add jade-lint 0fe603595 Bug fix: minor shell escape issue. d077102eb Gotype checker: parse test files (@jonasi). 3c2e7e4ce Go checker: attempt to speed up builds (@gsalgado). 13727dd46 Set the GOGC env var to off to speed up go builds 47c70b3e1 Minor language and grammar fixes. 7014a52ac Manual: update the note about zsh. 1ae5589f9 Javac checker: attempt at fixing errorformat. 3fb8281a6 Bug fix: missing a couple of executable() checks. 748725c77 Tslint checker: version 2.4.0 and later no longer support "-f". bfc55793e ESLint checker: line numbers are now 1-based. a01107ffa Bug fix: safer handling of automatic includes. 9d69f4c16 Qmllint checker: cleanup. 6ff7c8934 New checker for qml: qmllint edde4c5ed New checker for stylus: stylint. 74586ff12 Manual: consistency fixes. 07f2745eb Manual: rephrase description of check_on_wq. d26c7f78c Bug fix: passive mode UI problem; autocmd cleanup. a6012f2b4 Move floating point functions to autoload. bcb4ca6e7 Safety net for enable_*_checker variables. 6929f24e4 Flog checker: cleanup. 5db87b9ec Add ruby flog checker 76ec53f18 Sqlint checker now returns 1 when it detects errors. aded15691 Bug fix: leftover from JSON cleanup. 1dde81a68 There is no such thing as has('iconv/dyn'). d35396286 Sqlint checker: add highlighting function. 1e475a7df Sqlint checker: cleanup. 125ce327e Add checker for sqlint (https://github.com/purcell/sqlint) ffcf625fc Minor cleanup. c44cb15c4 Cleanup: JSON decoding. eba7ae6d6 Debug: add indicator for modified shell-related options. 83829b766 Minor bug fix. 74fd7e6b9 Show chacker output when whining that we can't parse version string. 2e60dd4af Manual: add a note about Tim Pope's "flagship". 59513edd4 Manual: fix the notice about rvm. a596ef38b Gfortran checker: fix errorformat for gfortran 5. b1b79009e Manual: Fix filetype_map example. 4708cdd12 Add a mechanism for handling checkers disabled for security. d75f3e5e8 Buffer-local security guards for perl/perl, elixirelixir, and r/svtools. a08221e98 Merge pull request #1463 from lavrin/erlang-rebar-rel-paths 0154e9d09 Translate relative paths from non-root rebar.config files 8e672780e Show checker output along with "checker returned abnormal status". 31cba018b Safety net: avoid suffixesadd interfering with findfile(). 176e32ca4 Cleanup. c9fc0d41e Checker javac: _really_ fix shell escaping in custom_classpath_command. dc15fa08c Checker javac: fix shell escaping in custom_classpath_command. c39563d95 Checker javac: cleanup. ec9da6732 Merge remote-tracking branch 'origin/pr/1456' dbb28cd84 Ada checker: disable generation of intermediate files. 8269ba278 Basic path substitution for g:syntastic_java_javac_custom_classpath_command git-subtree-dir: vim/bundle/syntastic git-subtree-split: 89bc82a2640414be38a22de9ded1994359c56735
9 years ago
%% `rebar.config` is looked for,
%% but it is not necessarily the one in the project root.
%% I.e. it may be one deeper in the project file hierarchy.
Squashed 'vim/bundle/syntastic/' changes from 106c772b0..56e19eb81 56e19eb81 Sphinx checker: update maintainer's address. 131ec84e6 New checker for reStructuredText: sphinx. e46c64701 Bug fix: more findfile() fun. a728268d7 Bug fix: finding files in parent directories. 98e79d85f Nix checker: cleanup. c840655d1 Add support for .nix files b609b3bdd Checker ghc-mod: attempt to fix filename encodings. 84b4da7cf Manual: add a note about :mksession. b8682c302 Merge remote-tracking branch 'origin/pr/1447' 3dda9b833 Apps should be used for include_lib too cb9424c9e README: formatting. 7055ff936 Crystal external checker 0470fff0c Checker python/pylama: add option "--force". e15ebd336 Go checker: no longer attempt to redirect output of "go build". 5c6e78a27 README: suggest a safer cabbrev in FAQ. a7fde99ea Add support for Vera++ C++ checker 25ad02e12 README: add a link to the vim-eastwood plugin. 981196fdc Flow checker: use the "status" command. ae405fed8 Manual: add a note about zsh and rvm with MacVim. 5dba05af4 Bashate: make errorformat more permissive. 48b75c455 Tslint is a style checker. a8771fe6b Puppet-lint checker: --log-format now expects %{line}. 24bb29357 Minor comment fix. 4605886ea Safer opening of the error window (@blueyed). 3a30321fd Fix loclist timestamps for refresh (@blueyed). 9af644dac Remove comments from the tidy checker. 4fbe5f52c Flow checker: recover from negative end offsets. 48090a19f Updates to the manual. 615c890e7 Gfortran checker: bug fix: column handling and sorting for ifort. b152ac3db The gfortran checker now supports Intel Fortran. 80c5a047c Bug fix: b:cflags again. 2cf32d7be Bug fix: b:cflags applies only to C and C++ checkers. fe436371b Checker tsc: version 1.5 has option "--noEmit". a17db15e7 In some cases vim will set the filetype of *.pp files to 'pe-puppet' instead of 'puppet'. There is no functional difference so lets map 'pe-puppet' to 'puppet' so we can use the same default checkers. 710a854f6 Remove shellcheck checker for zsh ebfba7ec3 Puppet-lint no longer requires puppet. 2337c65b3 Keep track of b:changedtick. dac07db61 Cleanup: shut up most vint warnings. ac96ae4a2 Manual: add notes about powerline, vim-airline, and vim-go. ebadf9aff Windows brain damage: executable('foo') doesn't mean 'foo' is executable. b905f6d08 Mercury checker: cleanup. 4e0ac804c added mercury syntax checker 0cde75895 replaced erlang checker with the one from vimerl that works without rebar 84add5b7f Checkers using curl(1): allow redirections. 7b8526b96 Flow checker: bail out if there is no .flowconfig. 5b0d3dc8b README: rephrase. da1ecc0bb FAQ: add a note about $PATH. 231a78f5d Manual: update. 67fc031e0 Manual: fix examples to use g:syntastic_shell. 47eabae37 New global option: "shell". 869c5a726 Camlp4o checker: better error highlighting. 48812d833 Cleanup: exit codes are meaningless for checkers without exec. c297fbebb README: update address of tidy-html5. 69d20efc6 Elixir: handle warnings. fe3a48f33 Ruby checkers: make warning flags configurable. 272fc7df3 Manual: update the note about vim-auto-save. 413cdb354 Flow checker: make exe configurable. 5214f00a1 New checker for API Blueprint: snowcrash. a7758aa18 New checker for Vim: vint. b427af1e0 Cleanup: case-sensitive comparisons. 0e23cb097 Cleanup. fc8f8e500 RAEDME: minor rephrase. 9e5a6e657 README: add a link to vint-syntastic. 2a07c4acd New checker for SML: smlnj. c45293538 README: add a link syntastic-more. 399389c84 README: add links to a few third party checkers. c233c9bbd README: update URL for the Rust checker. f4b064e2d README: rephrase. 71aa71bc1 README: more details about enabling checkers. bccfdea4e Handling redefinition of exec: minor optimisation. 8256e4351 Typo. 471ce96af Remove the xcrun checker for Swift. d73546dd4 Java checker: more path fixes. cf4e18d3f Java checker: fix path detection. 776d4175c Handle redefinition of exec after the checker has run. 478218402 Security: disable the swift/xcrun checker by default. 372daff1a Reek checker: update. 157ad8d43 Minor cleanup. a7841c869 Minor cleanup. dde4a9be9 Formatting. 4401a23f2 Merge pull request #1323 from Shizmob/patch-1 b70e9af18 Don't warn on python/prospector with no messages. 7cbb79b73 More detailed debug information. c1a209895 New checker for JavaScript: standard. 1c6cae0d2 Merge pull request #1320 from ametheus/patch-1 0a310ca0a Fix typo 3ea613f53 Xmllint: make "--xinclude" and "--postvalid" optional. 7d9aec0be Prospector no longer accepts option "--external-config". 6b76c26cb Puppet checker: don't redirect stderr when checking version. abff1d81e Merge pull request #1313 from tomfogg/master 5cc56dbde missing comma in swift errorformat after cleanup b69efd072 README: Swift is now supported. cf012bdea Version logging: minor cleanup. b9608e77b Xcrun: cleanup. 46fc1ec68 Merge branch 'master' of https://github.com/scrooloose/syntastic 3e33785d8 add licence for swift syntax checker a76370c14 add swift syntax checker support using xcrun git-subtree-dir: vim/bundle/syntastic git-subtree-split: 56e19eb81a5cdf75542def5b0b07f68aab50809f
10 years ago
RebarFile = rebar_file(Dir),
Squashed 'vim/bundle/syntastic/' changes from 56e19eb81..89bc82a26 89bc82a26 Manual: add a note about debugging. b2ad71cd1 Manual: add a clarification about statusline. d8af5028e Bug fix: Cygwin sets has("unix"). de0106e83 JSCS checker: add "--max-errors -1" option. cc440f1b4 Checker yamllint: cleanup. 8c4dadc7e New checker for YAML: yamllint (@adrienverge). 972b87ca0 Safer syntastic#util#unique(). d1a179d75 Vim 7.4.1128 can delete directories recursively. 1f4846fec Stylelint checker can also check SCSS files. 2db6f539d Checker scss_lint: use the JSON reporter of scss-lint. b10c59b21 Manual: clarification about quiet_messages. c57ba0da9 Asciidoc checker: fix errorformat to allow use as asciidoctor. e39f636e2 Flow checker: go back to "flow check". 17a4c0123 Checker ghc_mod is on its way out. 189be0ae7 Workaround for a misfeature in Vim 7.4.1013 and later. 3280220e6 JSCS checker bug fix: minor fallouts from 751afea. 91814d672 Manual: bit rot: vim-go now uses loclists. 751afea9e JSCS checker: use JSON reporter. dbd761006 Minor feature: auto_loc_list == 3. 281b29487 Avoid checking the preview window. 6074c3d39 Stylelint checker: update parser. 48736aa37 Mixedindentlint is a style checker. ac4541e0e Minor cleanup. ce8dd364f Add `returns` list to `SyntasticMake` 6be9b4c71 Add mixedindentlint checker redirect for css a0382253c Add mixedindentlint checker redirect for scss 7d27a3982 Add mixedindentlint checker for JavaScript 60f979393 R linters: minor cleanup. 06a846955 Checker tsc: add guards option. e60555de7 Registry: cleaner handling of checker redirections. 4725c8616 Lintr checker: cleanup. bf60b72f3 Attempt support for Rmd files 4078f0db8 Updates for newest syntastic best practices f92adf3c9 Enable R linting using lintr 2d0bb98cf Allow ESLint to check typescript files. 77e20e22d Bug fix: decouple skip_checks from check_on_wq. 70c723ac1 Back off 6379bd1, this is not safe. 6379bd198 /dev/null should work under win32unix. dc516ef19 Checker asm/gcc: allow generic overrides. 6d2e406f9 Slim_lint checker: cleanup. 46c692b51 Add slim-lint checker 200cd1d07 Merge remote-tracking branch 'origin/pr/1609' 3f9fde2c1 fix miss test classpath 4f1e3adf3 correct pymode lint variable name in documentation 73dd78548 Dockerfile_lint checker: cleanup. 13456d5a7 Add dockerfile-lint checker 10788ac8d Javac checker: cleanup. 094c3631c fix maven project which has set srcdir or testsrc dir 3593d1697 fix maven project which has set srcdir or testsrc dir cd40fe975 Ansible-lint checker: make "-p" option mandatory. 13c8e7530 Ansible-lint checker: add version check. 7d627000c Checkers clang_check and clang_tidy: workaround for a regression in Clang. 721a42d5b Ansible-lint checker: cleanup. f8e638d28 Add ansible-lint syntax checkers 85cde9235 Core: disable autocommand nesting by default. d79d77fbd Core: allow syntastic commands to be followed by other Vim commands. ae7e00aad Revert "Javac checker: minor optimisation." cfdcdfaa9 Javac checker: minor optimisation. 03c058ea5 Typo. dec5bc73b New checker vcom for VHDL (@jevogel). 9f599a161 Standard checker: allow generic standard frontends. 943923433 Typo. 646124823 Back off a4c3fcc for slimrb. 630169bfc Stylelint checker: typo. c596b6474 Stylelint checker: cleanup. 1d5a057a0 Add CSS Stylelint checker a4c3fcc4a Partial workaround for a misfeature of errorformat. 1926693d1 Coqtop checker: fix potentially harmful errorformat. 11ca31582 Iverilog checker: formatting. d51d5ea51 Merge remote-tracking branch 'origin/pr/1579' 448b6cc61 add MIT license to iverilog.vim e484ac941 BaseX: allow filenames to contain special characters. 2553f6389 BaseX checker: minor cleanup. 50653f0bc BaseX checker: cleanup. 89ad03b2e conform iverilog to makeprgBuild() 5bf9fa749 Add support for Icarus Verilog compiler 3c524a661 Added support for XQuery using BaseX.exe f6eaf7e8b README: add links to ghcmod-vim and vim-go. 544acba17 ghc-mod versions 5.4.0 and later are no longer supported. f57cc9e84 Bump version number. 1b6c70ddc Merge remote-tracking branch 'origin/pr/1573' 160446799 [drafter] Update known status code 72b704e6f Bump version. d36bc7807 Bump version for release. 7e26d3589 Merge remote-tracking branch 'origin/pr/1567' ba62f2e68 API Blueprint should use drafter e1217a888 Manual: cross reference skip_checks from the filtering section. b3ebf94ac Manual: fix typo. 50d031583 Vimlint checker: add logging. d3130d6b5 Minor cleanup. b8aef009b Bug fix: length of composite characters in stl_format. 66f4e9693 Eslint checker: log if called as a generic frontend. c34ea8955 Eslint checker: allow generic eslint frontends. e0a3cf753 Add width controls to the new stl_format flags. d73d7601c New flags for stl_format: %ne, %nw, %N, %pe, %pw, %P. 03c8a7b55 README: add a link to the Merlin project. 1885e867b Checkstyle checker: make checkstyle_classpath an actual classpath. debcecd5c Checker gometalinter: minor cleanup. f2084e9e4 Checker gometalinter: fix arguments. 9371aafa8 Minor cleanup: regex optimisation. 8bb535bd2 Checker gometalinter: cleanup. 3db525cac include test files by default. add error type. aca4d8ea4 add support for setting arguments on gometalinter f1f7deed3 use package instead of file 61b7dbf9c add gometalinter syntax checker 8164240f6 Hlint: handle hint file parsing errors. 1e7589fe5 Back off "Reset notifiers if skip_checks is set." 6a4262251 Reset notifiers if skip_checks is set. be111259e js-yaml checker: update errorformat. 1be907716 Javac checker: make checker-specific commands available at startup. 3fb986584 Go checker: option "-buildmode=archive" is new in go 1.5. 703287c76 Checker jade_lint: cleanup. b5883c80f Add jade-lint 0fe603595 Bug fix: minor shell escape issue. d077102eb Gotype checker: parse test files (@jonasi). 3c2e7e4ce Go checker: attempt to speed up builds (@gsalgado). 13727dd46 Set the GOGC env var to off to speed up go builds 47c70b3e1 Minor language and grammar fixes. 7014a52ac Manual: update the note about zsh. 1ae5589f9 Javac checker: attempt at fixing errorformat. 3fb8281a6 Bug fix: missing a couple of executable() checks. 748725c77 Tslint checker: version 2.4.0 and later no longer support "-f". bfc55793e ESLint checker: line numbers are now 1-based. a01107ffa Bug fix: safer handling of automatic includes. 9d69f4c16 Qmllint checker: cleanup. 6ff7c8934 New checker for qml: qmllint edde4c5ed New checker for stylus: stylint. 74586ff12 Manual: consistency fixes. 07f2745eb Manual: rephrase description of check_on_wq. d26c7f78c Bug fix: passive mode UI problem; autocmd cleanup. a6012f2b4 Move floating point functions to autoload. bcb4ca6e7 Safety net for enable_*_checker variables. 6929f24e4 Flog checker: cleanup. 5db87b9ec Add ruby flog checker 76ec53f18 Sqlint checker now returns 1 when it detects errors. aded15691 Bug fix: leftover from JSON cleanup. 1dde81a68 There is no such thing as has('iconv/dyn'). d35396286 Sqlint checker: add highlighting function. 1e475a7df Sqlint checker: cleanup. 125ce327e Add checker for sqlint (https://github.com/purcell/sqlint) ffcf625fc Minor cleanup. c44cb15c4 Cleanup: JSON decoding. eba7ae6d6 Debug: add indicator for modified shell-related options. 83829b766 Minor bug fix. 74fd7e6b9 Show chacker output when whining that we can't parse version string. 2e60dd4af Manual: add a note about Tim Pope's "flagship". 59513edd4 Manual: fix the notice about rvm. a596ef38b Gfortran checker: fix errorformat for gfortran 5. b1b79009e Manual: Fix filetype_map example. 4708cdd12 Add a mechanism for handling checkers disabled for security. d75f3e5e8 Buffer-local security guards for perl/perl, elixirelixir, and r/svtools. a08221e98 Merge pull request #1463 from lavrin/erlang-rebar-rel-paths 0154e9d09 Translate relative paths from non-root rebar.config files 8e672780e Show checker output along with "checker returned abnormal status". 31cba018b Safety net: avoid suffixesadd interfering with findfile(). 176e32ca4 Cleanup. c9fc0d41e Checker javac: _really_ fix shell escaping in custom_classpath_command. dc15fa08c Checker javac: fix shell escaping in custom_classpath_command. c39563d95 Checker javac: cleanup. ec9da6732 Merge remote-tracking branch 'origin/pr/1456' dbb28cd84 Ada checker: disable generation of intermediate files. 8269ba278 Basic path substitution for g:syntastic_java_javac_custom_classpath_command git-subtree-dir: vim/bundle/syntastic git-subtree-split: 89bc82a2640414be38a22de9ded1994359c56735
9 years ago
%% `rebar.config` might contain relative paths.
%% They are relative to the file! Not to the project root.
Squashed 'vim/bundle/syntastic/' changes from 106c772b0..56e19eb81 56e19eb81 Sphinx checker: update maintainer's address. 131ec84e6 New checker for reStructuredText: sphinx. e46c64701 Bug fix: more findfile() fun. a728268d7 Bug fix: finding files in parent directories. 98e79d85f Nix checker: cleanup. c840655d1 Add support for .nix files b609b3bdd Checker ghc-mod: attempt to fix filename encodings. 84b4da7cf Manual: add a note about :mksession. b8682c302 Merge remote-tracking branch 'origin/pr/1447' 3dda9b833 Apps should be used for include_lib too cb9424c9e README: formatting. 7055ff936 Crystal external checker 0470fff0c Checker python/pylama: add option "--force". e15ebd336 Go checker: no longer attempt to redirect output of "go build". 5c6e78a27 README: suggest a safer cabbrev in FAQ. a7fde99ea Add support for Vera++ C++ checker 25ad02e12 README: add a link to the vim-eastwood plugin. 981196fdc Flow checker: use the "status" command. ae405fed8 Manual: add a note about zsh and rvm with MacVim. 5dba05af4 Bashate: make errorformat more permissive. 48b75c455 Tslint is a style checker. a8771fe6b Puppet-lint checker: --log-format now expects %{line}. 24bb29357 Minor comment fix. 4605886ea Safer opening of the error window (@blueyed). 3a30321fd Fix loclist timestamps for refresh (@blueyed). 9af644dac Remove comments from the tidy checker. 4fbe5f52c Flow checker: recover from negative end offsets. 48090a19f Updates to the manual. 615c890e7 Gfortran checker: bug fix: column handling and sorting for ifort. b152ac3db The gfortran checker now supports Intel Fortran. 80c5a047c Bug fix: b:cflags again. 2cf32d7be Bug fix: b:cflags applies only to C and C++ checkers. fe436371b Checker tsc: version 1.5 has option "--noEmit". a17db15e7 In some cases vim will set the filetype of *.pp files to 'pe-puppet' instead of 'puppet'. There is no functional difference so lets map 'pe-puppet' to 'puppet' so we can use the same default checkers. 710a854f6 Remove shellcheck checker for zsh ebfba7ec3 Puppet-lint no longer requires puppet. 2337c65b3 Keep track of b:changedtick. dac07db61 Cleanup: shut up most vint warnings. ac96ae4a2 Manual: add notes about powerline, vim-airline, and vim-go. ebadf9aff Windows brain damage: executable('foo') doesn't mean 'foo' is executable. b905f6d08 Mercury checker: cleanup. 4e0ac804c added mercury syntax checker 0cde75895 replaced erlang checker with the one from vimerl that works without rebar 84add5b7f Checkers using curl(1): allow redirections. 7b8526b96 Flow checker: bail out if there is no .flowconfig. 5b0d3dc8b README: rephrase. da1ecc0bb FAQ: add a note about $PATH. 231a78f5d Manual: update. 67fc031e0 Manual: fix examples to use g:syntastic_shell. 47eabae37 New global option: "shell". 869c5a726 Camlp4o checker: better error highlighting. 48812d833 Cleanup: exit codes are meaningless for checkers without exec. c297fbebb README: update address of tidy-html5. 69d20efc6 Elixir: handle warnings. fe3a48f33 Ruby checkers: make warning flags configurable. 272fc7df3 Manual: update the note about vim-auto-save. 413cdb354 Flow checker: make exe configurable. 5214f00a1 New checker for API Blueprint: snowcrash. a7758aa18 New checker for Vim: vint. b427af1e0 Cleanup: case-sensitive comparisons. 0e23cb097 Cleanup. fc8f8e500 RAEDME: minor rephrase. 9e5a6e657 README: add a link to vint-syntastic. 2a07c4acd New checker for SML: smlnj. c45293538 README: add a link syntastic-more. 399389c84 README: add links to a few third party checkers. c233c9bbd README: update URL for the Rust checker. f4b064e2d README: rephrase. 71aa71bc1 README: more details about enabling checkers. bccfdea4e Handling redefinition of exec: minor optimisation. 8256e4351 Typo. 471ce96af Remove the xcrun checker for Swift. d73546dd4 Java checker: more path fixes. cf4e18d3f Java checker: fix path detection. 776d4175c Handle redefinition of exec after the checker has run. 478218402 Security: disable the swift/xcrun checker by default. 372daff1a Reek checker: update. 157ad8d43 Minor cleanup. a7841c869 Minor cleanup. dde4a9be9 Formatting. 4401a23f2 Merge pull request #1323 from Shizmob/patch-1 b70e9af18 Don't warn on python/prospector with no messages. 7cbb79b73 More detailed debug information. c1a209895 New checker for JavaScript: standard. 1c6cae0d2 Merge pull request #1320 from ametheus/patch-1 0a310ca0a Fix typo 3ea613f53 Xmllint: make "--xinclude" and "--postvalid" optional. 7d9aec0be Prospector no longer accepts option "--external-config". 6b76c26cb Puppet checker: don't redirect stderr when checking version. abff1d81e Merge pull request #1313 from tomfogg/master 5cc56dbde missing comma in swift errorformat after cleanup b69efd072 README: Swift is now supported. cf012bdea Version logging: minor cleanup. b9608e77b Xcrun: cleanup. 46fc1ec68 Merge branch 'master' of https://github.com/scrooloose/syntastic 3e33785d8 add licence for swift syntax checker a76370c14 add swift syntax checker support using xcrun git-subtree-dir: vim/bundle/syntastic git-subtree-split: 56e19eb81a5cdf75542def5b0b07f68aab50809f
10 years ago
RebarOpts = rebar_opts(Dir ++ "/" ++ RebarFile),
code:add_patha(filename:absname("ebin")),
Squashed 'vim/bundle/syntastic/' changes from 56e19eb81..89bc82a26 89bc82a26 Manual: add a note about debugging. b2ad71cd1 Manual: add a clarification about statusline. d8af5028e Bug fix: Cygwin sets has("unix"). de0106e83 JSCS checker: add "--max-errors -1" option. cc440f1b4 Checker yamllint: cleanup. 8c4dadc7e New checker for YAML: yamllint (@adrienverge). 972b87ca0 Safer syntastic#util#unique(). d1a179d75 Vim 7.4.1128 can delete directories recursively. 1f4846fec Stylelint checker can also check SCSS files. 2db6f539d Checker scss_lint: use the JSON reporter of scss-lint. b10c59b21 Manual: clarification about quiet_messages. c57ba0da9 Asciidoc checker: fix errorformat to allow use as asciidoctor. e39f636e2 Flow checker: go back to "flow check". 17a4c0123 Checker ghc_mod is on its way out. 189be0ae7 Workaround for a misfeature in Vim 7.4.1013 and later. 3280220e6 JSCS checker bug fix: minor fallouts from 751afea. 91814d672 Manual: bit rot: vim-go now uses loclists. 751afea9e JSCS checker: use JSON reporter. dbd761006 Minor feature: auto_loc_list == 3. 281b29487 Avoid checking the preview window. 6074c3d39 Stylelint checker: update parser. 48736aa37 Mixedindentlint is a style checker. ac4541e0e Minor cleanup. ce8dd364f Add `returns` list to `SyntasticMake` 6be9b4c71 Add mixedindentlint checker redirect for css a0382253c Add mixedindentlint checker redirect for scss 7d27a3982 Add mixedindentlint checker for JavaScript 60f979393 R linters: minor cleanup. 06a846955 Checker tsc: add guards option. e60555de7 Registry: cleaner handling of checker redirections. 4725c8616 Lintr checker: cleanup. bf60b72f3 Attempt support for Rmd files 4078f0db8 Updates for newest syntastic best practices f92adf3c9 Enable R linting using lintr 2d0bb98cf Allow ESLint to check typescript files. 77e20e22d Bug fix: decouple skip_checks from check_on_wq. 70c723ac1 Back off 6379bd1, this is not safe. 6379bd198 /dev/null should work under win32unix. dc516ef19 Checker asm/gcc: allow generic overrides. 6d2e406f9 Slim_lint checker: cleanup. 46c692b51 Add slim-lint checker 200cd1d07 Merge remote-tracking branch 'origin/pr/1609' 3f9fde2c1 fix miss test classpath 4f1e3adf3 correct pymode lint variable name in documentation 73dd78548 Dockerfile_lint checker: cleanup. 13456d5a7 Add dockerfile-lint checker 10788ac8d Javac checker: cleanup. 094c3631c fix maven project which has set srcdir or testsrc dir 3593d1697 fix maven project which has set srcdir or testsrc dir cd40fe975 Ansible-lint checker: make "-p" option mandatory. 13c8e7530 Ansible-lint checker: add version check. 7d627000c Checkers clang_check and clang_tidy: workaround for a regression in Clang. 721a42d5b Ansible-lint checker: cleanup. f8e638d28 Add ansible-lint syntax checkers 85cde9235 Core: disable autocommand nesting by default. d79d77fbd Core: allow syntastic commands to be followed by other Vim commands. ae7e00aad Revert "Javac checker: minor optimisation." cfdcdfaa9 Javac checker: minor optimisation. 03c058ea5 Typo. dec5bc73b New checker vcom for VHDL (@jevogel). 9f599a161 Standard checker: allow generic standard frontends. 943923433 Typo. 646124823 Back off a4c3fcc for slimrb. 630169bfc Stylelint checker: typo. c596b6474 Stylelint checker: cleanup. 1d5a057a0 Add CSS Stylelint checker a4c3fcc4a Partial workaround for a misfeature of errorformat. 1926693d1 Coqtop checker: fix potentially harmful errorformat. 11ca31582 Iverilog checker: formatting. d51d5ea51 Merge remote-tracking branch 'origin/pr/1579' 448b6cc61 add MIT license to iverilog.vim e484ac941 BaseX: allow filenames to contain special characters. 2553f6389 BaseX checker: minor cleanup. 50653f0bc BaseX checker: cleanup. 89ad03b2e conform iverilog to makeprgBuild() 5bf9fa749 Add support for Icarus Verilog compiler 3c524a661 Added support for XQuery using BaseX.exe f6eaf7e8b README: add links to ghcmod-vim and vim-go. 544acba17 ghc-mod versions 5.4.0 and later are no longer supported. f57cc9e84 Bump version number. 1b6c70ddc Merge remote-tracking branch 'origin/pr/1573' 160446799 [drafter] Update known status code 72b704e6f Bump version. d36bc7807 Bump version for release. 7e26d3589 Merge remote-tracking branch 'origin/pr/1567' ba62f2e68 API Blueprint should use drafter e1217a888 Manual: cross reference skip_checks from the filtering section. b3ebf94ac Manual: fix typo. 50d031583 Vimlint checker: add logging. d3130d6b5 Minor cleanup. b8aef009b Bug fix: length of composite characters in stl_format. 66f4e9693 Eslint checker: log if called as a generic frontend. c34ea8955 Eslint checker: allow generic eslint frontends. e0a3cf753 Add width controls to the new stl_format flags. d73d7601c New flags for stl_format: %ne, %nw, %N, %pe, %pw, %P. 03c8a7b55 README: add a link to the Merlin project. 1885e867b Checkstyle checker: make checkstyle_classpath an actual classpath. debcecd5c Checker gometalinter: minor cleanup. f2084e9e4 Checker gometalinter: fix arguments. 9371aafa8 Minor cleanup: regex optimisation. 8bb535bd2 Checker gometalinter: cleanup. 3db525cac include test files by default. add error type. aca4d8ea4 add support for setting arguments on gometalinter f1f7deed3 use package instead of file 61b7dbf9c add gometalinter syntax checker 8164240f6 Hlint: handle hint file parsing errors. 1e7589fe5 Back off "Reset notifiers if skip_checks is set." 6a4262251 Reset notifiers if skip_checks is set. be111259e js-yaml checker: update errorformat. 1be907716 Javac checker: make checker-specific commands available at startup. 3fb986584 Go checker: option "-buildmode=archive" is new in go 1.5. 703287c76 Checker jade_lint: cleanup. b5883c80f Add jade-lint 0fe603595 Bug fix: minor shell escape issue. d077102eb Gotype checker: parse test files (@jonasi). 3c2e7e4ce Go checker: attempt to speed up builds (@gsalgado). 13727dd46 Set the GOGC env var to off to speed up go builds 47c70b3e1 Minor language and grammar fixes. 7014a52ac Manual: update the note about zsh. 1ae5589f9 Javac checker: attempt at fixing errorformat. 3fb8281a6 Bug fix: missing a couple of executable() checks. 748725c77 Tslint checker: version 2.4.0 and later no longer support "-f". bfc55793e ESLint checker: line numbers are now 1-based. a01107ffa Bug fix: safer handling of automatic includes. 9d69f4c16 Qmllint checker: cleanup. 6ff7c8934 New checker for qml: qmllint edde4c5ed New checker for stylus: stylint. 74586ff12 Manual: consistency fixes. 07f2745eb Manual: rephrase description of check_on_wq. d26c7f78c Bug fix: passive mode UI problem; autocmd cleanup. a6012f2b4 Move floating point functions to autoload. bcb4ca6e7 Safety net for enable_*_checker variables. 6929f24e4 Flog checker: cleanup. 5db87b9ec Add ruby flog checker 76ec53f18 Sqlint checker now returns 1 when it detects errors. aded15691 Bug fix: leftover from JSON cleanup. 1dde81a68 There is no such thing as has('iconv/dyn'). d35396286 Sqlint checker: add highlighting function. 1e475a7df Sqlint checker: cleanup. 125ce327e Add checker for sqlint (https://github.com/purcell/sqlint) ffcf625fc Minor cleanup. c44cb15c4 Cleanup: JSON decoding. eba7ae6d6 Debug: add indicator for modified shell-related options. 83829b766 Minor bug fix. 74fd7e6b9 Show chacker output when whining that we can't parse version string. 2e60dd4af Manual: add a note about Tim Pope's "flagship". 59513edd4 Manual: fix the notice about rvm. a596ef38b Gfortran checker: fix errorformat for gfortran 5. b1b79009e Manual: Fix filetype_map example. 4708cdd12 Add a mechanism for handling checkers disabled for security. d75f3e5e8 Buffer-local security guards for perl/perl, elixirelixir, and r/svtools. a08221e98 Merge pull request #1463 from lavrin/erlang-rebar-rel-paths 0154e9d09 Translate relative paths from non-root rebar.config files 8e672780e Show checker output along with "checker returned abnormal status". 31cba018b Safety net: avoid suffixesadd interfering with findfile(). 176e32ca4 Cleanup. c9fc0d41e Checker javac: _really_ fix shell escaping in custom_classpath_command. dc15fa08c Checker javac: fix shell escaping in custom_classpath_command. c39563d95 Checker javac: cleanup. ec9da6732 Merge remote-tracking branch 'origin/pr/1456' dbb28cd84 Ada checker: disable generation of intermediate files. 8269ba278 Basic path substitution for g:syntastic_java_javac_custom_classpath_command git-subtree-dir: vim/bundle/syntastic git-subtree-split: 89bc82a2640414be38a22de9ded1994359c56735
9 years ago
%% `compile:file/2` requires the `{i, Path}` to be relative
%% to CWD - no surprise here.
compile:file(File, Defs ++ translate_paths(Dir, RebarOpts));
Squashed 'vim/bundle/syntastic/' changes from 106c772b0..56e19eb81 56e19eb81 Sphinx checker: update maintainer's address. 131ec84e6 New checker for reStructuredText: sphinx. e46c64701 Bug fix: more findfile() fun. a728268d7 Bug fix: finding files in parent directories. 98e79d85f Nix checker: cleanup. c840655d1 Add support for .nix files b609b3bdd Checker ghc-mod: attempt to fix filename encodings. 84b4da7cf Manual: add a note about :mksession. b8682c302 Merge remote-tracking branch 'origin/pr/1447' 3dda9b833 Apps should be used for include_lib too cb9424c9e README: formatting. 7055ff936 Crystal external checker 0470fff0c Checker python/pylama: add option "--force". e15ebd336 Go checker: no longer attempt to redirect output of "go build". 5c6e78a27 README: suggest a safer cabbrev in FAQ. a7fde99ea Add support for Vera++ C++ checker 25ad02e12 README: add a link to the vim-eastwood plugin. 981196fdc Flow checker: use the "status" command. ae405fed8 Manual: add a note about zsh and rvm with MacVim. 5dba05af4 Bashate: make errorformat more permissive. 48b75c455 Tslint is a style checker. a8771fe6b Puppet-lint checker: --log-format now expects %{line}. 24bb29357 Minor comment fix. 4605886ea Safer opening of the error window (@blueyed). 3a30321fd Fix loclist timestamps for refresh (@blueyed). 9af644dac Remove comments from the tidy checker. 4fbe5f52c Flow checker: recover from negative end offsets. 48090a19f Updates to the manual. 615c890e7 Gfortran checker: bug fix: column handling and sorting for ifort. b152ac3db The gfortran checker now supports Intel Fortran. 80c5a047c Bug fix: b:cflags again. 2cf32d7be Bug fix: b:cflags applies only to C and C++ checkers. fe436371b Checker tsc: version 1.5 has option "--noEmit". a17db15e7 In some cases vim will set the filetype of *.pp files to 'pe-puppet' instead of 'puppet'. There is no functional difference so lets map 'pe-puppet' to 'puppet' so we can use the same default checkers. 710a854f6 Remove shellcheck checker for zsh ebfba7ec3 Puppet-lint no longer requires puppet. 2337c65b3 Keep track of b:changedtick. dac07db61 Cleanup: shut up most vint warnings. ac96ae4a2 Manual: add notes about powerline, vim-airline, and vim-go. ebadf9aff Windows brain damage: executable('foo') doesn't mean 'foo' is executable. b905f6d08 Mercury checker: cleanup. 4e0ac804c added mercury syntax checker 0cde75895 replaced erlang checker with the one from vimerl that works without rebar 84add5b7f Checkers using curl(1): allow redirections. 7b8526b96 Flow checker: bail out if there is no .flowconfig. 5b0d3dc8b README: rephrase. da1ecc0bb FAQ: add a note about $PATH. 231a78f5d Manual: update. 67fc031e0 Manual: fix examples to use g:syntastic_shell. 47eabae37 New global option: "shell". 869c5a726 Camlp4o checker: better error highlighting. 48812d833 Cleanup: exit codes are meaningless for checkers without exec. c297fbebb README: update address of tidy-html5. 69d20efc6 Elixir: handle warnings. fe3a48f33 Ruby checkers: make warning flags configurable. 272fc7df3 Manual: update the note about vim-auto-save. 413cdb354 Flow checker: make exe configurable. 5214f00a1 New checker for API Blueprint: snowcrash. a7758aa18 New checker for Vim: vint. b427af1e0 Cleanup: case-sensitive comparisons. 0e23cb097 Cleanup. fc8f8e500 RAEDME: minor rephrase. 9e5a6e657 README: add a link to vint-syntastic. 2a07c4acd New checker for SML: smlnj. c45293538 README: add a link syntastic-more. 399389c84 README: add links to a few third party checkers. c233c9bbd README: update URL for the Rust checker. f4b064e2d README: rephrase. 71aa71bc1 README: more details about enabling checkers. bccfdea4e Handling redefinition of exec: minor optimisation. 8256e4351 Typo. 471ce96af Remove the xcrun checker for Swift. d73546dd4 Java checker: more path fixes. cf4e18d3f Java checker: fix path detection. 776d4175c Handle redefinition of exec after the checker has run. 478218402 Security: disable the swift/xcrun checker by default. 372daff1a Reek checker: update. 157ad8d43 Minor cleanup. a7841c869 Minor cleanup. dde4a9be9 Formatting. 4401a23f2 Merge pull request #1323 from Shizmob/patch-1 b70e9af18 Don't warn on python/prospector with no messages. 7cbb79b73 More detailed debug information. c1a209895 New checker for JavaScript: standard. 1c6cae0d2 Merge pull request #1320 from ametheus/patch-1 0a310ca0a Fix typo 3ea613f53 Xmllint: make "--xinclude" and "--postvalid" optional. 7d9aec0be Prospector no longer accepts option "--external-config". 6b76c26cb Puppet checker: don't redirect stderr when checking version. abff1d81e Merge pull request #1313 from tomfogg/master 5cc56dbde missing comma in swift errorformat after cleanup b69efd072 README: Swift is now supported. cf012bdea Version logging: minor cleanup. b9608e77b Xcrun: cleanup. 46fc1ec68 Merge branch 'master' of https://github.com/scrooloose/syntastic 3e33785d8 add licence for swift syntax checker a76370c14 add swift syntax checker support using xcrun git-subtree-dir: vim/bundle/syntastic git-subtree-split: 56e19eb81a5cdf75542def5b0b07f68aab50809f
10 years ago
main(_) ->
io:format("Usage: ~s <file>~n", [escript:script_name()]),
halt(1).
Squashed 'vim/bundle/syntastic/' changes from 106c772b0..56e19eb81 56e19eb81 Sphinx checker: update maintainer's address. 131ec84e6 New checker for reStructuredText: sphinx. e46c64701 Bug fix: more findfile() fun. a728268d7 Bug fix: finding files in parent directories. 98e79d85f Nix checker: cleanup. c840655d1 Add support for .nix files b609b3bdd Checker ghc-mod: attempt to fix filename encodings. 84b4da7cf Manual: add a note about :mksession. b8682c302 Merge remote-tracking branch 'origin/pr/1447' 3dda9b833 Apps should be used for include_lib too cb9424c9e README: formatting. 7055ff936 Crystal external checker 0470fff0c Checker python/pylama: add option "--force". e15ebd336 Go checker: no longer attempt to redirect output of "go build". 5c6e78a27 README: suggest a safer cabbrev in FAQ. a7fde99ea Add support for Vera++ C++ checker 25ad02e12 README: add a link to the vim-eastwood plugin. 981196fdc Flow checker: use the "status" command. ae405fed8 Manual: add a note about zsh and rvm with MacVim. 5dba05af4 Bashate: make errorformat more permissive. 48b75c455 Tslint is a style checker. a8771fe6b Puppet-lint checker: --log-format now expects %{line}. 24bb29357 Minor comment fix. 4605886ea Safer opening of the error window (@blueyed). 3a30321fd Fix loclist timestamps for refresh (@blueyed). 9af644dac Remove comments from the tidy checker. 4fbe5f52c Flow checker: recover from negative end offsets. 48090a19f Updates to the manual. 615c890e7 Gfortran checker: bug fix: column handling and sorting for ifort. b152ac3db The gfortran checker now supports Intel Fortran. 80c5a047c Bug fix: b:cflags again. 2cf32d7be Bug fix: b:cflags applies only to C and C++ checkers. fe436371b Checker tsc: version 1.5 has option "--noEmit". a17db15e7 In some cases vim will set the filetype of *.pp files to 'pe-puppet' instead of 'puppet'. There is no functional difference so lets map 'pe-puppet' to 'puppet' so we can use the same default checkers. 710a854f6 Remove shellcheck checker for zsh ebfba7ec3 Puppet-lint no longer requires puppet. 2337c65b3 Keep track of b:changedtick. dac07db61 Cleanup: shut up most vint warnings. ac96ae4a2 Manual: add notes about powerline, vim-airline, and vim-go. ebadf9aff Windows brain damage: executable('foo') doesn't mean 'foo' is executable. b905f6d08 Mercury checker: cleanup. 4e0ac804c added mercury syntax checker 0cde75895 replaced erlang checker with the one from vimerl that works without rebar 84add5b7f Checkers using curl(1): allow redirections. 7b8526b96 Flow checker: bail out if there is no .flowconfig. 5b0d3dc8b README: rephrase. da1ecc0bb FAQ: add a note about $PATH. 231a78f5d Manual: update. 67fc031e0 Manual: fix examples to use g:syntastic_shell. 47eabae37 New global option: "shell". 869c5a726 Camlp4o checker: better error highlighting. 48812d833 Cleanup: exit codes are meaningless for checkers without exec. c297fbebb README: update address of tidy-html5. 69d20efc6 Elixir: handle warnings. fe3a48f33 Ruby checkers: make warning flags configurable. 272fc7df3 Manual: update the note about vim-auto-save. 413cdb354 Flow checker: make exe configurable. 5214f00a1 New checker for API Blueprint: snowcrash. a7758aa18 New checker for Vim: vint. b427af1e0 Cleanup: case-sensitive comparisons. 0e23cb097 Cleanup. fc8f8e500 RAEDME: minor rephrase. 9e5a6e657 README: add a link to vint-syntastic. 2a07c4acd New checker for SML: smlnj. c45293538 README: add a link syntastic-more. 399389c84 README: add links to a few third party checkers. c233c9bbd README: update URL for the Rust checker. f4b064e2d README: rephrase. 71aa71bc1 README: more details about enabling checkers. bccfdea4e Handling redefinition of exec: minor optimisation. 8256e4351 Typo. 471ce96af Remove the xcrun checker for Swift. d73546dd4 Java checker: more path fixes. cf4e18d3f Java checker: fix path detection. 776d4175c Handle redefinition of exec after the checker has run. 478218402 Security: disable the swift/xcrun checker by default. 372daff1a Reek checker: update. 157ad8d43 Minor cleanup. a7841c869 Minor cleanup. dde4a9be9 Formatting. 4401a23f2 Merge pull request #1323 from Shizmob/patch-1 b70e9af18 Don't warn on python/prospector with no messages. 7cbb79b73 More detailed debug information. c1a209895 New checker for JavaScript: standard. 1c6cae0d2 Merge pull request #1320 from ametheus/patch-1 0a310ca0a Fix typo 3ea613f53 Xmllint: make "--xinclude" and "--postvalid" optional. 7d9aec0be Prospector no longer accepts option "--external-config". 6b76c26cb Puppet checker: don't redirect stderr when checking version. abff1d81e Merge pull request #1313 from tomfogg/master 5cc56dbde missing comma in swift errorformat after cleanup b69efd072 README: Swift is now supported. cf012bdea Version logging: minor cleanup. b9608e77b Xcrun: cleanup. 46fc1ec68 Merge branch 'master' of https://github.com/scrooloose/syntastic 3e33785d8 add licence for swift syntax checker a76370c14 add swift syntax checker support using xcrun git-subtree-dir: vim/bundle/syntastic git-subtree-split: 56e19eb81a5cdf75542def5b0b07f68aab50809f
10 years ago
rebar_file(Dir) ->
DirList = filename:split(Dir),
case lists:last(DirList) of
"test" ->
"rebar.test.config";
_ ->
"rebar.config"
end.
Squashed 'vim/bundle/syntastic/' changes from 106c772b0..56e19eb81 56e19eb81 Sphinx checker: update maintainer's address. 131ec84e6 New checker for reStructuredText: sphinx. e46c64701 Bug fix: more findfile() fun. a728268d7 Bug fix: finding files in parent directories. 98e79d85f Nix checker: cleanup. c840655d1 Add support for .nix files b609b3bdd Checker ghc-mod: attempt to fix filename encodings. 84b4da7cf Manual: add a note about :mksession. b8682c302 Merge remote-tracking branch 'origin/pr/1447' 3dda9b833 Apps should be used for include_lib too cb9424c9e README: formatting. 7055ff936 Crystal external checker 0470fff0c Checker python/pylama: add option "--force". e15ebd336 Go checker: no longer attempt to redirect output of "go build". 5c6e78a27 README: suggest a safer cabbrev in FAQ. a7fde99ea Add support for Vera++ C++ checker 25ad02e12 README: add a link to the vim-eastwood plugin. 981196fdc Flow checker: use the "status" command. ae405fed8 Manual: add a note about zsh and rvm with MacVim. 5dba05af4 Bashate: make errorformat more permissive. 48b75c455 Tslint is a style checker. a8771fe6b Puppet-lint checker: --log-format now expects %{line}. 24bb29357 Minor comment fix. 4605886ea Safer opening of the error window (@blueyed). 3a30321fd Fix loclist timestamps for refresh (@blueyed). 9af644dac Remove comments from the tidy checker. 4fbe5f52c Flow checker: recover from negative end offsets. 48090a19f Updates to the manual. 615c890e7 Gfortran checker: bug fix: column handling and sorting for ifort. b152ac3db The gfortran checker now supports Intel Fortran. 80c5a047c Bug fix: b:cflags again. 2cf32d7be Bug fix: b:cflags applies only to C and C++ checkers. fe436371b Checker tsc: version 1.5 has option "--noEmit". a17db15e7 In some cases vim will set the filetype of *.pp files to 'pe-puppet' instead of 'puppet'. There is no functional difference so lets map 'pe-puppet' to 'puppet' so we can use the same default checkers. 710a854f6 Remove shellcheck checker for zsh ebfba7ec3 Puppet-lint no longer requires puppet. 2337c65b3 Keep track of b:changedtick. dac07db61 Cleanup: shut up most vint warnings. ac96ae4a2 Manual: add notes about powerline, vim-airline, and vim-go. ebadf9aff Windows brain damage: executable('foo') doesn't mean 'foo' is executable. b905f6d08 Mercury checker: cleanup. 4e0ac804c added mercury syntax checker 0cde75895 replaced erlang checker with the one from vimerl that works without rebar 84add5b7f Checkers using curl(1): allow redirections. 7b8526b96 Flow checker: bail out if there is no .flowconfig. 5b0d3dc8b README: rephrase. da1ecc0bb FAQ: add a note about $PATH. 231a78f5d Manual: update. 67fc031e0 Manual: fix examples to use g:syntastic_shell. 47eabae37 New global option: "shell". 869c5a726 Camlp4o checker: better error highlighting. 48812d833 Cleanup: exit codes are meaningless for checkers without exec. c297fbebb README: update address of tidy-html5. 69d20efc6 Elixir: handle warnings. fe3a48f33 Ruby checkers: make warning flags configurable. 272fc7df3 Manual: update the note about vim-auto-save. 413cdb354 Flow checker: make exe configurable. 5214f00a1 New checker for API Blueprint: snowcrash. a7758aa18 New checker for Vim: vint. b427af1e0 Cleanup: case-sensitive comparisons. 0e23cb097 Cleanup. fc8f8e500 RAEDME: minor rephrase. 9e5a6e657 README: add a link to vint-syntastic. 2a07c4acd New checker for SML: smlnj. c45293538 README: add a link syntastic-more. 399389c84 README: add links to a few third party checkers. c233c9bbd README: update URL for the Rust checker. f4b064e2d README: rephrase. 71aa71bc1 README: more details about enabling checkers. bccfdea4e Handling redefinition of exec: minor optimisation. 8256e4351 Typo. 471ce96af Remove the xcrun checker for Swift. d73546dd4 Java checker: more path fixes. cf4e18d3f Java checker: fix path detection. 776d4175c Handle redefinition of exec after the checker has run. 478218402 Security: disable the swift/xcrun checker by default. 372daff1a Reek checker: update. 157ad8d43 Minor cleanup. a7841c869 Minor cleanup. dde4a9be9 Formatting. 4401a23f2 Merge pull request #1323 from Shizmob/patch-1 b70e9af18 Don't warn on python/prospector with no messages. 7cbb79b73 More detailed debug information. c1a209895 New checker for JavaScript: standard. 1c6cae0d2 Merge pull request #1320 from ametheus/patch-1 0a310ca0a Fix typo 3ea613f53 Xmllint: make "--xinclude" and "--postvalid" optional. 7d9aec0be Prospector no longer accepts option "--external-config". 6b76c26cb Puppet checker: don't redirect stderr when checking version. abff1d81e Merge pull request #1313 from tomfogg/master 5cc56dbde missing comma in swift errorformat after cleanup b69efd072 README: Swift is now supported. cf012bdea Version logging: minor cleanup. b9608e77b Xcrun: cleanup. 46fc1ec68 Merge branch 'master' of https://github.com/scrooloose/syntastic 3e33785d8 add licence for swift syntax checker a76370c14 add swift syntax checker support using xcrun git-subtree-dir: vim/bundle/syntastic git-subtree-split: 56e19eb81a5cdf75542def5b0b07f68aab50809f
10 years ago
rebar_opts(RebarFile) ->
Dir = get_root(filename:dirname(RebarFile)),
case file:consult(RebarFile) of
{ok, Terms} ->
RebarLibDirs = proplists:get_value(lib_dirs, Terms, []),
lists:foreach(
fun(LibDir) ->
code:add_pathsa(filelib:wildcard(LibDir ++ "/*/ebin"))
end, RebarLibDirs),
RebarDepsDir = proplists:get_value(deps_dir, Terms, "deps"),
code:add_pathsa(filelib:wildcard(RebarDepsDir ++ "/*/ebin")),
IncludeDeps = {i, filename:join(Dir, RebarDepsDir)},
proplists:get_value(erl_opts, Terms, []) ++ [IncludeDeps];
{error, _} when RebarFile == "rebar.config" ->
fallback_opts();
{error, _} ->
rebar_opts("rebar.config")
end.
Squashed 'vim/bundle/syntastic/' changes from 106c772b0..56e19eb81 56e19eb81 Sphinx checker: update maintainer's address. 131ec84e6 New checker for reStructuredText: sphinx. e46c64701 Bug fix: more findfile() fun. a728268d7 Bug fix: finding files in parent directories. 98e79d85f Nix checker: cleanup. c840655d1 Add support for .nix files b609b3bdd Checker ghc-mod: attempt to fix filename encodings. 84b4da7cf Manual: add a note about :mksession. b8682c302 Merge remote-tracking branch 'origin/pr/1447' 3dda9b833 Apps should be used for include_lib too cb9424c9e README: formatting. 7055ff936 Crystal external checker 0470fff0c Checker python/pylama: add option "--force". e15ebd336 Go checker: no longer attempt to redirect output of "go build". 5c6e78a27 README: suggest a safer cabbrev in FAQ. a7fde99ea Add support for Vera++ C++ checker 25ad02e12 README: add a link to the vim-eastwood plugin. 981196fdc Flow checker: use the "status" command. ae405fed8 Manual: add a note about zsh and rvm with MacVim. 5dba05af4 Bashate: make errorformat more permissive. 48b75c455 Tslint is a style checker. a8771fe6b Puppet-lint checker: --log-format now expects %{line}. 24bb29357 Minor comment fix. 4605886ea Safer opening of the error window (@blueyed). 3a30321fd Fix loclist timestamps for refresh (@blueyed). 9af644dac Remove comments from the tidy checker. 4fbe5f52c Flow checker: recover from negative end offsets. 48090a19f Updates to the manual. 615c890e7 Gfortran checker: bug fix: column handling and sorting for ifort. b152ac3db The gfortran checker now supports Intel Fortran. 80c5a047c Bug fix: b:cflags again. 2cf32d7be Bug fix: b:cflags applies only to C and C++ checkers. fe436371b Checker tsc: version 1.5 has option "--noEmit". a17db15e7 In some cases vim will set the filetype of *.pp files to 'pe-puppet' instead of 'puppet'. There is no functional difference so lets map 'pe-puppet' to 'puppet' so we can use the same default checkers. 710a854f6 Remove shellcheck checker for zsh ebfba7ec3 Puppet-lint no longer requires puppet. 2337c65b3 Keep track of b:changedtick. dac07db61 Cleanup: shut up most vint warnings. ac96ae4a2 Manual: add notes about powerline, vim-airline, and vim-go. ebadf9aff Windows brain damage: executable('foo') doesn't mean 'foo' is executable. b905f6d08 Mercury checker: cleanup. 4e0ac804c added mercury syntax checker 0cde75895 replaced erlang checker with the one from vimerl that works without rebar 84add5b7f Checkers using curl(1): allow redirections. 7b8526b96 Flow checker: bail out if there is no .flowconfig. 5b0d3dc8b README: rephrase. da1ecc0bb FAQ: add a note about $PATH. 231a78f5d Manual: update. 67fc031e0 Manual: fix examples to use g:syntastic_shell. 47eabae37 New global option: "shell". 869c5a726 Camlp4o checker: better error highlighting. 48812d833 Cleanup: exit codes are meaningless for checkers without exec. c297fbebb README: update address of tidy-html5. 69d20efc6 Elixir: handle warnings. fe3a48f33 Ruby checkers: make warning flags configurable. 272fc7df3 Manual: update the note about vim-auto-save. 413cdb354 Flow checker: make exe configurable. 5214f00a1 New checker for API Blueprint: snowcrash. a7758aa18 New checker for Vim: vint. b427af1e0 Cleanup: case-sensitive comparisons. 0e23cb097 Cleanup. fc8f8e500 RAEDME: minor rephrase. 9e5a6e657 README: add a link to vint-syntastic. 2a07c4acd New checker for SML: smlnj. c45293538 README: add a link syntastic-more. 399389c84 README: add links to a few third party checkers. c233c9bbd README: update URL for the Rust checker. f4b064e2d README: rephrase. 71aa71bc1 README: more details about enabling checkers. bccfdea4e Handling redefinition of exec: minor optimisation. 8256e4351 Typo. 471ce96af Remove the xcrun checker for Swift. d73546dd4 Java checker: more path fixes. cf4e18d3f Java checker: fix path detection. 776d4175c Handle redefinition of exec after the checker has run. 478218402 Security: disable the swift/xcrun checker by default. 372daff1a Reek checker: update. 157ad8d43 Minor cleanup. a7841c869 Minor cleanup. dde4a9be9 Formatting. 4401a23f2 Merge pull request #1323 from Shizmob/patch-1 b70e9af18 Don't warn on python/prospector with no messages. 7cbb79b73 More detailed debug information. c1a209895 New checker for JavaScript: standard. 1c6cae0d2 Merge pull request #1320 from ametheus/patch-1 0a310ca0a Fix typo 3ea613f53 Xmllint: make "--xinclude" and "--postvalid" optional. 7d9aec0be Prospector no longer accepts option "--external-config". 6b76c26cb Puppet checker: don't redirect stderr when checking version. abff1d81e Merge pull request #1313 from tomfogg/master 5cc56dbde missing comma in swift errorformat after cleanup b69efd072 README: Swift is now supported. cf012bdea Version logging: minor cleanup. b9608e77b Xcrun: cleanup. 46fc1ec68 Merge branch 'master' of https://github.com/scrooloose/syntastic 3e33785d8 add licence for swift syntax checker a76370c14 add swift syntax checker support using xcrun git-subtree-dir: vim/bundle/syntastic git-subtree-split: 56e19eb81a5cdf75542def5b0b07f68aab50809f
10 years ago
fallback_opts() ->
code:add_pathsa(filelib:wildcard("deps/*/ebin")),
code:add_pathsa(nested_app_ebins()),
[
{ i, filename:absname("apps") }, { i, filename:absname("deps") } | [ { i, filename:absname(Path) } || Path <- filelib:wildcard("deps/*/apps")]
].
Squashed 'vim/bundle/syntastic/' changes from 106c772b0..56e19eb81 56e19eb81 Sphinx checker: update maintainer's address. 131ec84e6 New checker for reStructuredText: sphinx. e46c64701 Bug fix: more findfile() fun. a728268d7 Bug fix: finding files in parent directories. 98e79d85f Nix checker: cleanup. c840655d1 Add support for .nix files b609b3bdd Checker ghc-mod: attempt to fix filename encodings. 84b4da7cf Manual: add a note about :mksession. b8682c302 Merge remote-tracking branch 'origin/pr/1447' 3dda9b833 Apps should be used for include_lib too cb9424c9e README: formatting. 7055ff936 Crystal external checker 0470fff0c Checker python/pylama: add option "--force". e15ebd336 Go checker: no longer attempt to redirect output of "go build". 5c6e78a27 README: suggest a safer cabbrev in FAQ. a7fde99ea Add support for Vera++ C++ checker 25ad02e12 README: add a link to the vim-eastwood plugin. 981196fdc Flow checker: use the "status" command. ae405fed8 Manual: add a note about zsh and rvm with MacVim. 5dba05af4 Bashate: make errorformat more permissive. 48b75c455 Tslint is a style checker. a8771fe6b Puppet-lint checker: --log-format now expects %{line}. 24bb29357 Minor comment fix. 4605886ea Safer opening of the error window (@blueyed). 3a30321fd Fix loclist timestamps for refresh (@blueyed). 9af644dac Remove comments from the tidy checker. 4fbe5f52c Flow checker: recover from negative end offsets. 48090a19f Updates to the manual. 615c890e7 Gfortran checker: bug fix: column handling and sorting for ifort. b152ac3db The gfortran checker now supports Intel Fortran. 80c5a047c Bug fix: b:cflags again. 2cf32d7be Bug fix: b:cflags applies only to C and C++ checkers. fe436371b Checker tsc: version 1.5 has option "--noEmit". a17db15e7 In some cases vim will set the filetype of *.pp files to 'pe-puppet' instead of 'puppet'. There is no functional difference so lets map 'pe-puppet' to 'puppet' so we can use the same default checkers. 710a854f6 Remove shellcheck checker for zsh ebfba7ec3 Puppet-lint no longer requires puppet. 2337c65b3 Keep track of b:changedtick. dac07db61 Cleanup: shut up most vint warnings. ac96ae4a2 Manual: add notes about powerline, vim-airline, and vim-go. ebadf9aff Windows brain damage: executable('foo') doesn't mean 'foo' is executable. b905f6d08 Mercury checker: cleanup. 4e0ac804c added mercury syntax checker 0cde75895 replaced erlang checker with the one from vimerl that works without rebar 84add5b7f Checkers using curl(1): allow redirections. 7b8526b96 Flow checker: bail out if there is no .flowconfig. 5b0d3dc8b README: rephrase. da1ecc0bb FAQ: add a note about $PATH. 231a78f5d Manual: update. 67fc031e0 Manual: fix examples to use g:syntastic_shell. 47eabae37 New global option: "shell". 869c5a726 Camlp4o checker: better error highlighting. 48812d833 Cleanup: exit codes are meaningless for checkers without exec. c297fbebb README: update address of tidy-html5. 69d20efc6 Elixir: handle warnings. fe3a48f33 Ruby checkers: make warning flags configurable. 272fc7df3 Manual: update the note about vim-auto-save. 413cdb354 Flow checker: make exe configurable. 5214f00a1 New checker for API Blueprint: snowcrash. a7758aa18 New checker for Vim: vint. b427af1e0 Cleanup: case-sensitive comparisons. 0e23cb097 Cleanup. fc8f8e500 RAEDME: minor rephrase. 9e5a6e657 README: add a link to vint-syntastic. 2a07c4acd New checker for SML: smlnj. c45293538 README: add a link syntastic-more. 399389c84 README: add links to a few third party checkers. c233c9bbd README: update URL for the Rust checker. f4b064e2d README: rephrase. 71aa71bc1 README: more details about enabling checkers. bccfdea4e Handling redefinition of exec: minor optimisation. 8256e4351 Typo. 471ce96af Remove the xcrun checker for Swift. d73546dd4 Java checker: more path fixes. cf4e18d3f Java checker: fix path detection. 776d4175c Handle redefinition of exec after the checker has run. 478218402 Security: disable the swift/xcrun checker by default. 372daff1a Reek checker: update. 157ad8d43 Minor cleanup. a7841c869 Minor cleanup. dde4a9be9 Formatting. 4401a23f2 Merge pull request #1323 from Shizmob/patch-1 b70e9af18 Don't warn on python/prospector with no messages. 7cbb79b73 More detailed debug information. c1a209895 New checker for JavaScript: standard. 1c6cae0d2 Merge pull request #1320 from ametheus/patch-1 0a310ca0a Fix typo 3ea613f53 Xmllint: make "--xinclude" and "--postvalid" optional. 7d9aec0be Prospector no longer accepts option "--external-config". 6b76c26cb Puppet checker: don't redirect stderr when checking version. abff1d81e Merge pull request #1313 from tomfogg/master 5cc56dbde missing comma in swift errorformat after cleanup b69efd072 README: Swift is now supported. cf012bdea Version logging: minor cleanup. b9608e77b Xcrun: cleanup. 46fc1ec68 Merge branch 'master' of https://github.com/scrooloose/syntastic 3e33785d8 add licence for swift syntax checker a76370c14 add swift syntax checker support using xcrun git-subtree-dir: vim/bundle/syntastic git-subtree-split: 56e19eb81a5cdf75542def5b0b07f68aab50809f
10 years ago
nested_app_ebins() ->
DetectedAppSrcFiles = filelib:wildcard("deps/*/apps/**/*.app.src"),
[apps_dir_from_src(AppSrcFile)||AppSrcFile<-DetectedAppSrcFiles].
Squashed 'vim/bundle/syntastic/' changes from 106c772b0..56e19eb81 56e19eb81 Sphinx checker: update maintainer's address. 131ec84e6 New checker for reStructuredText: sphinx. e46c64701 Bug fix: more findfile() fun. a728268d7 Bug fix: finding files in parent directories. 98e79d85f Nix checker: cleanup. c840655d1 Add support for .nix files b609b3bdd Checker ghc-mod: attempt to fix filename encodings. 84b4da7cf Manual: add a note about :mksession. b8682c302 Merge remote-tracking branch 'origin/pr/1447' 3dda9b833 Apps should be used for include_lib too cb9424c9e README: formatting. 7055ff936 Crystal external checker 0470fff0c Checker python/pylama: add option "--force". e15ebd336 Go checker: no longer attempt to redirect output of "go build". 5c6e78a27 README: suggest a safer cabbrev in FAQ. a7fde99ea Add support for Vera++ C++ checker 25ad02e12 README: add a link to the vim-eastwood plugin. 981196fdc Flow checker: use the "status" command. ae405fed8 Manual: add a note about zsh and rvm with MacVim. 5dba05af4 Bashate: make errorformat more permissive. 48b75c455 Tslint is a style checker. a8771fe6b Puppet-lint checker: --log-format now expects %{line}. 24bb29357 Minor comment fix. 4605886ea Safer opening of the error window (@blueyed). 3a30321fd Fix loclist timestamps for refresh (@blueyed). 9af644dac Remove comments from the tidy checker. 4fbe5f52c Flow checker: recover from negative end offsets. 48090a19f Updates to the manual. 615c890e7 Gfortran checker: bug fix: column handling and sorting for ifort. b152ac3db The gfortran checker now supports Intel Fortran. 80c5a047c Bug fix: b:cflags again. 2cf32d7be Bug fix: b:cflags applies only to C and C++ checkers. fe436371b Checker tsc: version 1.5 has option "--noEmit". a17db15e7 In some cases vim will set the filetype of *.pp files to 'pe-puppet' instead of 'puppet'. There is no functional difference so lets map 'pe-puppet' to 'puppet' so we can use the same default checkers. 710a854f6 Remove shellcheck checker for zsh ebfba7ec3 Puppet-lint no longer requires puppet. 2337c65b3 Keep track of b:changedtick. dac07db61 Cleanup: shut up most vint warnings. ac96ae4a2 Manual: add notes about powerline, vim-airline, and vim-go. ebadf9aff Windows brain damage: executable('foo') doesn't mean 'foo' is executable. b905f6d08 Mercury checker: cleanup. 4e0ac804c added mercury syntax checker 0cde75895 replaced erlang checker with the one from vimerl that works without rebar 84add5b7f Checkers using curl(1): allow redirections. 7b8526b96 Flow checker: bail out if there is no .flowconfig. 5b0d3dc8b README: rephrase. da1ecc0bb FAQ: add a note about $PATH. 231a78f5d Manual: update. 67fc031e0 Manual: fix examples to use g:syntastic_shell. 47eabae37 New global option: "shell". 869c5a726 Camlp4o checker: better error highlighting. 48812d833 Cleanup: exit codes are meaningless for checkers without exec. c297fbebb README: update address of tidy-html5. 69d20efc6 Elixir: handle warnings. fe3a48f33 Ruby checkers: make warning flags configurable. 272fc7df3 Manual: update the note about vim-auto-save. 413cdb354 Flow checker: make exe configurable. 5214f00a1 New checker for API Blueprint: snowcrash. a7758aa18 New checker for Vim: vint. b427af1e0 Cleanup: case-sensitive comparisons. 0e23cb097 Cleanup. fc8f8e500 RAEDME: minor rephrase. 9e5a6e657 README: add a link to vint-syntastic. 2a07c4acd New checker for SML: smlnj. c45293538 README: add a link syntastic-more. 399389c84 README: add links to a few third party checkers. c233c9bbd README: update URL for the Rust checker. f4b064e2d README: rephrase. 71aa71bc1 README: more details about enabling checkers. bccfdea4e Handling redefinition of exec: minor optimisation. 8256e4351 Typo. 471ce96af Remove the xcrun checker for Swift. d73546dd4 Java checker: more path fixes. cf4e18d3f Java checker: fix path detection. 776d4175c Handle redefinition of exec after the checker has run. 478218402 Security: disable the swift/xcrun checker by default. 372daff1a Reek checker: update. 157ad8d43 Minor cleanup. a7841c869 Minor cleanup. dde4a9be9 Formatting. 4401a23f2 Merge pull request #1323 from Shizmob/patch-1 b70e9af18 Don't warn on python/prospector with no messages. 7cbb79b73 More detailed debug information. c1a209895 New checker for JavaScript: standard. 1c6cae0d2 Merge pull request #1320 from ametheus/patch-1 0a310ca0a Fix typo 3ea613f53 Xmllint: make "--xinclude" and "--postvalid" optional. 7d9aec0be Prospector no longer accepts option "--external-config". 6b76c26cb Puppet checker: don't redirect stderr when checking version. abff1d81e Merge pull request #1313 from tomfogg/master 5cc56dbde missing comma in swift errorformat after cleanup b69efd072 README: Swift is now supported. cf012bdea Version logging: minor cleanup. b9608e77b Xcrun: cleanup. 46fc1ec68 Merge branch 'master' of https://github.com/scrooloose/syntastic 3e33785d8 add licence for swift syntax checker a76370c14 add swift syntax checker support using xcrun git-subtree-dir: vim/bundle/syntastic git-subtree-split: 56e19eb81a5cdf75542def5b0b07f68aab50809f
10 years ago
apps_dir_from_src(SrcFile) ->
SrcDir = filename:dirname(SrcFile),
filename:join(SrcDir, "../../ebin").
get_root(Dir) ->
Path = filename:split(filename:absname(Dir)),
filename:join(get_root(lists:reverse(Path), Path)).
get_root([], Path) ->
Path;
get_root(["src" | Tail], _Path) ->
lists:reverse(Tail);
get_root(["test" | Tail], _Path) ->
lists:reverse(Tail);
get_root([_ | Tail], Path) ->
get_root(Tail, Path).
Squashed 'vim/bundle/syntastic/' changes from 56e19eb81..89bc82a26 89bc82a26 Manual: add a note about debugging. b2ad71cd1 Manual: add a clarification about statusline. d8af5028e Bug fix: Cygwin sets has("unix"). de0106e83 JSCS checker: add "--max-errors -1" option. cc440f1b4 Checker yamllint: cleanup. 8c4dadc7e New checker for YAML: yamllint (@adrienverge). 972b87ca0 Safer syntastic#util#unique(). d1a179d75 Vim 7.4.1128 can delete directories recursively. 1f4846fec Stylelint checker can also check SCSS files. 2db6f539d Checker scss_lint: use the JSON reporter of scss-lint. b10c59b21 Manual: clarification about quiet_messages. c57ba0da9 Asciidoc checker: fix errorformat to allow use as asciidoctor. e39f636e2 Flow checker: go back to "flow check". 17a4c0123 Checker ghc_mod is on its way out. 189be0ae7 Workaround for a misfeature in Vim 7.4.1013 and later. 3280220e6 JSCS checker bug fix: minor fallouts from 751afea. 91814d672 Manual: bit rot: vim-go now uses loclists. 751afea9e JSCS checker: use JSON reporter. dbd761006 Minor feature: auto_loc_list == 3. 281b29487 Avoid checking the preview window. 6074c3d39 Stylelint checker: update parser. 48736aa37 Mixedindentlint is a style checker. ac4541e0e Minor cleanup. ce8dd364f Add `returns` list to `SyntasticMake` 6be9b4c71 Add mixedindentlint checker redirect for css a0382253c Add mixedindentlint checker redirect for scss 7d27a3982 Add mixedindentlint checker for JavaScript 60f979393 R linters: minor cleanup. 06a846955 Checker tsc: add guards option. e60555de7 Registry: cleaner handling of checker redirections. 4725c8616 Lintr checker: cleanup. bf60b72f3 Attempt support for Rmd files 4078f0db8 Updates for newest syntastic best practices f92adf3c9 Enable R linting using lintr 2d0bb98cf Allow ESLint to check typescript files. 77e20e22d Bug fix: decouple skip_checks from check_on_wq. 70c723ac1 Back off 6379bd1, this is not safe. 6379bd198 /dev/null should work under win32unix. dc516ef19 Checker asm/gcc: allow generic overrides. 6d2e406f9 Slim_lint checker: cleanup. 46c692b51 Add slim-lint checker 200cd1d07 Merge remote-tracking branch 'origin/pr/1609' 3f9fde2c1 fix miss test classpath 4f1e3adf3 correct pymode lint variable name in documentation 73dd78548 Dockerfile_lint checker: cleanup. 13456d5a7 Add dockerfile-lint checker 10788ac8d Javac checker: cleanup. 094c3631c fix maven project which has set srcdir or testsrc dir 3593d1697 fix maven project which has set srcdir or testsrc dir cd40fe975 Ansible-lint checker: make "-p" option mandatory. 13c8e7530 Ansible-lint checker: add version check. 7d627000c Checkers clang_check and clang_tidy: workaround for a regression in Clang. 721a42d5b Ansible-lint checker: cleanup. f8e638d28 Add ansible-lint syntax checkers 85cde9235 Core: disable autocommand nesting by default. d79d77fbd Core: allow syntastic commands to be followed by other Vim commands. ae7e00aad Revert "Javac checker: minor optimisation." cfdcdfaa9 Javac checker: minor optimisation. 03c058ea5 Typo. dec5bc73b New checker vcom for VHDL (@jevogel). 9f599a161 Standard checker: allow generic standard frontends. 943923433 Typo. 646124823 Back off a4c3fcc for slimrb. 630169bfc Stylelint checker: typo. c596b6474 Stylelint checker: cleanup. 1d5a057a0 Add CSS Stylelint checker a4c3fcc4a Partial workaround for a misfeature of errorformat. 1926693d1 Coqtop checker: fix potentially harmful errorformat. 11ca31582 Iverilog checker: formatting. d51d5ea51 Merge remote-tracking branch 'origin/pr/1579' 448b6cc61 add MIT license to iverilog.vim e484ac941 BaseX: allow filenames to contain special characters. 2553f6389 BaseX checker: minor cleanup. 50653f0bc BaseX checker: cleanup. 89ad03b2e conform iverilog to makeprgBuild() 5bf9fa749 Add support for Icarus Verilog compiler 3c524a661 Added support for XQuery using BaseX.exe f6eaf7e8b README: add links to ghcmod-vim and vim-go. 544acba17 ghc-mod versions 5.4.0 and later are no longer supported. f57cc9e84 Bump version number. 1b6c70ddc Merge remote-tracking branch 'origin/pr/1573' 160446799 [drafter] Update known status code 72b704e6f Bump version. d36bc7807 Bump version for release. 7e26d3589 Merge remote-tracking branch 'origin/pr/1567' ba62f2e68 API Blueprint should use drafter e1217a888 Manual: cross reference skip_checks from the filtering section. b3ebf94ac Manual: fix typo. 50d031583 Vimlint checker: add logging. d3130d6b5 Minor cleanup. b8aef009b Bug fix: length of composite characters in stl_format. 66f4e9693 Eslint checker: log if called as a generic frontend. c34ea8955 Eslint checker: allow generic eslint frontends. e0a3cf753 Add width controls to the new stl_format flags. d73d7601c New flags for stl_format: %ne, %nw, %N, %pe, %pw, %P. 03c8a7b55 README: add a link to the Merlin project. 1885e867b Checkstyle checker: make checkstyle_classpath an actual classpath. debcecd5c Checker gometalinter: minor cleanup. f2084e9e4 Checker gometalinter: fix arguments. 9371aafa8 Minor cleanup: regex optimisation. 8bb535bd2 Checker gometalinter: cleanup. 3db525cac include test files by default. add error type. aca4d8ea4 add support for setting arguments on gometalinter f1f7deed3 use package instead of file 61b7dbf9c add gometalinter syntax checker 8164240f6 Hlint: handle hint file parsing errors. 1e7589fe5 Back off "Reset notifiers if skip_checks is set." 6a4262251 Reset notifiers if skip_checks is set. be111259e js-yaml checker: update errorformat. 1be907716 Javac checker: make checker-specific commands available at startup. 3fb986584 Go checker: option "-buildmode=archive" is new in go 1.5. 703287c76 Checker jade_lint: cleanup. b5883c80f Add jade-lint 0fe603595 Bug fix: minor shell escape issue. d077102eb Gotype checker: parse test files (@jonasi). 3c2e7e4ce Go checker: attempt to speed up builds (@gsalgado). 13727dd46 Set the GOGC env var to off to speed up go builds 47c70b3e1 Minor language and grammar fixes. 7014a52ac Manual: update the note about zsh. 1ae5589f9 Javac checker: attempt at fixing errorformat. 3fb8281a6 Bug fix: missing a couple of executable() checks. 748725c77 Tslint checker: version 2.4.0 and later no longer support "-f". bfc55793e ESLint checker: line numbers are now 1-based. a01107ffa Bug fix: safer handling of automatic includes. 9d69f4c16 Qmllint checker: cleanup. 6ff7c8934 New checker for qml: qmllint edde4c5ed New checker for stylus: stylint. 74586ff12 Manual: consistency fixes. 07f2745eb Manual: rephrase description of check_on_wq. d26c7f78c Bug fix: passive mode UI problem; autocmd cleanup. a6012f2b4 Move floating point functions to autoload. bcb4ca6e7 Safety net for enable_*_checker variables. 6929f24e4 Flog checker: cleanup. 5db87b9ec Add ruby flog checker 76ec53f18 Sqlint checker now returns 1 when it detects errors. aded15691 Bug fix: leftover from JSON cleanup. 1dde81a68 There is no such thing as has('iconv/dyn'). d35396286 Sqlint checker: add highlighting function. 1e475a7df Sqlint checker: cleanup. 125ce327e Add checker for sqlint (https://github.com/purcell/sqlint) ffcf625fc Minor cleanup. c44cb15c4 Cleanup: JSON decoding. eba7ae6d6 Debug: add indicator for modified shell-related options. 83829b766 Minor bug fix. 74fd7e6b9 Show chacker output when whining that we can't parse version string. 2e60dd4af Manual: add a note about Tim Pope's "flagship". 59513edd4 Manual: fix the notice about rvm. a596ef38b Gfortran checker: fix errorformat for gfortran 5. b1b79009e Manual: Fix filetype_map example. 4708cdd12 Add a mechanism for handling checkers disabled for security. d75f3e5e8 Buffer-local security guards for perl/perl, elixirelixir, and r/svtools. a08221e98 Merge pull request #1463 from lavrin/erlang-rebar-rel-paths 0154e9d09 Translate relative paths from non-root rebar.config files 8e672780e Show checker output along with "checker returned abnormal status". 31cba018b Safety net: avoid suffixesadd interfering with findfile(). 176e32ca4 Cleanup. c9fc0d41e Checker javac: _really_ fix shell escaping in custom_classpath_command. dc15fa08c Checker javac: fix shell escaping in custom_classpath_command. c39563d95 Checker javac: cleanup. ec9da6732 Merge remote-tracking branch 'origin/pr/1456' dbb28cd84 Ada checker: disable generation of intermediate files. 8269ba278 Basic path substitution for g:syntastic_java_javac_custom_classpath_command git-subtree-dir: vim/bundle/syntastic git-subtree-split: 89bc82a2640414be38a22de9ded1994359c56735
9 years ago
translate_paths(Dir, RebarOpts) ->
[ translate_path(Dir, Opt) || Opt <- RebarOpts ].
translate_path(Dir, {i, Path}) ->
case Path of
%% absolute
"/" ++ _ -> {i, Path};
%% relative -> make absolute taking rebar.config location into account
_ -> {i, filename:join([Dir, Path])}
end;
translate_path(_, Other) -> Other.