18 files changed
+82
-51
No files matched your search
@@ -56,7 +56,7 @@
|
||||
"OK_to_edit" : true,
|
||||
"display_as" : "c",
|
||||
"display_via_github" : true,
|
||||
"winners_text" : "head file for system who lack it"
|
||||
"winners_text" : "header file for gentab.c for compatibility with 1984 systems"
|
||||
},
|
||||
{
|
||||
"file_path" : "gentab.c",
|
||||
|
||||
@@ -549,7 +549,7 @@ href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1984/mullender/mu
|
||||
- original source</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1984/mullender/a.out.h">a.out.h</a>
|
||||
- head file for system who lack it</li>
|
||||
- header file for gentab.c for compatibility with 1984 systems</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1984/mullender/gentab.c">gentab.c</a>
|
||||
- author tool to create constants</li>
|
||||
|
||||
@@ -42,6 +42,14 @@
|
||||
"display_via_github" : true,
|
||||
"winners_text" : "original source"
|
||||
},
|
||||
{
|
||||
"file_path" : "try.sh",
|
||||
"inventory_order" : 100,
|
||||
"OK_to_edit" : true,
|
||||
"display_as" : "shellscript",
|
||||
"display_via_github" : true,
|
||||
"winners_text" : "how to run"
|
||||
},
|
||||
{
|
||||
"file_path" : "2000_briddlebane.tar.bz2",
|
||||
"inventory_order" : 300,
|
||||
|
||||
@@ -127,6 +127,10 @@ href="/temp-test-ioccc/location.html#ZZ">ZZ</a></p>
|
||||
<h2 id="try">Try:</h2>
|
||||
<p>For some fun every time you log in try running this from your
|
||||
<code>.bashrc</code> or equivalent file!</p>
|
||||
<p>You might also like to try:</p>
|
||||
<div class="sourceCode" id="cb3"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a><span class="ex">./try.sh</span></span>
|
||||
<span id="cb3-2"><a href="#cb3-2" aria-hidden="true" tabindex="-1"></a></span>
|
||||
<span id="cb3-3"><a href="#cb3-3" aria-hidden="true" tabindex="-1"></a><span class="va">INSULTS</span><span class="op">=</span>15 <span class="ex">./try.sh</span></span></code></pre></div>
|
||||
<h2 id="judges-remarks">Judges’ remarks:</h2>
|
||||
<p>One could argue that this program was a “diseased dumpster of tripe”
|
||||
but I suspect that would only result in the judges being heckled as a
|
||||
@@ -175,6 +179,9 @@ href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2000/briddlebane/
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2000/briddlebane/briddlebane.orig.c">briddlebane.orig.c</a>
|
||||
- original source</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2000/briddlebane/try.sh">try.sh</a>
|
||||
- how to run</li>
|
||||
<li><a href="2000_briddlebane.tar.bz2">2000_briddlebane.tar.bz2</a> -
|
||||
download winning source</li>
|
||||
</ul>
|
||||
|
||||
@@ -128,6 +128,11 @@ href="/temp-test-ioccc/location.html#US">US</a></p>
|
||||
<p>If you have a long while to spare (and you’re bored enough that you
|
||||
could watch paint dry :-) ) you might also try:</p>
|
||||
<div class="sourceCode" id="cb4"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true" tabindex="-1"></a><span class="ex">./try.sh</span></span></code></pre></div>
|
||||
<p>Alternatively, you can check on it later on, to see all the entry
|
||||
does. Or if you wish to make it run faster, you can override how long it
|
||||
sleeps per iterations and how many iterations it runs. For instance to
|
||||
make it sleep only 30 seconds and run only twice:</p>
|
||||
<div class="sourceCode" id="cb5"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a><span class="va">SLEEP</span><span class="op">=</span>30 <span class="va">ITERATIONS</span><span class="op">=</span>2 <span class="ex">./try.sh</span></span></code></pre></div>
|
||||
<h2 id="judges-remarks">Judges’ remarks:</h2>
|
||||
<p>Very nice play by the rules and portable text obfuscation. This far
|
||||
surpasses old tricks like adding or subtracting 1 from every character
|
||||
|
||||
@@ -41,6 +41,14 @@
|
||||
"display_via_github" : true,
|
||||
"winners_text" : "original source"
|
||||
},
|
||||
{
|
||||
"file_path" : "try.sh",
|
||||
"inventory_order" : 100,
|
||||
"OK_to_edit" : true,
|
||||
"display_as" : "shellscript",
|
||||
"display_via_github" : true,
|
||||
"winners_text" : "how to run"
|
||||
},
|
||||
{
|
||||
"file_path" : "2001_coupard.tar.bz2",
|
||||
"inventory_order" : 300,
|
||||
|
||||
+6
-11
@@ -122,15 +122,7 @@ href="/temp-test-ioccc/location.html#ZZ">ZZ</a></p>
|
||||
<h2 id="to-use">To use:</h2>
|
||||
<div class="sourceCode" id="cb2"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="ex">./coupard</span></span></code></pre></div>
|
||||
<h2 id="try">Try:</h2>
|
||||
<p>If you have access to <code>/dev/audio</code> or
|
||||
<code>/dev/sound/dsp</code>:</p>
|
||||
<div class="sourceCode" id="cb3"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a><span class="ex">./coupard</span> <span class="op">></span> /dev/audio</span>
|
||||
<span id="cb3-2"><a href="#cb3-2" aria-hidden="true" tabindex="-1"></a><span class="ex">./coupard</span> <span class="op">></span> /dev/sound/dsp</span></code></pre></div>
|
||||
<p>If you do not, first install <a
|
||||
href="https://en.wikipedia.org/wiki/SoX">sox</a>. If you use macOS you
|
||||
might install it from <a href="https://www.macports.org">MacPorts</a> or
|
||||
<a href="https://brew.sh">Homebrew</a>. Then you can try:</p>
|
||||
<div class="sourceCode" id="cb4"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true" tabindex="-1"></a><span class="ex">./coupard</span> <span class="kw">|</span> <span class="fu">sox</span> <span class="at">-q</span> <span class="at">-traw</span> <span class="at">-r8000</span> <span class="at">-b8</span> <span class="at">-e</span> unsigned-integer <span class="at">-</span> <span class="at">-tcoreaudio</span></span></code></pre></div>
|
||||
<div class="sourceCode" id="cb3"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a><span class="ex">./try.sh</span></span></code></pre></div>
|
||||
<h2 id="judges-remarks">Judges’ remarks:</h2>
|
||||
<p>You may need to run this a few times to understand exactly what is
|
||||
being said. You might even need to look somewhere on your desktop, your
|
||||
@@ -156,7 +148,7 @@ that is supported by the majority of Unices that can do sound, as a
|
||||
lowest-denominator sound I/O interface.</p>
|
||||
<h3 id="program-usage">Program usage</h3>
|
||||
<p>To listen to what the program says directly, invoke</p>
|
||||
<div class="sourceCode" id="cb5"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a><span class="ex">./coupard</span> <span class="op">></span> /dev/audio</span></code></pre></div>
|
||||
<div class="sourceCode" id="cb4"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true" tabindex="-1"></a><span class="ex">./coupard</span> <span class="op">></span> /dev/audio</span></code></pre></div>
|
||||
<p>The program then speaks out something like</p>
|
||||
<blockquote>
|
||||
<p>The time is HH hours MM minutes SS seconds</p>
|
||||
@@ -169,7 +161,7 @@ audio format, you can pipe it to <a
|
||||
href="https://en.wikipedia.org/wiki/SoX">SoX</a> for example
|
||||
(<code>sox</code> is the Swiss army knife of Unix audio tools). The
|
||||
command:</p>
|
||||
<div class="sourceCode" id="cb6"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb6-1"><a href="#cb6-1" aria-hidden="true" tabindex="-1"></a><span class="ex">./coupard</span> <span class="kw">|</span> <span class="fu">sox</span> <span class="at">-c1</span> <span class="at">-r8000</span> <span class="at">-tub</span> <span class="at">-</span> <span class="at">-c2</span> <span class="at">-r44100</span> <span class="at">-twav</span> test.wav</span></code></pre></div>
|
||||
<div class="sourceCode" id="cb5"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a><span class="ex">./coupard</span> <span class="kw">|</span> <span class="fu">sox</span> <span class="at">-c1</span> <span class="at">-r8000</span> <span class="at">-tub</span> <span class="at">-</span> <span class="at">-c2</span> <span class="at">-r44100</span> <span class="at">-twav</span> test.wav</span></code></pre></div>
|
||||
<p>converts the output of the program into a 44.1KHz stereo .WAV file
|
||||
and saves it into <code>test.wav</code>.</p>
|
||||
<p>The output format of the program is 8KHz, unsigned 8-bit samples.</p>
|
||||
@@ -254,6 +246,9 @@ href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2001/coupard/Make
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2001/coupard/coupard.orig.c">coupard.orig.c</a>
|
||||
- original source</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2001/coupard/try.sh">try.sh</a>
|
||||
- how to run</li>
|
||||
<li><a href="2001_coupard.tar.bz2">2001_coupard.tar.bz2</a> - download
|
||||
winning source</li>
|
||||
</ul>
|
||||
|
||||
@@ -143,10 +143,6 @@ the change.</p>
|
||||
:-) ). It’s a very simple thing to do. Read the author’s remarks for
|
||||
clues.</p>
|
||||
<p>This game crashes if it loses.</p>
|
||||
<p>This is supposed to happen. As is written in the <a
|
||||
href="http://catb.org/jargon/html/F/feature.html">The Jargon
|
||||
File</a>:</p>
|
||||
<pre><code>That's not a bug, that's a feature.</code></pre>
|
||||
<h2 id="judges-remarks">Judges’ remarks:</h2>
|
||||
<p>This is probably the worst AI we’ve ever seen. So, then, why did the
|
||||
entry win? Because it’s <em>trying</em> to lose.</p>
|
||||
|
||||
@@ -126,7 +126,8 @@ href="#alternate-code">alternate code</a> below.</p>
|
||||
<h3 id="bugs-and-misfeatures">Bugs and (Mis)features:</h3>
|
||||
<p>The current status of this entry is:</p>
|
||||
<pre><code>STATUS: uses gets() - change to fgets() if possible
|
||||
STATUS: missing files - please provide them</code></pre>
|
||||
STATUS: missing files - please provide them
|
||||
STATUS: main() has only one arg - try and make it have 2 or 3</code></pre>
|
||||
<p>For more detailed information see <a
|
||||
href="/bugs.md#2001-westley">2001 westley in bugs.md</a>.</p>
|
||||
<h2 id="to-use">To use:</h2>
|
||||
|
||||
@@ -124,7 +124,9 @@ href="/temp-test-ioccc/location.html#FR">FR</a></p>
|
||||
href="https://www.w3.org/TR/SVG11/expanded-toc.html">SVG</a> viewer or a
|
||||
converter like <a
|
||||
href="https://imagemagick.org/index.php">ImageMagick</a>’s
|
||||
<code>convert</code>.</p>
|
||||
<code>convert</code>. See <a href="/faq.md#imagemagick">FAQ 3.17 - How
|
||||
do I compile and install ImageMagick for entries that require
|
||||
it?</a>.</p>
|
||||
<p>Look here to find some <a
|
||||
href="https://www.w3.org/Graphics/SVG/WG/wiki/Implementations">SVG
|
||||
Viewer Implementations</a>.</p>
|
||||
|
||||
@@ -117,9 +117,9 @@ Location: <a href="/temp-test-ioccc/location.html#FI">FI</a></p>
|
||||
|
||||
<!-- END: next line ends content generated by: bin/gen-author.sh -->
|
||||
<h2 id="to-build">To build:</h2>
|
||||
<p>This entry requires SDL to be installed.</p>
|
||||
<p>See the <a href="/faq.md">FAQ</a> for information on how to install
|
||||
it if you haven’t already.</p>
|
||||
<p>This entry requires SDL. See <a href="/faq.md#SDL">3.8 - How do I
|
||||
compile an IOCCC winner that requires SDL1 or SDL2?</a> for information
|
||||
on how to install it if you haven’t already.</p>
|
||||
<p>If you have SDL installed:</p>
|
||||
<div class="sourceCode" id="cb1"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="fu">make</span></span></code></pre></div>
|
||||
<h2 id="to-use">To use:</h2>
|
||||
|
||||
@@ -218,7 +218,7 @@ clean:
|
||||
|
||||
clobber: clean
|
||||
${RM} -f ${TARGET} ${ALT_TARGET}
|
||||
${RM} -rf *.dSYM
|
||||
${RM} -rf *.dSYM *.gif
|
||||
${RM} -f ${PROG}.html
|
||||
@-if [ -e sandwich ]; then \
|
||||
${RM} -f sandwich; \
|
||||
|
||||
+3
-1
@@ -35,7 +35,7 @@
|
||||
1984,mullender,Makefile,30,true,makefile,true,winner Makefile
|
||||
1984,mullender,mullender.alt.c,40,true,c,true,alternative source
|
||||
1984,mullender,mullender.orig.c,50,false,c,true,original source
|
||||
1984,mullender,a.out.h,150,true,c,true,head file for system who lack it
|
||||
1984,mullender,a.out.h,150,true,c,true,header file for gentab.c for compatibility with 1984 systems
|
||||
1984,mullender,gentab.c,150,true,c,true,author tool to create constants
|
||||
1984,mullender,1984_mullender.tar.bz2,300,false,tbz2,false,download winning source
|
||||
1984,mullender,README.md,4294967295,true,markdown,true,markdown source for index.html
|
||||
@@ -1542,6 +1542,7 @@
|
||||
2000,briddlebane,briddlebane.c,20,true,c,true,winning source
|
||||
2000,briddlebane,Makefile,30,true,makefile,true,winner Makefile
|
||||
2000,briddlebane,briddlebane.orig.c,50,false,c,true,original source
|
||||
2000,briddlebane,try.sh,100,true,shellscript,true,how to run
|
||||
2000,briddlebane,2000_briddlebane.tar.bz2,300,false,tbz2,false,download winning source
|
||||
2000,briddlebane,README.md,4294967295,true,markdown,true,markdown source for index.html
|
||||
2000,briddlebane,.gitignore,4294967295,true,gitignore,true,list of files that should not be committed under git
|
||||
@@ -1690,6 +1691,7 @@
|
||||
2001,coupard,coupard.c,20,true,c,true,winning source
|
||||
2001,coupard,Makefile,30,true,makefile,true,winner Makefile
|
||||
2001,coupard,coupard.orig.c,50,false,c,true,original source
|
||||
2001,coupard,try.sh,100,true,shellscript,true,how to run
|
||||
2001,coupard,2001_coupard.tar.bz2,300,false,tbz2,false,download winning source
|
||||
2001,coupard,README.md,4294967295,true,markdown,true,markdown source for index.html
|
||||
2001,coupard,.gitignore,4294967295,true,gitignore,true,list of files that should not be committed under git
|
||||
|
||||
|
Binary file not shown.
@@ -1396,6 +1396,7 @@
|
||||
2000/briddlebane/briddlebane.c
|
||||
2000/briddlebane/briddlebane.orig.c
|
||||
2000/briddlebane/index.html
|
||||
2000/briddlebane/try.sh
|
||||
2000/dhyang/.gitignore
|
||||
2000/dhyang/.path
|
||||
2000/dhyang/.winner.json
|
||||
@@ -1530,6 +1531,7 @@
|
||||
2001/coupard/coupard.c
|
||||
2001/coupard/coupard.orig.c
|
||||
2001/coupard/index.html
|
||||
2001/coupard/try.sh
|
||||
2001/ctk/.gitignore
|
||||
2001/ctk/.path
|
||||
2001/ctk/.winner.json
|
||||
|
||||
@@ -1546,6 +1546,7 @@
|
||||
2000/briddlebane/briddlebane.c
|
||||
2000/briddlebane/briddlebane.orig.c
|
||||
2000/briddlebane/index.html
|
||||
2000/briddlebane/try.sh
|
||||
2000/dhyang/.gitignore
|
||||
2000/dhyang/.path
|
||||
2000/dhyang/.winner.json
|
||||
@@ -1694,6 +1695,7 @@
|
||||
2001/coupard/coupard.c
|
||||
2001/coupard/coupard.orig.c
|
||||
2001/coupard/index.html
|
||||
2001/coupard/try.sh
|
||||
2001/ctk/.gitignore
|
||||
2001/ctk/.path
|
||||
2001/ctk/.winner.json
|
||||
|
||||
@@ -1116,6 +1116,7 @@
|
||||
2000/briddlebane/README.md
|
||||
2000/briddlebane/briddlebane.c
|
||||
2000/briddlebane/briddlebane.orig.c
|
||||
2000/briddlebane/try.sh
|
||||
2000/dhyang/.gitignore
|
||||
2000/dhyang/.winner.json
|
||||
2000/dhyang/Makefile
|
||||
@@ -1222,6 +1223,7 @@
|
||||
2001/coupard/README.md
|
||||
2001/coupard/coupard.c
|
||||
2001/coupard/coupard.orig.c
|
||||
2001/coupard/try.sh
|
||||
2001/ctk/.gitignore
|
||||
2001/ctk/.winner.json
|
||||
2001/ctk/Makefile
|
||||
|
||||
+28
-27
@@ -106,20 +106,24 @@ if ! cd "$TOPDIR"; then
|
||||
fi
|
||||
|
||||
# I have found problems using git rev-parse to verify that we're in a git repo
|
||||
# plus we need the user to see git status anyway so use git status instead.
|
||||
# and we need the user to see git status anyway so use git status instead.
|
||||
if ! "$GIT" status 1>&2; then
|
||||
echo "$USAGE" 1>&2
|
||||
echo 1>&2
|
||||
echo "$(basename "$0"): ERROR: ${PWD} is not a git repository" 1>&2
|
||||
echo "ERROR: ${PWD} is not a git repository" 1>&2
|
||||
exit 3
|
||||
fi
|
||||
|
||||
echo 1>&2
|
||||
echo "NOTE: manifest.numbers and manifest.csv may be modified here but nothing else" 1>&2
|
||||
echo "may be and no new files may be staged for commit either:" 1>&2
|
||||
echo "NOTE: manifest.numbers and manifest.csv may be modified here BUT NOTHING ELSE" 1>&2
|
||||
echo "MAY BE (UNLESS RERUNNING THIS SCRIPT AFTER FIXING A PROBLEM: then related files" 1>&2
|
||||
echo "in /tmp/ may be modified BUT ONLY FILES RELEVANT TO THE MANIFEST!). NO NEW FILES" 1>&2
|
||||
echo "MAY BE STAGED FOR COMMIT EITHER!" 1>&2
|
||||
read -r -p "Do you have a clean state from git status (Y/N)? "
|
||||
if [[ "$REPLY" != "Y" && "$REPLY" != "y" ]]; then
|
||||
echo "$0: exiting 4 due to user telling us there's a problem." 1>&2
|
||||
echo 1>&2
|
||||
echo "exiting 4 due to user telling us that manifest.numbers and/or" 1>&2
|
||||
echo "manifest.csv NOT UPDATED." 1>&2
|
||||
exit 4
|
||||
fi
|
||||
|
||||
@@ -129,7 +133,7 @@ echo "Showing branches: " 1>&2
|
||||
"$GIT" branch 1>&2
|
||||
read -r -p "Are you on the right branch (Y/N)? "
|
||||
if [[ "$REPLY" != "Y" && "$REPLY" != "y" ]]; then
|
||||
echo "$0: exiting 4 due to user telling us there's a problem." 1>&2
|
||||
echo "exiting 4 due to user telling us they're on the WRONG BRANCH." 1>&2
|
||||
exit 4
|
||||
fi
|
||||
|
||||
@@ -143,7 +147,7 @@ fi
|
||||
# now check that manifest.csv is a regular readable file
|
||||
#
|
||||
if [[ ! -f manifest.csv || ! -r manifest.csv ]]; then
|
||||
echo "$0: manifest.csv does not exist or not a regular readable file" 1>&2
|
||||
echo "manifest.csv does not exist or not a regular readable file" 1>&2
|
||||
exit 3
|
||||
fi
|
||||
|
||||
@@ -152,27 +156,23 @@ fi
|
||||
echo "We will now try and update the manifest files. Are you sure that you updated" 1>&2
|
||||
read -r -p "AND sorted the manifest.numbers spreadsheet AND exported to manifest.csv (Y/N)? "
|
||||
if [[ "$REPLY" != "y" && "$REPLY" != "Y" ]]; then
|
||||
echo "$0: exiting 4 due to user not updating manifest files before running this tool" 1>&2
|
||||
echo "exiting 4 due to user not updating manifest files before running this tool" 1>&2
|
||||
exit 4
|
||||
fi
|
||||
|
||||
# run ./fix_csv.sh first
|
||||
#
|
||||
if [[ "$V_FLAG" -gt 0 ]]; then
|
||||
echo "$0: debug[1]: about to run: ./fix_csv.sh -v $CAP_D_FLAG" 1>&2
|
||||
fi
|
||||
echo "$(basename "$0"): now will run: ./fix_csv.sh -v $CAP_D_FLAG" 1>&2
|
||||
if ! ./fix_csv.sh -v "$CAP_D_FLAG" ; then
|
||||
echo "$0: fix_csv.sh failed, try updating manifest.csv and try again." 1>&2
|
||||
echo "fix_csv.sh failed, try updating manifest.csv and try again." 1>&2
|
||||
exit 5
|
||||
fi
|
||||
|
||||
# run ./gen_path_list.found.sh
|
||||
#
|
||||
if [[ "$V_FLAG" -gt 0 ]]; then
|
||||
echo "$0: debug[1]: about to run: ./gen_path_list.found.sh -v $CAP_D_FLAG" 1>&2
|
||||
fi
|
||||
echo "$(basename "$0"): now will run: ./gen_path_list.found.sh -v $CAP_D_FLAG" 1>&2
|
||||
if ! ./gen_path_list.found.sh -v "$CAP_D_FLAG" ; then
|
||||
echo "$0: gen_path_list.found.sh failed, try updating manifest.csv and try again." 1>&2
|
||||
echo "gen_path_list.found.sh failed, try updating manifest.csv and try again." 1>&2
|
||||
exit 5
|
||||
fi
|
||||
|
||||
@@ -184,15 +184,16 @@ echo 1>&2
|
||||
|
||||
read -r -p "Does everything look okay (Y/N)? "
|
||||
if [[ "$REPLY" != "y" && "$REPLY" != "Y" ]]; then
|
||||
echo "$0: exiting 4 due to user telling us there's a problem." 1>&2
|
||||
echo "exiting 4 due to user telling us that git diff path_list.found.txt DOES" 1>&2
|
||||
echo "NOT LOOK OKAY." 1>&2
|
||||
exit 4
|
||||
fi
|
||||
|
||||
# run ./check_path_list.sh
|
||||
#
|
||||
echo "$0: now will run: ./check_path_list.sh -v $CAP_D_FLAG" 1>&2
|
||||
echo "$(basename "$0"): now will run: ./check_path_list.sh -v $CAP_D_FLAG" 1>&2
|
||||
if ! ./check_path_list.sh -v "$CAP_D_FLAG"; then
|
||||
echo "$0: ./check_path_list.sh failed, try updating manifest.csv and try again." 1>&2
|
||||
echo "check_path_list.sh failed, try updating manifest.csv and try again." 1>&2
|
||||
exit 5
|
||||
fi
|
||||
|
||||
@@ -241,10 +242,10 @@ else
|
||||
fi
|
||||
|
||||
echo 1>&2
|
||||
echo "now will run ./run_all.sh -v $CAP_D_FLAG ./gen_winner_json.sh" 1>&2
|
||||
echo "$(basename "$0"): now will run ./run_all.sh -v $CAP_D_FLAG ./gen_winner_json.sh" 1>&2
|
||||
echo "NOTE: this step will take a while." 1>&2
|
||||
if ! ./run_all.sh -v "$CAP_D_FLAG" ./gen_winner_json.sh; then
|
||||
echo "$0: problem with ./run_all.sh, fix manifest and try again." 1>&2
|
||||
echo "problem with ./run_all.sh, fix manifest and try again." 1>&2
|
||||
exit 5
|
||||
fi
|
||||
|
||||
@@ -297,19 +298,19 @@ cd ..
|
||||
read -r -n 1 -p "Press any key to continue: "
|
||||
echo 1>&2
|
||||
|
||||
echo "Will now update index.html files." 1>&2
|
||||
echo "$(basename "$0"): will now update index.html files." 1>&2
|
||||
read -r -p "Do you wish to use quick-readme2index.sh (Y/N)? "
|
||||
if [[ "$REPLY" != "Y" && "$REPLY" != "y" ]]; then
|
||||
echo "$0: now will run: bin/all-run.sh -v $CAP_D_FLAG bin/readme2index.sh -v $CAP_D_FLAG" 1>&2
|
||||
echo "$(basename "$0"): now will run: bin/all-run.sh -v $CAP_D_FLAG bin/readme2index.sh -v $CAP_D_FLAG" 1>&2
|
||||
if ! bin/all-run.sh -v "$CAP_D_FLAG" bin/readme2index.sh -v "$CAP_D_FLAG"; then
|
||||
echo "$0: problem running bin/all-run bin/readme2index.sh, fix and try again." 1>&2
|
||||
echo "problem running bin/all-run bin/readme2index.sh, fix and try again." 1>&2
|
||||
exit 5
|
||||
fi
|
||||
else
|
||||
echo "$0: now will run: bin/all-run.sh -v $CAP_D_FLAG bin/quick-readme2index.sh -v $CAP_D_FLAG"
|
||||
echo "$(basename "$0"): now will run: bin/all-run.sh -v $CAP_D_FLAG bin/quick-readme2index.sh -v $CAP_D_FLAG"
|
||||
echo "NOTE: this will take a while." 1>&2
|
||||
if ! bin/all-run.sh -v "$CAP_D_FLAG" bin/quick-readme2index.sh -v "$CAP_D_FLAG"; then
|
||||
echo "$0: problem running bin/all-run bin bin/quick-readme2index.sh, fix and try again." 1>&2
|
||||
echo "problem running bin/all-run bin bin/quick-readme2index.sh, fix and try again." 1>&2
|
||||
exit 5
|
||||
fi
|
||||
fi
|
||||
@@ -321,7 +322,7 @@ echo 1>&2
|
||||
|
||||
read -r -p "Does everything look okay (Y/N)? "
|
||||
if [[ "$REPLY" != "Y" && "$REPLY" != "y" ]]; then
|
||||
echo "$0: exiting 4 due to user telling us there's a problem." 1>&2
|
||||
echo "$0: exiting 4 due to user telling us git diff DOES NOT LOOK OKAY." 1>&2
|
||||
exit 4
|
||||
fi
|
||||
|
||||
|
||||
Reference in new issue
Block a user