From 2610228c06fc06e779171455729065a1b8c55c16 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Fri, 6 Nov 2020 00:24:18 -0500 Subject: [PATCH] rename stuff, build shell script, include ignore file so routes sql is ignored for clones --- .gitignore | 3 +++ generate_route_sql.sh | 2 ++ generate_sql/{baseline.sql => baseline_old.sql} | 0 generate_sql/{col_baseline.sql => gen_baseline.sql} | 0 runsql.sh | 1 - 5 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .gitignore create mode 100755 generate_route_sql.sh rename generate_sql/{baseline.sql => baseline_old.sql} (100%) rename generate_sql/{col_baseline.sql => gen_baseline.sql} (100%) delete mode 100755 runsql.sh diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2867bf9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +*.swp +*temp* +route_sql/* diff --git a/generate_route_sql.sh b/generate_route_sql.sh new file mode 100755 index 0000000..be0217e --- /dev/null +++ b/generate_route_sql.sh @@ -0,0 +1,2 @@ +$PGD -f generate_sql/gen_baseline.sql +$PGD -c "SELECT t FROM fc.sql WHERE cmd = 'baseline'" -t -A -o route_sql/baseline.sql diff --git a/generate_sql/baseline.sql b/generate_sql/baseline_old.sql similarity index 100% rename from generate_sql/baseline.sql rename to generate_sql/baseline_old.sql diff --git a/generate_sql/col_baseline.sql b/generate_sql/gen_baseline.sql similarity index 100% rename from generate_sql/col_baseline.sql rename to generate_sql/gen_baseline.sql diff --git a/runsql.sh b/runsql.sh deleted file mode 100755 index 4bc0c8b..0000000 --- a/runsql.sh +++ /dev/null @@ -1 +0,0 @@ -$PGD -f sql/col_list.sql -t -A -o coldump