Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

misc

  • Loading branch information...
commit 674ac6171ea5c4cba2d4a6ac2780c9cbf29fe120 1 parent cf1c353
@aryx aryx authored
Showing with 10 additions and 20 deletions.
  1. +6 −18 Makefile
  2. +4 −2 main_codemap.ml
View
24 Makefile
@@ -606,12 +606,6 @@ uninstall:
version:
@echo $(VERSION)
-
-update:
- make opt
- cp codemap.opt ~/bin
- cp scheck.opt ~/bin
-
##############################################################################
# Package rules
##############################################################################
@@ -662,11 +656,15 @@ layers:
visual:
./codemap -no_legend -profile -ss 2 \
- -with_info DB_LIGHT.marshall -with_layers . -filter ocaml .
+ -with_info DB_LIGHT.marshall -with_layers . -filter pfff .
+visual2:
+ ./codemap -no_legend -profile -ss 2 \
+ -with_info DB_LIGHT.marshall -with_layers . .
tests:
./pfff_test -verbose all
-test: tests
+test:
+ make tests
push:
git push origin master
@@ -694,16 +692,6 @@ archi:
ps2pdf Fig_graph_ml.ps
rm -f Fig_graph_ml.ps
-
-visual_bis:
- ./codemap -profile -ss 2 \
- -with_info DB_LIGHT.marshall -with_layers . -pfff_filter .
-visualopt:
- ./codemap.opt -profile -ss 2 \
- -with_info DB_LIGHT .
-visual_test: codemap
- ./codemap -verbose -profile -ss 1 -ft 1. \
- -with_info DB_LIGHT -filter 'pad:ml' commons/
visualhead:
./codemap -ss 1 -ft 0.5 -commitid HEAD
View
6 main_codemap.ml
@@ -49,10 +49,12 @@ let filters = [
);
"pfff", (fun file ->
match FT.file_type_of_file file with
- | FT.PL (FT.ML _) | FT.PL (FT.Makefile) ->
+ | FT.PL ((FT.ML _) | FT.Makefile | FT.Opa) ->
(* todo: should be done in file_type_of_file *)
not (FT.is_syncweb_obj_file file)
- && not (file =~ ".*commons/" || file =~ ".*external/")
+ && not (file =~ ".*commons/" ||
+ file =~ ".*external/" ||
+ file =~ ".*_build/")
| _ -> false
);
"cpp", (let x = ref false in (fun file ->
Please sign in to comment.
Something went wrong with that request. Please try again.