Ben Balter
7c3e265033
also add help for unapproved licenses
2015-08-26 12:31:29 -04:00
Ben Balter
c9e43804d6
add some help text to license test
2015-08-26 09:26:04 -04:00
Ben Balter
d1f90d61c5
Merge branch 'master' into licensee
2015-08-20 15:25:15 -04:00
Ben Balter
62a0faa729
let us
2015-08-20 12:23:52 -04:00
Ben Balter
fbb3ab2292
batch license test output
2015-08-20 11:38:31 -04:00
Ben Balter
fd9ce2d1cf
use licensee to classify submodule licenses
2015-08-19 12:54:21 -04:00
Paul Chaignon
6226a46988
Recognize the Mozilla Public License for grammars
2015-08-13 17:35:01 +02:00
Oldes
cbaa3ca6f4
Adding tm_scope for REBOL language and removing REBOL from LICENSE_WHITELIST as now is license available in the Sublime-REBOL project.
2015-03-23 11:38:07 +01:00
Arfon Smith
7ba4f0c571
Oracle grammar now has a license
2015-02-27 13:51:23 -06:00
Arfon Smith
a338228b57
Merge branch 'master' into sqlllll
2015-02-27 13:32:09 -06:00
Paul Chaignon
4eb8903bed
Comment for GAP grammar in whitelist
2015-02-09 23:01:24 +01:00
Paul Chaignon
d11b2f05bb
Detection of zlib license
2015-02-09 22:57:19 +01:00
Paul Chaignon
11f7e6e1b4
Add Papyrus and GAP grammars to whitelist
2015-02-09 21:29:53 +01:00
David Pyke Le Brun
5e9bb67d10
temporary add grammer to whitelist until license gets added
2015-02-09 14:27:14 +00:00
Arfon Smith
24eb1d3fe2
Updating file regex to support unlicense.txt
2015-01-09 11:43:34 -06:00
Adam Roben
e95314f072
Recognize WTFPL-licensed grammars
2015-01-08 10:49:54 -05:00
Florian M. Schäfer
3ace4c57f7
Allow British-English LICENCE-files
2015-01-06 22:51:08 +01:00
Adam Roben
71f0cafc78
Update all submodules
...
This was done via `git submodule update --remote`.
Since Scalate.tmbundle now has a license we can remove it from the
whitelist.
* vendor/grammars/NimLime 9cef4b6...a7067c6 (1):
> Added 'nim' to tmpl sublimetext highlighting
* vendor/grammars/Scalate.tmbundle 4f85314...0307535 (1):
> Merge pull request #3 from aroben/patch-1
* vendor/grammars/fsharpbinding d097476...99d2e9a (2):
> Merge pull request #917 from 7sharp9/CleanMacProjects
> Merge pull request #916 from 7sharp9/ToolTipsLessBlocky
* vendor/grammars/language-clojure d649d9f...bae6eee (2):
> Prepare 0.10.0 release
> Rename scoped-properties/ to settings/
* vendor/grammars/language-coffee-script c6e8d33...d86c896 (2):
> Prepare 0.39.0 release
> Rename scoped-properties/ to settings/
* vendor/grammars/language-gfm 7b62290...6af44a0 (2):
> Remove unneeded newline
> Merge pull request #65 from braver/line-break
* vendor/grammars/language-javascript 6690feb...5157519 (2):
> Prepare 0.53.0 release
> Rename scoped-properties/ to settings/
* vendor/grammars/language-python f518e49...46072e3 (2):
> Prepare 0.29.0 release
> Rename scoped-properties/ to settings/
* vendor/grammars/language-shellscript cbec163...9839719 (2):
> Prepare 0.12.0 release
> Rename scoped-properties/ to settings/
* vendor/grammars/language-yaml eddd079...ce8b441 (2):
> Prepare 0.22.0 release
> Rename scoped-properties/ to settings/
2015-01-06 13:46:04 -05:00
Adam Roben
4614287a55
Test that all grammar submodules have an appropriate license
...
We require all grammars to have a license that permits redistribution. A
few existing grammars have been grandfathered in without a license (and
we're working to remedy that), but no new grammars should be added
without a license.
2015-01-06 13:44:11 -05:00
Adam Roben
f477f811df
Extract TestGrammars#submodule_paths method
2015-01-06 13:43:50 -05:00
Adam Roben
a4286ba950
Show stderr output when running convert-grammars
...
This will let us see why it's failing.
2015-01-06 13:28:26 -05:00
Adam Roben
5fa85f268f
Ruby 1.9 compatibility
2015-01-06 13:28:26 -05:00
Adam Roben
ada6f6882a
Test that grammars.yml lists the right scopes for each submodule
...
convert-grammars now supports a few flags that we can use to make it
dump out the YAML just for the local grammar submodules. We can then
compare this to the YAML that's actually in grammars.yml to check that
they're the same. If they aren't, grammars.yml needs to be updated.
This will help catch mistakes like using the wrong scope name.
2015-01-06 13:28:25 -05:00
Adam Roben
65296e86a3
Switch to Minitest::Test instead of Test::Unit::TestCase
...
This gives us a consistent test framework across all Ruby versions which
should help avoid errors that are only found when CI runs the tests on
different Rubies. (And this fixes an immediate bug where there's no
`skip` method in the version of test-unit we're currently using only on
Ruby 2.2.)
2014-12-31 15:26:26 -05:00
Brandon Keepers
8369d253f8
Move grammar sources to vendor/grammars
2014-12-22 16:28:58 -05:00
Adam Roben
516d3e226c
Suggest adding/removing submodules from the repo
2014-12-22 15:50:33 -05:00
Adam Roben
e3eb1b90c5
Test that grammars.yml agrees with the list of submodules
...
If any submodules are missing from grammars.yml, or are listed in
grammars.yml but missing from the repo, the test will fail.
Eventually it would be good to test that the scopes for each submodule
are accurate, but that will take some more work.
2014-12-19 16:05:17 -05:00
Adam Roben
410fe2843d
Add some tests for grammars.yml
...
It must be sorted, because it will get re-sorted when
script/download-grammars is next run and that would clutter up diffs.
And it must not contain any duplicate scopes.
2014-12-17 16:39:02 -05:00