Merge branch 'master' into feature/reason

This commit is contained in:
Ivan Verevkin
2019-07-19 16:28:19 +02:00
committed by GitHub
7 changed files with 43 additions and 16 deletions

View File

@@ -12,6 +12,7 @@ const LANGUAGES = [
'javascript',
'kotlin',
'ocaml',
'perl',
'php',
'python',
'ruby',

View File

@@ -0,0 +1,9 @@
const { setupGetCrumbs, setupGetCommentsFromCode } = require('../default/codecrumbs');
const PERL_COMMENT_REGEX = /^([^#]*)#(.*)$/;
const getCrumbs = setupGetCrumbs(setupGetCommentsFromCode(PERL_COMMENT_REGEX));
// replace with own implementation if needed
module.exports = {
getCrumbs
};

View File

@@ -0,0 +1,7 @@
const defaultDependencies = require('../default/dependencies');
// replace with own implementation if needed
module.exports = {
getImports: defaultDependencies.getImports,
getDependencies: defaultDependencies.getDependencies
};

View File

@@ -0,0 +1 @@
module.exports = /\.(pl|al|cgi|fcgi|perl|ph|plx|pm|psgi|t|6pl|6pm|nqp|p6|p6l|p6m|pl|pl6|pm|pm6)$/;