fix source error after reformatting
This commit is contained in:
parent
b2a68cc7ef
commit
3a9a2633bf
40
Makefile
40
Makefile
|
@ -1,6 +1,7 @@
|
||||||
# Build variables
|
# Build variables
|
||||||
BASEBDIR=./build
|
BASEBDIR=./build
|
||||||
BDIR=$(BASEBDIR)
|
BDIR=$(BASEBDIR)
|
||||||
|
TDIR=$(BASEBDIR)/tmp
|
||||||
SDIR=./src
|
SDIR=./src
|
||||||
BNAME=promise-`git show --oneline | head -1 | cut -d" " -f1`
|
BNAME=promise-`git show --oneline | head -1 | cut -d" " -f1`
|
||||||
CONF=default.cfg
|
CONF=default.cfg
|
||||||
|
@ -28,58 +29,59 @@ timestamp: mkbuild
|
||||||
|
|
||||||
mkbuild:
|
mkbuild:
|
||||||
if [ ! -d $(BDIR) ]; then mkdir -p $(BDIR); fi
|
if [ ! -d $(BDIR) ]; then mkdir -p $(BDIR); fi
|
||||||
|
if [ ! -d $(TDIR) ]; then mkdir -p $(TDIR); fi
|
||||||
|
|
||||||
mktemp: mkbuild
|
mktemp: mkbuild
|
||||||
if [ ! -f $(BDIR)/$(TEMP) ]; then cp $(SDIR)/$(SOURCE) $(BDIR)/$(TEMP); fi
|
if [ ! -f $(TDIR)/$(TEMP) ]; then cp $(SDIR)/$(SOURCE) $(TDIR)/$(TEMP); fi
|
||||||
|
|
||||||
wordcount: mktemp
|
wordcount: mktemp
|
||||||
# This only works when you've got
|
# This only works when you've got
|
||||||
sed -i "s;WORDCOUNT;`cat $(SDIR)/chapters/*.tex | wc -w`;g" \
|
sed -i "s;WORDCOUNT;`cat $(SDIR)/chapters/*.tex | wc -w`;g" \
|
||||||
$(BDIR)/$(TEMP)
|
$(TDIR)/$(TEMP)
|
||||||
|
|
||||||
repo: mktemp
|
repo: mktemp
|
||||||
sed -i "s;REPO;`git remote get-url origin`;g" $(BDIR)/$(TEMP)
|
sed -i "s;REPO;`git remote get-url origin`;g" $(TDIR)/$(TEMP)
|
||||||
|
|
||||||
title: mktemp
|
title: mktemp
|
||||||
sed -i "s;PROJECT;$(TITLE);g" $(BDIR)/$(TEMP)
|
sed -i "s;PROJECT;$(TITLE);g" $(TDIR)/$(TEMP)
|
||||||
|
|
||||||
phone: mktemp
|
phone: mktemp
|
||||||
sed -i "s;PHONE;$(PHONE);g" $(BDIR)/$(TEMP)
|
sed -i "s;PHONE;$(PHONE);g" $(TDIR)/$(TEMP)
|
||||||
|
|
||||||
pen: mktemp
|
pen: mktemp
|
||||||
sed -i "s;PENNAME;$(PENNAME);g" $(BDIR)/$(TEMP)
|
sed -i "s;PENNAME;$(PENNAME);g" $(TDIR)/$(TEMP)
|
||||||
# Change the following line's -f# to decide which name to use
|
# Change the following line's -f# to decide which name to use
|
||||||
# LNAME needs to be the family name.
|
# LNAME needs to be the family name.
|
||||||
sed -i "s;SNAME;`echo $(PENNAME) | cut -d" " -f2`;g" $(BDIR)/$(TEMP)
|
sed -i "s;SNAME;`echo $(PENNAME) | cut -d" " -f2`;g" $(TDIR)/$(TEMP)
|
||||||
|
|
||||||
email: mktemp
|
email: mktemp
|
||||||
sed -i "s;EMAIL;$(EMAIL);g" $(BDIR)/$(TEMP)
|
sed -i "s;EMAIL;$(EMAIL);g" $(TDIR)/$(TEMP)
|
||||||
|
|
||||||
3ppn: mktemp
|
3ppn: mktemp
|
||||||
sed -i "s;PRONOUNS;$(PRONOUNS);g" $(BDIR)/$(TEMP)
|
sed -i "s;PRONOUNS;$(PRONOUNS);g" $(TDIR)/$(TEMP)
|
||||||
|
|
||||||
addr: mktemp
|
addr: mktemp
|
||||||
sed -i "s;STREETADDR;$(STREETADDR);g" $(BDIR)/$(TEMP)
|
sed -i "s;STREETADDR;$(STREETADDR);g" $(TDIR)/$(TEMP)
|
||||||
sed -i "s;LASTADDR;$(LASTADDR);g" $(BDIR)/$(TEMP)
|
sed -i "s;LASTADDR;$(LASTADDR);g" $(TDIR)/$(TEMP)
|
||||||
|
|
||||||
lname: mktemp
|
lname: mktemp
|
||||||
sed -i "s;LEGALNAME;$(LEGALNAME);g" $(BDIR)/$(TEMP)
|
sed -i "s;LEGALNAME;$(LEGALNAME);g" $(TDIR)/$(TEMP)
|
||||||
|
|
||||||
template: mktemp wordcount repo title phone pen email 3ppn addr lname
|
template: mktemp wordcount repo title phone pen email 3ppn addr lname
|
||||||
if [ -f $(BDIR)/$(TEMP) ]; \
|
if [ -f $(TDIR)/$(TEMP) ]; \
|
||||||
then mv $(BDIR)/$(TEMP) $(BDIR)/$(SOURCE); \
|
then mv $(TDIR)/$(TEMP) $(TDIR)/$(SOURCE); \
|
||||||
else cp $(SDIR)/$(SOURCE) $(BDIR)/$(SOURCE); \
|
else cp $(SDIR)/$(SOURCE) $(TDIR)/$(SOURCE); \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pdf: template
|
pdf: template
|
||||||
pdflatex -jobname=$(BNAME) -output-directory=$(BDIR) $(BDIR)/$(SOURCE)
|
pdflatex -jobname=$(BNAME) -output-directory=$(BDIR) $(TDIR)/$(SOURCE)
|
||||||
|
|
||||||
epub: template
|
epub: template
|
||||||
tex4ebook -f epub -c $(SDIR)/$(CONF) -j $(BNAME) $(BDIR)/$(SOURCE)
|
tex4ebook -f epub -c $(SDIR)/$(CONF) -j $(BNAME) $(TDIR)/$(SOURCE)
|
||||||
mv $(BNAME).epub $(BDIR)
|
mv $(BNAME).epub $(BDIR)
|
||||||
|
|
||||||
word: template
|
word: template
|
||||||
pandoc $(BDIR)/$(SOURCE) -o $(BDIR)/$(BNAME).docx
|
pandoc $(TDIR)/$(SOURCE) -o $(BDIR)/$(BNAME).docx
|
||||||
|
|
||||||
spellcheck:
|
spellcheck:
|
||||||
for c in $(SDIR)/chapters/*.tex; do aspell -t -c $${c}; done
|
for c in $(SDIR)/chapters/*.tex; do aspell -t -c $${c}; done
|
||||||
|
@ -88,7 +90,7 @@ cleanbuild:
|
||||||
rm -rf $(BDIR)/*.log $(BDIR)/*.aux $(BDIR)/*.toc $(BDIR)/$(TEMP) \
|
rm -rf $(BDIR)/*.log $(BDIR)/*.aux $(BDIR)/*.toc $(BDIR)/$(TEMP) \
|
||||||
$(BDIR)/$(SOURCE) ./*.opf ./*.html ./*.aux ./*.css ./*.dvi \
|
$(BDIR)/$(SOURCE) ./*.opf ./*.html ./*.aux ./*.css ./*.dvi \
|
||||||
./*-epub/ ./*-mobi/ ./*.idv ./*.lg ./*.log ./*.toc ./*.xref \
|
./*-epub/ ./*-mobi/ ./*.idv ./*.lg ./*.log ./*.toc ./*.xref \
|
||||||
./*.4ct ./*.4tc ./*.ncx ./*.tmp $(SDIR)/chapters/*.bak
|
./*.4ct ./*.4tc ./*.ncx ./*.tmp $(SDIR)/chapters/*.bak $(TDIR)
|
||||||
|
|
||||||
clean: cleanbuild
|
clean: cleanbuild
|
||||||
rm -rf $(BASEBDIR)
|
rm -rf $(BASEBDIR)
|
||||||
|
|
|
@ -28,7 +28,7 @@ Vance was overall a good guy. Just trying to get things together and make sure
|
||||||
|
|
||||||
"Don't worry," another developer spoke up, "we'll give you the light load this week." Brent. Another good guy. Just sometimes really weird. Not like I could talk.
|
"Don't worry," another developer spoke up, "we'll give you the light load this week." Brent. Another good guy. Just sometimes really weird. Not like I could talk.
|
||||||
|
|
||||||
"Thank you," I said, genuinely, "I appreciate that, though if all aren't in agreement, I can take one of the other workloads." There were unanimous nods from all but one. Kaden. He's new. \emph{I should give him the benefit of% the doubt, shouldn't I?}
|
"Thank you," I said, genuinely, "I appreciate that, though if all aren't in agreement, I can take one of the other workloads." There were unanimous nods from all but one. Kaden. He's new. \emph{I should give him the benefit of the doubt, shouldn't I?}
|
||||||
|
|
||||||
"Kaden!" another senior developer exclaimed, "Talon's just been having an off month. His code is top notch and beyond stellar. We should let him recover." A pang of pain shot through me. I wasn't sure why. I didn't know this developer's name, though he's certainly seen my code. He wasn't lying either. My code was top notch.
|
"Kaden!" another senior developer exclaimed, "Talon's just been having an off month. His code is top notch and beyond stellar. We should let him recover." A pang of pain shot through me. I wasn't sure why. I didn't know this developer's name, though he's certainly seen my code. He wasn't lying either. My code was top notch.
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@ I could hear the dings of direct messages coming in. I pulled my head out from
|
||||||
|
|
||||||
I chuckled to myself slightly and clicked the link. The web browser opened to our issue tracker with a list of open issues. Only one was assigned to me.
|
I chuckled to myself slightly and clicked the link. The web browser opened to our issue tracker with a list of open issues. Only one was assigned to me.
|
||||||
|
|
||||||
\textbf{[OPEN] [Flight] [Debug] [Regression] Current Version not decoding data% correctly}
|
\textbf{[OPEN] [Flight] [Debug] [Regression] Current Version not decoding data correctly}
|
||||||
|
|
||||||
I switched tabs to the version control software and counted the reviews I had to do. Three. Not bad. I can knock them out in an hour. Probably. If I don't break down crying or fall asleep.
|
I switched tabs to the version control software and counted the reviews I had to do. Three. Not bad. I can knock them out in an hour. Probably. If I don't break down crying or fall asleep.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue