Skip to content

Commit

Permalink
release-0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
telatin committed Nov 23, 2020
1 parent e759602 commit 73a8b66
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
Binary file modified bin/qax
Binary file not shown.
3 changes: 1 addition & 2 deletions src/extract.nim
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import strformat
import zip/zipfiles
import tables, strutils, algorithm, terminaltables
import os
Expand Down Expand Up @@ -103,4 +102,4 @@ Options:
z.extractFile(data, dest)
else:
stderr.writeLine("Skipping ", art.basename, ": no data found.")


4 changes: 2 additions & 2 deletions src/provenance.nim
Original file line number Diff line number Diff line change
Expand Up @@ -188,11 +188,11 @@ Options:
stderr.writeLine("[provenance] Dot file saved to: ", args["--dotfile"], "")
if args["--pdf"]:
let font = $args["--font"]
let command = "dot -O -Tpdf -Nfontname=\"" & font & "\" -Efontname=\""& font & "\" " & $args["--dotfile"]
let command = "dot -O -Tpdf -Nfontname=\"" & font & "\" -Efontname=\"" & font & "\" " & $args["--dotfile"]
let dotRun = execCmdEx(command, options = {})
if dotRun.exitCode != 0:
stderr.writeLine("[provenance] Unable to generate PDF file, is dot installed?")
else:
stderr.writeLine("[provenance] PDF saved to: ", args["--dotfile"], ".pdf")
#dot -O -Tpdf -Nfontname=Helvetica -Efontname=Helvetica ciao


4 changes: 2 additions & 2 deletions test/all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ echo " $(tput setaf 5)$($BIN | grep version)$(tput setaf 0)"
echo
echo -e "$B[0] Synopsis$N"
for i in list citations provenance extract;
do
./bin/qax_mac $i --help | grep -w $i | grep Usage >/dev/null && echo -e " $OK Help for '$i': found";
do
$BIN $i --help | grep -w $i | grep Usage >/dev/null && echo -e " $OK Help for '$i': found";
done


Expand Down

0 comments on commit 73a8b66

Please sign in to comment.