From 0b983546382b25546e15acaf5e30bde7fd207f84 Mon Sep 17 00:00:00 2001 From: Jean-Louis Boudart Date: Sat, 21 Jul 2012 14:21:03 +0200 Subject: [PATCH 1/4] Add easyant files support to syntax highlighting .ant and .ivy files are both XML --- lib/linguist/languages.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index ddfd5e90..e6555449 100644 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -1297,7 +1297,9 @@ XML: ace_mode: xml primary_extension: .xml extensions: + - .ant - .glade + - .ivy - .kml - .mxml - .plist From 1027047bc7c28a0c0b2dd03aee6d5daa1864e7cd Mon Sep 17 00:00:00 2001 From: Jean-Louis Boudart Date: Sat, 21 Jul 2012 14:21:16 +0200 Subject: [PATCH 2/4] Add easyant sample files --- samples/xml/module.ant | 15 +++++++++++++++ samples/xml/module.ivy | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 samples/xml/module.ant create mode 100644 samples/xml/module.ivy diff --git a/samples/xml/module.ant b/samples/xml/module.ant new file mode 100644 index 00000000..8f3a10db --- /dev/null +++ b/samples/xml/module.ant @@ -0,0 +1,15 @@ + + + + This easyant module.ant sample file is optionnal and designed to customize your build with your own specific target. + + + + my awesome additionnal target + + + + i would love easyant i could easily plug my own specific pre compile step + + + diff --git a/samples/xml/module.ivy b/samples/xml/module.ivy new file mode 100644 index 00000000..0185531d --- /dev/null +++ b/samples/xml/module.ivy @@ -0,0 +1,33 @@ + + + + + this is a easyant module.ivy sample file for java standard application + + + + + + + + + + + + + + + + + From d23ab8dcda7efef3b9cde01118a5ecf08c6d9c2b Mon Sep 17 00:00:00 2001 From: Joshua Peek Date: Sat, 21 Jul 2012 09:39:51 -0500 Subject: [PATCH 3/4] Revert "Add easyant files support to syntax highlighting .ant and .ivy files are both XML" This reverts commit 0b983546382b25546e15acaf5e30bde7fd207f84. --- lib/linguist/languages.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index e6555449..ddfd5e90 100644 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -1297,9 +1297,7 @@ XML: ace_mode: xml primary_extension: .xml extensions: - - .ant - .glade - - .ivy - .kml - .mxml - .plist From 8ecf2ad322370722cfa43c580c8737be8ed1517e Mon Sep 17 00:00:00 2001 From: Joshua Peek Date: Sat, 21 Jul 2012 09:40:37 -0500 Subject: [PATCH 4/4] Update classifier db --- lib/linguist/classifier.yml | 112 ++++++++++++++++++++++++++++-------- 1 file changed, 87 insertions(+), 25 deletions(-) diff --git a/lib/linguist/classifier.yml b/lib/linguist/classifier.yml index a39b135a..5874b621 100644 --- a/lib/linguist/classifier.yml +++ b/lib/linguist/classifier.yml @@ -1,6 +1,6 @@ --- !ruby/object:Linguist::Classifier -languages_total: 241 -tokens_total: 164005 +languages_total: 243 +tokens_total: 164127 languages: "Apex": 6 "AppleScript": 2 @@ -64,7 +64,7 @@ languages: "Verilog": 13 "VimL": 2 "Visual Basic": 1 - "XML": 1 + "XML": 3 "XQuery": 1 "XSLT": 1 "YAML": 1 @@ -131,7 +131,7 @@ language_tokens: "Verilog": 3440 "VimL": 20 "Visual Basic": 294 - "XML": 5505 + "XML": 5627 "XQuery": 801 "XSLT": 44 "YAML": 30 @@ -18878,28 +18878,53 @@ tokens: "*always*": 1 "*before*": 2 "*must*": 1 - "-": 48 + "-": 49 + "-->": 1 ".": 22 - "/": 5 + ".4": 1 + "/": 6 ";": 10 + "