diff --git a/.gitignore b/.gitignore index e71e79f..625b226 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ .* !/.gitignore /vendor/ +/node_modules/ composer.lock *.log !**.gitkeep diff --git a/bin/helpers/generate-js-tld-enum.js b/bin/helpers/generate-js-tld-enum.js index 5d52554..f62717e 100644 --- a/bin/helpers/generate-js-tld-enum.js +++ b/bin/helpers/generate-js-tld-enum.js @@ -2,4 +2,6 @@ console.log("generates the 'tld-enum.js' node source file from the 'tlds.csv' csv file"); console.log("---this script is currently a 'to-do' placeholder!---"); -console.error("terminating... the development for the 'JSON' format generator has not yet been completed"); \ No newline at end of file +console.error("terminating... the development for the 'JSON' format generator has not yet been completed"); + +process.exit(1); \ No newline at end of file diff --git a/bin/helpers/generate-json-tld-enum.js b/bin/helpers/generate-json-tld-enum.js index 8789afd..9512af4 100644 --- a/bin/helpers/generate-json-tld-enum.js +++ b/bin/helpers/generate-json-tld-enum.js @@ -1,4 +1,7 @@ #!/usr/bin/env node + console.log("generates the 'tld-list.json' JSON array file from the 'tlds.csv' csv file"); console.log("---this script is currently a 'to-do' placeholder!---"); -console.error("terminating... the development for the 'JSON' format generator has not yet been completed"); \ No newline at end of file +console.error("terminating... the development for the 'JSON' format generator has not yet been completed"); + +process.exit(1); \ No newline at end of file diff --git a/bin/helpers/generate-tlds-csv.js b/bin/helpers/generate-tlds-csv.js index 4f385af..0426e7d 100644 --- a/bin/helpers/generate-tlds-csv.js +++ b/bin/helpers/generate-tlds-csv.js @@ -1,5 +1,9 @@ #!/usr/bin/env node +console.log("generates the canonical 'tlds.csv' csv file"); console.log("downloads the 'http://data.iana.org/TLD/tlds-alpha-by-domain.txt' file and cross references it with https://www.iana.org/domains/root/db to re-generate the 'tlds.csv' csv file"); + console.log("---this script is currently a 'to-do' placeholder!---"); -console.error("terminating... the development for the 'JSON' format generator has not yet been completed"); \ No newline at end of file +console.error("terminating... the development for the canonical 'tlds.csv' generator has not yet been completed"); + +process.exit(1); \ No newline at end of file