Skip to content

Commit

Permalink
Move select2 files to subfolder
Browse files Browse the repository at this point in the history
Include select2's license (MIT), make clear it's not ours, better grep-ing
  • Loading branch information
Amorymeltzer committed Feb 10, 2020
1 parent 941d01a commit 120f725
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ modules = modules/twinkleconfig.js \
modules/friendlytalkback.js \
modules/friendlywelcome.js

deploy: twinkle.js twinkle.css twinkle-pagestyles.css morebits.js morebits.css select2.min.js select2.min.css $(modules)
deploy: twinkle.js twinkle.css twinkle-pagestyles.css morebits.js morebits.css select2/select2.min.js select2/select2.min.css $(modules)
./sync.pl ${ARGS} --deploy $^

.PHONY: deploy all
21 changes: 21 additions & 0 deletions select2/select2-LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2012-2017 Kevin Brown, Igor Vaynberg, and Select2 contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions sync.pl
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,8 @@ sub saltNPepa {
twinkle-pagestyles.css MediaWiki:Gadget-Twinkle-pagestyles.css
morebits.js MediaWiki:Gadget-morebits.js
morebits.css MediaWiki:Gadget-morebits.css
select2.min.js MediaWiki:Gadget-select2.min.js
select2.min.css MediaWiki:Gadget-select2.min.css
select2/select2.min.js MediaWiki:Gadget-select2.min.js
select2/select2.min.css MediaWiki:Gadget-select2.min.css
modules/twinklearv.js MediaWiki:Gadget-twinklearv.js
modules/twinklebatchdelete.js MediaWiki:Gadget-twinklebatchdelete.js
modules/twinklebatchprotect.js MediaWiki:Gadget-twinklebatchprotect.js
Expand Down

0 comments on commit 120f725

Please sign in to comment.