Mantis Bugtracker

Einfache Problemansicht anzeigen Zu Notizen wechseln ] erweiterte Anzeige ] Problem-Historie ] Drucken ]
ID Kategorie Auswirkung Reproduzierbar Meldungsdatum Letzte Aktualisierung
0000091 [Mascot] general Feature-Wunsch nicht getestet 2012-01-10 11:56 2012-08-29 20:26
Reporter ygrek Anzeigestatus öffentlich  
Bearbeitung durch xclerc
Priorität normal Lösung erledigt  
Status erledigt   Produktversion 1.0-beta
Zusammenfassung 0000091: feature wish : ocamlbuild integration
Beschreibung My projects use syntax extensions (several) and the use of that extensions on individual files is specified via _tags. It would be cool if mascot had an ocamlbuild rule that would blend into ocamlbuild invocation taking into account the information on syntax extensions used during a build.
Zusätzliche Information
Tags Keine Tags zugeordnet.
Angehängte Dateien

- Problem-Beziehungen

-  Notiz
(0000258)
xclerc (Administrator)
2012-08-29 20:26

Well, ocamlbuild integration is not that easy because Mascot does not
call preprocessors as external command but (when camlp4-based)
loads them in its very process. So, having multiple preprocessors is not
easy.

In an attempt to try to provide the basic building blocks to satisfy your
needs, two new features have been added:
  - a 'binary' output mode that store the result of an analysis;
  - a '-report-only' command-line switch that make Mascot work
    on binary files rather than sources file as input.
The combination of these features allows to combine partial analysis into
a single report.

Back to your feature request: you should design a script taking the
'_build/_log' file and extracting from it the list of compiled source with
their relative preprocessors. Then run Mascot on each file, and latter
combine the analysis done independently on the different files.

- Problem-Historie
Änderungsdatum Benutzername Feld Änderung
2012-01-10 11:56 ygrek Neues Problem
2012-08-29 20:26 xclerc Problemnotiz hinzugefügt: 0000258
2012-08-29 20:26 xclerc Status neu => erledigt
2012-08-29 20:26 xclerc Behoben in Version => 1.0
2012-08-29 20:26 xclerc Lösung offen => erledigt
2012-08-29 20:26 xclerc Bearbeitung durch => xclerc


Mantis 1.1.7[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker