Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fc1943s committed May 18, 2024
1 parent 54fb1a4 commit b176219
Show file tree
Hide file tree
Showing 9 changed files with 1,489 additions and 1,620 deletions.
456 changes: 22 additions & 434 deletions apps/documents/Cargo.lock

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion apps/documents/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ inline_colorization = "~0.1"
regex = "~1.10"
clap = "~4.5"
chrono = "~0.4"
async-std = "~1.12"
encoding_rs = "~0.8"
encoding_rs_io = "~0.1"
futures = "~0.3"
Expand Down
2 changes: 1 addition & 1 deletion apps/documents/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ $ErrorActionPreference = "Stop"
$projectName = "documents"

if (!$fast -and !$SkipNotebook) {
{ . apps/spiral/dist/Supervisor$(_exe) --execute-command "target/release/spiral_builder$(_exe) dib --path ../vault/apps/$projectName/$projectName.dib" } | Invoke-Block -Retries 3 -Location ../../../polyglot
{ . apps/spiral/dist/Supervisor$(_exe) --execute-command "workspace/target/release/spiral_builder$(_exe) dib --path ../vault/apps/$projectName/$projectName.dib" } | Invoke-Block -Retries 3 -Location ../../../polyglot
}

{ . ../../../polyglot/apps/parser/dist/DibParser$(_exe) "$projectName.dib" spi } | Invoke-Block
Expand Down
4 changes: 3 additions & 1 deletion apps/documents/documents.dib
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ let crowbook hangul { ext dist_dir dist_path output_path } =
| "pdf" =>
$'$"--set"'
+. $'$" tex.paper.size a4paper"'
+. $'$" tex.template.add \\\"\\\\pagenumbering{{gobble}}\\\""'
// +. $'$" tex.template.add \\\"\\\\pagestyle{{empty}}\\\""'
+. (
if hangul |> not
then ""
Expand Down Expand Up @@ -456,7 +458,7 @@ let run { source_dir dist_dir cache_dir hangul_spec }
#!spiral

//// test
///! rust -d async-walkdir encoding_rs encoding_rs_io futures-lite rayon regex sha2
///! rust -d async-walkdir encoding_rs encoding_rs_io futures futures-lite rayon regex sha2

types ()
inl workspace_root = file_system.get_workspace_root ()
Expand Down
178 changes: 90 additions & 88 deletions apps/documents/documents.dib.html

Large diffs are not rendered by default.

178 changes: 90 additions & 88 deletions apps/documents/documents.dib.ipynb

Large diffs are not rendered by default.

1,089 changes: 608 additions & 481 deletions apps/documents/documents.fsx

Large diffs are not rendered by default.

1,199 changes: 673 additions & 526 deletions apps/documents/documents.rs

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions apps/documents/documents.spi
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ let crowbook hangul { ext dist_dir dist_path output_path } =
| "pdf" =>
$'$"--set"'
+. $'$" tex.paper.size a4paper"'
+. $'$" tex.template.add \\\"\\\\pagenumbering{{gobble}}\\\""'
// +. $'$" tex.template.add \\\"\\\\pagestyle{{empty}}\\\""'
+. (
if hangul |> not
then ""
Expand Down

0 comments on commit b176219

Please sign in to comment.