<commit_before>#
#  Convenience Makefile; SCons is used for the actual build
#

.PHONY: default all clean test install

DIST_FILES =	\
	README.txt \
	LICENSE.txt \
	SConstruct \
	runtests/runtests.js \
	runtests/package.json \
	testcases/*.js \
	src/SConscript \
	src/*.py \
	src/*.c \
	src/*.h \
	src/UnicodeData.txt \
	src/SpecialCasing.txt \
	doc/SConscript

default:	all

all:
	scons -s -j 8

clean:
	scons -c -s

test:
	node runtests/runtests.js --run-duk --cmd-duk=$(shell pwd)/build/400/duk.400 --run-nodejs --run-rhino --num-threads 8 --log-file=/tmp/duk-test.log testcases/

vgtest:
	node runtests/runtests.js --run-duk --cmd-duk=$(shell pwd)/build/400/duk.400 --run-nodejs --run-rhino --num-threads 1 --log-file=/tmp/duk-vgtest.log --valgrind testcases/
	
install:
	scons -j 8 install

VERSION=0.1.0

dist-src:
	-rm -rf duktape-$(VERSION)/
	-rm -rf dist.tar.lzma
	mkdir duktape-$(VERSION) duktape-$(VERSION)/testcases duktape-$(VERSION)/src duktape-$(VERSION)/doc
	cp -r --parents $(DIST_FILES) duktape-$(VERSION)/
	tar cvfj duktape-$(VERSION).tar.bz2 duktape-$(VERSION)/<commit_msg>.xz dist<commit_after>#
#  Convenience Makefile; SCons is used for the actual build
#

.PHONY: default all clean test install

DIST_FILES =	\
	README.txt \
	LICENSE.txt \
	SConstruct \
	runtests/runtests.js \
	runtests/package.json \
	testcases/*.js \
	src/SConscript \
	src/*.py \
	src/*.c \
	src/*.h \
	src/UnicodeData.txt \
	src/SpecialCasing.txt \
	doc/SConscript

default:	all

all:
	scons -s -j 8

clean:
	scons -c -s

test:
	node runtests/runtests.js --run-duk --cmd-duk=$(shell pwd)/build/400/duk.400 --run-nodejs --run-rhino --num-threads 8 --log-file=/tmp/duk-test.log testcases/

vgtest:
	node runtests/runtests.js --run-duk --cmd-duk=$(shell pwd)/build/400/duk.400 --run-nodejs --run-rhino --num-threads 1 --log-file=/tmp/duk-vgtest.log --valgrind testcases/
	
install:
	scons -j 8 install

VERSION=0.1.0

dist-src:
	-rm -rf duktape-$(VERSION)/
	-rm -rf duktape-$(VERSION).tar*
	mkdir duktape-$(VERSION) duktape-$(VERSION)/testcases duktape-$(VERSION)/src duktape-$(VERSION)/doc
	cp -r --parents $(DIST_FILES) duktape-$(VERSION)/
	tar cvfj duktape-$(VERSION).tar.bz2 duktape-$(VERSION)/
	tar cvf duktape-$(VERSION).tar duktape-$(VERSION)/
	xz -z -e -9 duktape-$(VERSION).tar
{'fraction_non_alphanumeric': 0.17244405440982888, 'fraction_numerical': 0.017990346643264588, 'mean_word_length': 3.049733570159858, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6751188', 'n_tokens_mistral': 993, 'n_tokens_neox': 976, 'n_words': 195}