move devel scripts

- moved bin/helpers to bin/devel/helpers
- moved bin/update-formats.sh bin/devel/update-formats.sh
This commit is contained in:
Doug Bird 2018-06-21 18:06:57 -07:00
parent 9a1f4697c4
commit 6779448cb8
14 changed files with 26 additions and 26 deletions

View File

@ -19,8 +19,8 @@ const tmp = require('tmp');
//tmp.setGracefulCleanup();
const fileTldDescJs = path.dirname(require.main.filename) + '/../../formats/js/tld-enum/desc.js';
const fileTldsCsv = path.dirname(require.main.filename) + '/../../tlds.csv';
const fileTldDescJs = path.dirname(require.main.filename) + '/../../../formats/js/tld-enum/desc.js';
const fileTldsCsv = path.dirname(require.main.filename) + '/../../../tlds.csv';
program
.option('-q, --quiet', 'Quiet Mode')

View File

@ -19,8 +19,8 @@ const tmp = require('tmp');
//tmp.setGracefulCleanup();
const fileTldInfoJs = path.dirname(require.main.filename) + '/../../formats/js/tld-enum/info.js';
const fileTldsCsv = path.dirname(require.main.filename) + '/../../tlds.csv';
const fileTldInfoJs = path.dirname(require.main.filename) + '/../../../formats/js/tld-enum/info.js';
const fileTldsCsv = path.dirname(require.main.filename) + '/../../../tlds.csv';
program
.option('-q, --quiet', 'Quiet Mode')

View File

@ -17,8 +17,8 @@ const pathinfo = require('pathinfo');
const program = require('commander');
const tmp = require('tmp');
const fileTldListJs = path.dirname(require.main.filename) + '/../../formats/js/tld-enum/list.js';
const fileTldsCsv = path.dirname(require.main.filename) + '/../../tlds.csv';
const fileTldListJs = path.dirname(require.main.filename) + '/../../../formats/js/tld-enum/list.js';
const fileTldsCsv = path.dirname(require.main.filename) + '/../../../tlds.csv';
program
.option('-q, --quiet', 'Quiet Mode')

View File

@ -19,8 +19,8 @@ const tmp = require('tmp');
//tmp.setGracefulCleanup();
const fileTldTypeJs = path.dirname(require.main.filename) + '/../../formats/js/tld-enum/type.js';
const fileTldsCsv = path.dirname(require.main.filename) + '/../../tlds.csv';
const fileTldTypeJs = path.dirname(require.main.filename) + '/../../../formats/js/tld-enum/type.js';
const fileTldsCsv = path.dirname(require.main.filename) + '/../../../tlds.csv';
program
.option('-q, --quiet', 'Quiet Mode')

View File

@ -19,8 +19,8 @@ const tmp = require('tmp');
//tmp.setGracefulCleanup();
const fileTldDescJs = path.dirname(require.main.filename) + '/../../formats/json/tld-desc.json';
const fileTldsCsv = path.dirname(require.main.filename) + '/../../tlds.csv';
const fileTldDescJs = path.dirname(require.main.filename) + '/../../../formats/json/tld-desc.json';
const fileTldsCsv = path.dirname(require.main.filename) + '/../../../tlds.csv';
program
.option('-q, --quiet', 'Quiet Mode')

View File

@ -19,8 +19,8 @@ const tmp = require('tmp');
//tmp.setGracefulCleanup();
const fileTldInfoJs = path.dirname(require.main.filename) + '/../../formats/json/tld-info.json';
const fileTldsCsv = path.dirname(require.main.filename) + '/../../tlds.csv';
const fileTldInfoJs = path.dirname(require.main.filename) + '/../../../formats/json/tld-info.json';
const fileTldsCsv = path.dirname(require.main.filename) + '/../../../tlds.csv';
program
.option('-q, --quiet', 'Quiet Mode')

View File

