<commit_before>#-  GNU Makefile

#-  Makefile ~~
#
#   This contains live instructions for working with SQLite from Node.js.
#
#                                                       ~~ (c) SRW, 20 Feb 2012

include $(CODEBANK)/src/Make/lib/srw.make

GIT     :=  $(call contingent, git)
NODE    :=  $(call contingent, node)
SQLITE  :=  $(call contingent, sqlite3)

REPO    :=  https://github.com/developmentseed/node-sqlite3.git
SRC     :=  jslint.js json2.js quanah.js qmachine.js
MAINJS  :=  main.js
SQLDB   :=  main.db

CAT     :=  $(call contingent, cat)
CD      :=  $(call contingent, cd)
CP      :=  $(call contingent, cp) -vrf
CURL    :=  $(call contingent, curl) #-sS
MKDIR   :=  $(call contingent, mkdir)
RM      :=  $(call contingent, rm) -rf

define run-each
    $(NODE) $(MAINJS) $(QARGS)
endef<commit_msg>Linked the Makefile to the repository copy of my Make macros (rather than my personal copy)<commit_after>#-  GNU Makefile

#-  Makefile ~~
#
#   This contains live instructions for working with SQLite from Node.js.
#
#                                                       ~~ (c) SRW, 20 Feb 2012

include ../tools/macros.make

GIT     :=  $(call contingent, git)
NODE    :=  $(call contingent, node)
SQLITE  :=  $(call contingent, sqlite3)

REPO    :=  https://github.com/developmentseed/node-sqlite3.git
SRC     :=  jslint.js json2.js quanah.js qmachine.js
MAINJS  :=  main.js
SQLDB   :=  main.db

CAT     :=  $(call contingent, cat)
CD      :=  $(call contingent, cd)
CP      :=  $(call contingent, cp) -vrf
CURL    :=  $(call contingent, curl) #-sS
MKDIR   :=  $(call contingent, mkdir)
RM      :=  $(call contingent, rm) -rf

define run-each
    $(NODE) $(MAINJS) $(QARGS)
endef
{'fraction_non_alphanumeric': 0.13815402704291593, 'fraction_numerical': 0.010582010582010581, 'mean_word_length': 2.3636363636363638, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5247809', 'n_tokens_mistral': 602, 'n_tokens_neox': 563, 'n_words': 168}