1 |
/* |
/* |
2 |
main.c - JSCoverage main routine |
main.c - JSCoverage main routine |
3 |
Copyright (C) 2007 siliconforks.com |
Copyright (C) 2007, 2008 siliconforks.com |
4 |
|
|
5 |
This program is free software; you can redistribute it and/or modify |
This program is free software; you can redistribute it and/or modify |
6 |
it under the terms of the GNU General Public License as published by |
it under the terms of the GNU General Public License as published by |
17 |
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
18 |
*/ |
*/ |
19 |
|
|
20 |
|
#include <config.h> |
21 |
|
|
22 |
#include <stdio.h> |
#include <stdio.h> |
23 |
#include <stdlib.h> |
#include <stdlib.h> |
24 |
#include <string.h> |
#include <string.h> |
102 |
|
|
103 |
jscoverage_init(); |
jscoverage_init(); |
104 |
jscoverage_instrument(source, destination, verbose, exclude, num_exclude, no_instrument, num_no_instrument); |
jscoverage_instrument(source, destination, verbose, exclude, num_exclude, no_instrument, num_no_instrument); |
|
jscoverage_copy_resources(destination); |
|
105 |
jscoverage_cleanup(); |
jscoverage_cleanup(); |
106 |
|
|
107 |
free(source); |
free(source); |