Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

make top works again. Also add file_type for readme and .emacs

  • Loading branch information...
commit 4eba308eb2df40edf6d84fbe2b8685cb5b49674f 1 parent f43b9e8
pad authored
Showing with 3 additions and 2 deletions.
  1. +1 −0  Makefile
  2. +2 −2 commons/file_type.ml
View
1  Makefile
@@ -178,6 +178,7 @@ LIBS= commons/commons.cma \
lang_php/analyze/database/lib.cma \
lang_php/analyze/finder/lib.cma \
lang_php/analyze/static_analysis/lib.cma \
+ lang_php/analyze/dynamic_analysis/lib.cma \
lang_php/analyze/qa_test/lib.cma \
lang_php/analyze/lib.cma \
lang_sql/parsing/lib.cma \
View
4 commons/file_type.ml
@@ -227,12 +227,12 @@ let file_type_of_file2 file =
| _ when Common.is_executable file -> Binary e
| _ when b = "Makefile" -> PL Makefile
+ | _ when b = "README" -> Text "txt"
- (* facebook *)
| _ when b = "TAGS" -> Binary e
-
| _ when b = "TARGETS" -> PL Makefile
| _ when b = ".depend" -> Obj "depend"
+ | _ when b = ".emacs" -> PL (Lisp (Elisp))
| _ when Common.filesize file > 300_000 ->
Obj e
Please sign in to comment.
Something went wrong with that request. Please try again.