mirror of
https://github.com/anoma/juvix.git
synced 2024-12-13 11:16:48 +03:00
1eadbc4f81
* 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
31 lines
697 B
YAML
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
|