<commit_before>all:
	join-minify

join-minify:
	( \
		cat \
		ext/yahoo-min.js \
		ext/cryptojs-312-core-fix-min.js \
		ext/sha256-min.js ext/sha512-min.js \
		ext/md5-min.js \
		ext/sha1-min.js ext/ripemd160-min.js \
		ext/base64-min.js ext/jsbn-min.js ext/jsbn2-min.js ext/prng4-min.js ext/rng-min.js \
		ext/rsa-min.js ext/rsa2-min.js ext/ec-min.js ext/ec-patch-min.js \
		asn1-1.0.min.js asn1hex-1.1.min.js asn1x509-1.0.min.js asn1csr-1.0.min.js asn1tsp-1.0.min.js\
		base64x-1.1.min.js crypto-1.1.min.js ecdsa-modified-1.0.min.js ecparam-1.0.min.js \
		dsa-modified-1.0.min.js jws-3.2.min.js jwsjs-2.0.min.js\
		pkcs5pkey-1.0.min.js keyutil-1.0.min.js rsapem-1.1.min.js rsasign-1.2.min.js x509-1.1.min.js \
		| sed "s/\/*! /\n\/*! /g" > jsrsasign-4.9.0-mdcone-all-min.js ; \
		cp jsrsasign-4.9.0-mdcone-all-min.js jsrsasign-latest-all-min.js \
		)<commit_msg>adding stuff to build<commit_after>all: join-main

join-minify: *min.js ext/*min.js npm/lib/header.js npm/lib/footer.js
	cat *min.js $(shell find ext/ -name "*min.js") | sed "s/\/*! /\n\/*! /g" > jsrsasign-4.9.0-mdcone-all-min.js
	cp jsrsasign-4.9.0-mdcone-all-min.js jsrsasign-latest-all-min.js

#min-js: *.js
#	for i in `ls *.js | grep -v "min.js"` ; do java -jar ~/src/yuicompressor/build/yuicompressor-2.4.8.jar $i -o `echo $i | sed 's/.js/-min.js/g'` ; done

join-main: join-minify
	cat \
        npm/lib/header.js \
        jsrsasign-latest-all-min.js \
        npm/lib/footer.js \
        > npm/lib/jsrsasign.js
{'fraction_non_alphanumeric': 0.20647773279352227, 'fraction_numerical': 0.0553306342780027, 'mean_word_length': 2.34009009009009, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5114022', 'n_tokens_mistral': 794, 'n_tokens_neox': 745, 'n_words': 98}