Commit graph

215 commits

Author SHA1 Message Date
Richard Feldman
061b26e90d
Add breakout to examples under test 2022-04-23 19:45:53 -04:00
Richard Feldman
ed336af17b
Test roc build on breakout example 2022-04-23 15:34:28 -04:00
Richard Feldman
3a0adb1c7e
Merge pull request #2904 from rtfeldman/cli-args
CLI revisions
2022-04-21 12:59:08 -04:00
Jared Cone
66009c4b3c
Updated unit tests 2022-04-20 21:25:11 -07:00
Richard Feldman
6fb8481ebd
Report contents of stderr when example test fails 2022-04-20 20:43:39 -04:00
Richard Feldman
4952f7e9d2
fix cli_run tests 2022-04-20 20:43:39 -04:00
Richard Feldman
e2ea66043a
Add color_reset to StyleCodes 2022-04-20 20:43:39 -04:00
Richard Feldman
d5c843a771
Don't use deprecated --roc-linker flag in tests 2022-04-15 12:13:05 -04:00
Richard Feldman
b60235f3af
Change TEST_SURGICAL_LINKER to TEST_LEGACY_LINKER 2022-04-15 12:12:50 -04:00
Richard Feldman
56f97a2edc
Fix some cli_run warnings 2022-04-15 09:24:57 -04:00
Folkert
c73c01aa34
Merge remote-tracking branch 'origin/trunk' into list-str-capacity 2022-03-30 14:07:17 +02:00
Folkert
fb893ebcb0
properly disable the cli example 2022-03-29 19:53:47 +02:00
Folkert
3c96b59265
comment offending cli_run tests; we will revisit after upgrading llvm/zig 2022-03-28 21:01:05 +02:00
SylvanSign
5f73c3e513
fix test runner surgical linker logic for GNU/Linux + ARM 2022-03-27 15:50:24 -04:00
Folkert
0f6e1ab2a2
Revert "disable Closure.roc example"
This reverts commit 8d85e469f7.
2022-03-27 15:29:13 +02:00
Folkert
8d85e469f7
disable Closure.roc example 2022-03-26 21:46:49 +01:00
Brian Carroll
9cb6261a4d
Merge pull request #2736 from rtfeldman/wasm-repl-palette
Web REPL error styling
2022-03-18 12:00:44 +00:00
Pierre-Henri Trivier
3e368a64ff Formatter should ignore non roc files
Fixes #2683
2022-03-17 18:55:15 +01:00
Brian Carroll
9fc3c40379 Fix wrong import names 2022-03-17 13:22:40 +00:00
Jan Van Bruggen
0e186631eb Rename hello examples from snake_case to camelCase for consistency 2022-03-07 21:10:19 -07:00
Jan Van Bruggen
589861a88a Re-append newline after "Hello, World!" output
See https://github.com/rtfeldman/roc/pull/2470#discussion_r821295601
(@rtfeldman has "seen some terminals get really unhappy if a program
prints things and doesn't print a newline to stdout before exiting")
2022-03-07 21:06:53 -07:00
Jan Van Bruggen
85c4024eb9 Fix hello-world testing checks with a hacky workaround 2022-03-07 20:10:50 -07:00
Jan Van Bruggen
8a7f65910c Move effects example into interactive/ 2022-03-07 20:10:50 -07:00
Jan Van Bruggen
9d1dcc15c8 Consolidate interactive examples into one dir 2022-03-07 20:10:50 -07:00
Jan Van Bruggen
d94796de0e Consolidate algorithm examples into one dir 2022-03-07 20:10:50 -07:00
Jan Van Bruggen
eadf39e47b Add multi-platform Hello World example 2022-03-07 20:00:32 -07:00
Jan Van Bruggen
9f68194436 Remove trailing newlines from Hello World examples 2022-03-07 20:00:07 -07:00
Jan Van Bruggen
6ea8df5e16 Consolidate all Hello World examples into one dir 2022-03-07 20:00:05 -07:00
Jan Van Bruggen
6f13d3494f Improve hello-zig app name 2022-03-07 19:59:29 -07:00
Folkert
836967b919
some other clippy things in tests 2022-03-06 19:07:38 +01:00
Brian Carroll
0464da84c0 Rename CLI --backend to --target since that's what it has always meant 2022-03-05 14:22:59 +00:00
Richard Feldman
7a08c32c53
Fix cfg macro usage 2022-02-25 12:40:44 -05:00
Richard Feldman
7dcd195071
cargo fmt 2022-02-25 11:21:40 -05:00
Richard Feldman
70bb9f9ef1
Fix hello-gui test linking on linux 2022-02-25 10:08:15 -05:00
Richard Feldman
a49b66e379
Merge branch 'trunk' into gui-example 2022-02-25 08:22:36 -05:00
Richard Feldman
cb40c21374
Fix test 2022-02-24 22:19:48 -05:00
Richard Feldman
09dec55e6e
Drop unused variable 2022-02-24 22:06:00 -05:00
Celso Bonutti
c0709a91f3 adds comments to format_check_folders test 2022-02-24 19:57:58 -03:00
Celso Bonutti
7f186249a1
formats cli test file 2022-02-24 18:11:57 -03:00
Celso Bonutti
214d4e025b
changes wording from 'folder' to 'directory' 2022-02-24 18:10:39 -03:00
Celso Bonutti
9d487a4a95
adds tests 2022-02-24 18:06:42 -03:00
Richard Feldman
e779c84bd6
Add explicit gui example test 2022-02-24 10:19:00 -05:00
Richard Feldman
54882f357d
Add test to build gui example 2022-02-24 00:07:30 -05:00
Richard Feldman
72edf73ebd
Extract out build_example function 2022-02-23 23:27:34 -05:00
Ryan Olson
3a970dffa7 Add tests for roc format --check {{file}} 2022-02-18 16:46:07 -07:00
Folkert
e656886861 add test for UnknownGeneratesWith 2022-02-06 12:50:50 +01:00
Folkert
2f453cfea2 add test for UnusedImport 2022-02-06 12:34:23 +01:00
Folkert
1e4d2b3372 add test for ExposedButNotDefined 2022-02-06 12:24:19 +01:00
Folkert
3ade77374a Merge remote-tracking branch 'origin/trunk' into add_loop_examples 2022-01-27 16:49:47 +01:00
Jan Van Bruggen
e36b94fc53 Add emoji to form example 2022-01-26 21:08:45 -07:00