@ -19,8 +19,8 @@ const tmp = require('tmp');
tmp.setGracefulCleanup();
const fileTldListJson = path.dirname(require.main.filename) + '/../../formats/json/tld-list.json';
const fileTldsCsv = path.dirname(require.main.filename) + '/../../tlds.csv';
const fileTldListJson = path.dirname(require.main.filename) + '/../../../formats/json/tld-list.json';
const fileTldsCsv = path.dirname(require.main.filename) + '/../../../tlds.csv';
program
.option('-q, --quiet', 'Quiet Mode')

View File

@ -19,8 +19,8 @@ const tmp = require('tmp');
//tmp.setGracefulCleanup();
const fileTldTypeJs = path.dirname(require.main.filename) + '/../../formats/json/tld-type.json';
const fileTldsCsv = path.dirname(require.main.filename) + '/../../tlds.csv';
const fileTldTypeJs = path.dirname(require.main.filename) + '/../../../formats/json/tld-type.json';
const fileTldsCsv = path.dirname(require.main.filename) + '/../../../tlds.csv';
program
.option('-q, --quiet', 'Quiet Mode')

View File

@ -2,8 +2,8 @@
<?php
new class() {
const ME_NAME = 'generate-php-tld-desc.php';
const TLDS_CSV_PATH = __DIR__ . '/../../tlds.csv';
const TLD_DESC_PATH = __DIR__ . '/../../formats/php/TldEnum/TldDesc.php';
const TLDS_CSV_PATH = __DIR__ . '/../../../tlds.csv';
const TLD_DESC_PATH = __DIR__ . '/../../../formats/php/TldEnum/TldDesc.php';
private static $_quietMode = false;
public function __construct() {
$opt = getopt ( "q",['quiet']);

View File

@ -2,8 +2,8 @@
<?php
new class() {
const ME_NAME = 'generate-php-tld-info.php';
const TLDS_CSV_PATH = __DIR__ . '/../../tlds.csv';
const TLD_INFO_PATH = __DIR__ . '/../../formats/php/TldEnum/TldInfo.php';
const TLDS_CSV_PATH = __DIR__ . '/../../../tlds.csv';
const TLD_INFO_PATH = __DIR__ . '/../../../formats/php/TldEnum/TldInfo.php';
private static $_quietMode = false;
public function __construct() {
$opt = getopt ( "q",['quiet']);

View File

@ -2,8 +2,8 @@
<?php
new class() {
const ME_NAME = 'generate-php-tld-list.php';
const TLDS_CSV_PATH = __DIR__ . '/../../tlds.csv';
const TLD_ENUM_PATH = __DIR__ . '/../../formats/php/TldEnum/TldList.php';
const TLDS_CSV_PATH = __DIR__ . '/../../../tlds.csv';
const TLD_ENUM_PATH = __DIR__ . '/../../../formats/php/TldEnum/TldList.php';
private static $_quietMode = false;
public function __construct() {
$opt = getopt ( "q",['quiet']);

View File

@ -2,8 +2,8 @@
<?php
new class() {
const ME_NAME = 'generate-php-tld-type.php';
const TLDS_CSV_PATH = __DIR__ . '/../../tlds.csv';
const TLD_TYPE_PATH = __DIR__ . '/../../formats/php/TldEnum/TldType.php';
const TLDS_CSV_PATH = __DIR__ . '/../../../tlds.csv';
const TLD_TYPE_PATH = __DIR__ . '/../../../formats/php/TldEnum/TldType.php';
private static $_quietMode = false;
public function __construct() {
$opt = getopt ( "q",['quiet']);

View File

@ -22,8 +22,8 @@ const tmp = require('tmp');
tmp.setGracefulCleanup();
const fileTldDescCsv = path.dirname(require.main.filename) + '/../../assets/tld-desc.csv';
const fileTldsCsv = path.dirname(require.main.filename) + '/../../tlds.csv';
const fileTldDescCsv = path.dirname(require.main.filename) + '/../../../assets/tld-desc.csv';
const fileTldsCsv = path.dirname(require.main.filename) + '/../../../tlds.csv';
const urlTldsAlpha = 'http://data.iana.org/TLD/tlds-alpha-by-domain.txt';
const urlDomainsDb = 'https://www.iana.org/domains/root/db';