diff --git a/javascript/extractor/src/com/semmle/js/extractor/AutoBuild.java b/javascript/extractor/src/com/semmle/js/extractor/AutoBuild.java index 42b969f191ee..71bb515ec54c 100644 --- a/javascript/extractor/src/com/semmle/js/extractor/AutoBuild.java +++ b/javascript/extractor/src/com/semmle/js/extractor/AutoBuild.java @@ -16,8 +16,10 @@ import java.nio.file.attribute.BasicFileAttributes; import java.util.ArrayList; import java.util.Arrays; +import java.util.LinkedHashMap; import java.util.LinkedHashSet; import java.util.List; +import java.util.Map; import java.util.Set; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; @@ -58,6 +60,25 @@ * * *

+ * Additionally, the following environment variables may be set to customise extraction + * (explained in more detail below): + *

+ * + * + * + *

* It extracts the following: *

* @@ -143,6 +164,12 @@ *

* *

+ * The environment variable LGTM_INDEX_FILETYPES may be set to a newline-separated + * list of file type specifications of the form .extension:filetype, causing all + * files whose name ends in .extension to also be included by default. + *

+ * + *

* The default exclusion patterns cause the following files to be excluded: *

*