Commit Graph

405 Commits

Author SHA1 Message Date
Manuel Carmona
c6d74bca66 added shebang functionality
fixed autogenerated comment

changed constant types names

GetLanguageByShebang doesn't print errors

languageInfo struct change to have only necessary fields

GetLanguageByShebang has a comment now
2017-04-27 16:40:08 +02:00
Manuel Carmona
2644a7c8da added interpreters_map.go generation
fixed Interpreters comment
2017-04-27 16:39:54 +02:00
Manuel Carmona
6ddbb79af0 changed generator_test.go to use only TestFromFile
modified *.test.yml to contain only necessary information

fixed white spaces

remove duplicated file languages.test.tmpl
2017-04-27 16:39:36 +02:00
Manuel Carmona
1bf555bc4c changed getAlphabeticalOrderedKeys to use sort.Strings 2017-04-27 16:35:23 +02:00
Santiago M. Mola
4ed60ad05b Merge pull request #21 from src-d/smola-patch-1
README: fix typo
2017-04-17 17:57:42 +02:00
Santiago M. Mola
fff26307fd README: fix typo 2017-04-17 17:57:18 +02:00
Santiago M. Mola
9d59e0046c Merge pull request #20 from mcarmonaa/types
added types.go generation
2017-04-17 12:13:01 +02:00
Manuel Carmona
c08b85120d created 'type Type int' for type.go generation 2017-04-17 12:08:54 +02:00
Manuel Carmona
b277944b2a fixed constant iotas 2017-04-17 12:00:50 +02:00
Manuel Carmona
92cd8c6976 fixed .php test 2017-04-17 11:55:29 +02:00
Manuel Carmona
25e835f5fd slice of languages arranged in alphabetical order 2017-04-17 11:55:29 +02:00
Manuel Carmona
9a9968dca0 added comments to constants 2017-04-17 11:55:29 +02:00
Manuel Carmona
ef39403555 added type.go generation 2017-04-17 11:55:29 +02:00
Manuel Carmona
5d61ca93d8 changed langs.go to unmarshal on a languageInfo struct 2017-04-17 11:55:29 +02:00
Santiago M. Mola
fee9949d1d Merge pull request #19 from mcarmonaa/documentation
Added documentation_matchers.go generation
2017-04-17 11:54:33 +02:00
Manuel Carmona
ca3ae587f3 added documentation_matchers.go generation 2017-04-17 11:52:11 +02:00
Máximo Cuadros
d66beade34 Merge pull request #15 from mcarmonaa/vendor
utils.go generation from vendor.yml
2017-04-16 18:45:44 +02:00
Manuel Carmona
ef19999fe8 removed vendorRegexp and benchmarks 2017-04-10 12:40:52 +02:00
Manuel Carmona
65996506ae fixed Vendor function's comment 2017-04-10 10:32:54 +02:00
Manuel Carmona
30772e4ea0 changed executeVendorTemplate's paramaters names 2017-04-10 10:27:44 +02:00
Manuel Carmona
f175c2d20b changed Vendor function's comment and parameters names 2017-04-10 10:25:52 +02:00
Manuel Carmona
eaf473743b changed function name executeUtilsTemplate to executeVendorTemplate 2017-04-10 10:20:38 +02:00
Manuel Carmona
e998b0ff2e regexp for vendored files and directories are generated in vendor_matchers.go 2017-04-07 09:27:40 +02:00
Manuel Carmona
5e13b984c9 changed TestIsVendor 2017-04-06 18:04:47 +02:00
Manuel Carmona
13e7886a02 Added utils.go generation 2017-04-06 17:31:17 +02:00
Máximo Cuadros
dae33dc2b2 makefile: clone linguist from https 2017-04-05 19:27:19 +02:00
Máximo Cuadros
45f82764b0 travis 2017-04-05 19:21:01 +02:00
Máximo Cuadros
06d729c9db LICENSE 2017-04-05 19:03:20 +02:00
Máximo Cuadros
d289a80e4c Makefile go generate base 2017-04-05 18:38:42 +02:00
Máximo Cuadros
3a2a62baad move srcd.works to gopkg.in 2017-04-05 18:26:58 +02:00
Máximo Cuadros
8c56cb5488 Merge pull request #14 from mcarmonaa/content
Added generator for content.go
2017-04-05 18:22:52 +02:00
Manuel Carmona
03c71a9b93 move content.go generation to internal 2017-04-05 18:15:27 +02:00
Manuel Carmona
ba22a0a243 content generator 2017-04-05 18:09:14 +02:00
Máximo Cuadros
f375b0df5e Merge pull request #13 from mcarmonaa/languages
Added languages.go generator
2017-04-05 18:05:03 +02:00
Manuel Carmona
665b7475e3 code generation move to internal/code-generator 2017-04-05 17:49:58 +02:00
Manuel Carmona
d759fb8992 Added languages.go generator 2017-04-04 13:10:35 +02:00
Máximo Cuadros
d373b46535 README.md 2016-12-09 13:30:21 +01:00
Santiago M. Mola
dc55da2c6c update imports to srcd.works/simple-linguist.v1 (#11) 2016-12-09 10:38:38 +01:00
Máximo Cuadros
2f971ef00d Merge pull request #7 from smola/saltstack
fix .sls disambiguation (Scheme/SaltStack).
2016-09-15 17:58:00 +02:00
Santiago M. Mola
a4e77fd174 fix .sls disambiguation (Scheme/SaltStack). 2016-09-09 11:39:58 +02:00
Santiago M. Mola
fe1e10ece8 detect .cf as CFEngine. (#8) 2016-09-09 11:39:31 +02:00
Santiago M. Mola
9d7d9da790 use gop.kg reference instead of github.com. (#6) 2016-09-09 09:14:36 +02:00
Santiago M. Mola
ceaab89baa add .pp pascal/puppet disambiguation. (#4) 2016-09-06 18:25:55 +02:00
Santiago M. Mola
6043702bbc .tf -> Terraform (#3)
.tf files were detected as HCL instead of Terraform.
We prefer the more specific Terraform identified,
even if it follows HCL syntax.
2016-09-06 18:25:18 +02:00
Máximo Cuadros
11717692b5 Merge pull request #2 from mvader/make-langs-public
Make ExtensionsByLanguage public
2016-08-02 10:39:47 +02:00
Miguel Molina
74733eac19 Make ExtensionsByLanguage public 2016-08-02 10:38:14 +02:00
Máximo Cuadros
2bbd7ec440 unified GetLanguage function 2016-07-18 16:20:12 +02:00
Máximo Cuadros
ec9c23e411 content disambiguate logic 2016-07-16 23:38:23 +02:00
Máximo Cuadros
52986d00fc new by content heuristisc, nore 2016-07-14 18:12:12 +02:00
Máximo Cuadros
b1a3085e44 new by content heuristisc 2016-07-14 15:14:32 +02:00