summaryrefslogblamecommitdiffstats
path: root/test/jsbundle-test.c
blob: b63a0fd3f2cb46b1304a2f348e618ebcdf42ecc2 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                               
#include <stdlib.h>
#include <stdio.h>
#include "jsbundle.c"

extern int main(int argc, char* argv[]) {
	if(argc != 4) {
		printf("usage: %s bundle.js source_directory/ .js\n", argv[0]);
		return 1;
	}
	bundle_js(argv[1], argv[2], argv[3]);
	return 0;
}