1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-13 11:16:48 +03:00
juvix/tests/smoke/Commands/html.smoke.yaml
Łukasz Czajka 1eadbc4f81
Remove the old C backend (#1862)
* Depends on PR #1832 
* Closes #1799 
* Removes Backend.C.Translation.FromInternal
* Removes `foreign` and `compile` blocks
* Removes unused test files
* Removes the old C runtime
* Removes other dead code
2023-03-14 17:22:32 +01:00

31 lines
697 B
YAML

working-directory: ./../../../examples/
tests:
- name: html-stdout
command:
shell:
- bash
script: |
cd milestone/HelloWorld
juvix html HelloWorld.juvix --only-source
cat html/HelloWorld.html
stdout:
contains:
<!DOCTYPE HTML>
exit-status: 0
- name: output-dir
command:
shell:
- bash
script: |
rm -rf html
juvix html milestone/HelloWorld/HelloWorld.juvix --only-source --output-dir=html --non-recursive
[ -d html/assets ]
[ -f html/HelloWorld.html ]
stdout:
matches: |
Copying assets files to .*
Writing .*HelloWorld.html
exit-status: 0