Commit graph

410 commits

Author SHA1 Message Date
Ayaz
f7bdc59ac0
Merge pull request #4815 from roc-lang/improve_getting_started
helloWolrd use url platform, improve getting started
2022-12-27 10:02:44 -06:00
Anton-4
33af6264d6
add helloWorldNoURL 2022-12-27 15:03:31 +01:00
Richard Feldman
15590fb31b
Generate docs basde on package root .roc file 2022-12-24 22:32:13 -05:00
Brian Carroll
2c0e6bb21f
Merge branch 'main' into virtual-dom-rendered-type
Signed-off-by: Brian Carroll <brian.carroll.ireland@gmail.com>
2022-12-21 17:26:15 +00:00
Folkert
af4023f116
make i386 cli tests compile 2022-12-20 16:29:01 +01:00
Richard Feldman
205b9bc20a
Merge pull request #4736 from roc-lang/packages
Basic Packages
2022-12-19 22:37:45 -05:00
Brian Carroll
9c3f61c448
cli_run: update virtual-dom test and add a client-side test 2022-12-19 23:40:10 +00:00
Anton-4
3185207313
ignore virtual dom test on windows 2022-12-19 11:31:18 +01:00
Folkert de Vries
a18197347b
Merge pull request #4767 from roc-lang/wasm_interp_repl_test
Replace Wasmer with roc_wasm_interp
2022-12-18 20:44:58 +01:00
Brian Carroll
32fcfec51d
virtual-dom: add a roc check test to cli_run 2022-12-18 16:48:20 +00:00
Richard Feldman
3e448fd2b4
Merge remote-tracking branch 'origin/main' into packages 2022-12-17 03:32:52 -05:00
Richard Feldman
fefb3b9908
gitignore cli_testing_example's compiled app 2022-12-16 12:29:47 -05:00
Richard Feldman
319fdbfaf7
Add packages-test to fixtures gitignore 2022-12-16 12:28:15 -05:00
Richard Feldman
c4da82cdae
Fix CLI test for packages 2022-12-16 12:27:22 -05:00
Richard Feldman
1d670cd0cf
Add CLI test for packages 2022-12-16 12:22:50 -05:00
Brian Carroll
3588e57c6a
clippy 2022-12-16 16:22:52 +00:00
Brian Carroll
eaf0211808
cli: update run_wasm to use roc_wasm_interp 2022-12-16 14:52:11 +00:00
Brian Carroll
09fee71084
cli: Convert run_wasm to work with roc_wasm_interp 2022-12-16 14:52:11 +00:00
Brian Carroll
fec64f0766
cli: remove wasmer dependency and rename run_with_wasmer->run_wasm 2022-12-16 14:52:10 +00:00
Brendan Hansknecht
faaa466c70
Merge pull request #4774 from roc-lang/enable-fuzzing
[simple PR] Enable fuzzing and sanitizers
2022-12-16 00:22:00 +00:00
Folkert de Vries
f550f049db
Merge pull request #4768 from roc-lang/expects-store-specialized-variable
Support using dbg/expect in polymorphic functions
2022-12-16 00:10:40 +01:00
Brendan Hansknecht
ed002ca68a
add a feature flag and environment variable to enable santizers and fuzzing 2022-12-15 08:29:10 -08:00
Brendan Hansknecht
1b92a24577
avoid building platform for link type dylib and no link
Both of these cases do not tie to a platform. The roc app can be built without considering the platform.
It is often the case that the platform is using one of these options because roc cannot build the platform.
This allows for more flexibility and avoids wasting time compiling the platform.
2022-12-14 17:34:07 -08:00
Ayaz Hafiz
a4f124687d
Add a test for polymorphic dbgs 2022-12-14 17:02:43 -06:00
Folkert
9c72eb5b93
test expects for variables and expressions 2022-12-09 00:04:43 +01:00
Folkert
4b9e64fd7d
Merge branch 'expect-dbg-atomics' into expect-print-values 2022-12-08 23:43:11 +01:00
Folkert
13d0b75bc1
Merge remote-tracking branch 'origin/main' into expect-print-values 2022-12-08 23:42:03 +01:00
Richard Feldman
5958f50728
Drop obsolete mentions of roc_send_signal 2022-12-08 06:36:12 -05:00
Folkert
3bae4145d9
do expect/dbg with atomics 2022-12-08 00:41:20 +01:00
Folkert
98560c63e6
fix bad merge 2022-12-05 12:54:57 +01:00
Folkert
ae8b0b4a1b
use some custom types in cli_run to clarify code 2022-12-04 23:22:36 +01:00
Brendan Hansknecht
8e710cb80e
disable wasm tests that are broken 2022-12-03 13:17:36 -08:00
Folkert
23274fbb8d
fix incorrect path used 2022-12-02 21:39:08 +01:00
Ayaz Hafiz
845a2f8c75
Report warnings in roc test 2022-12-02 14:11:58 -06:00
Ayaz Hafiz
0a4ec1958b
roc test stops if there are type errors 2022-12-02 14:11:57 -06:00
Folkert
bc4473132d
ignore some cache files 2022-12-02 18:52:22 +01:00
Folkert
f55ca53088
move the test files to prevent race condition on platform 2022-12-02 15:43:49 +01:00
Folkert
fdd72c8ce3
add test for roc dev and roc test 2022-12-02 15:43:49 +01:00
Folkert
dba23c5889
be explicit about valgrind usage 2022-12-02 15:43:49 +01:00
Folkert
9bee0a6fa5
add test for inline expect 2022-12-02 15:43:48 +01:00
Ayaz Hafiz
a42c7c00a6
Turn on roc dev test for env.roc again 2022-12-01 09:10:26 -06:00
Richard Feldman
d949a918e4
Use false interpreter in type mismatch test 2022-11-26 19:04:35 -05:00
Richard Feldman
2eb9531817
Fix regression on printing "Rebuilding platform…" 2022-11-25 16:41:54 -05:00
Richard Feldman
39792bf144
Drop extraneous cwd.join
This actually caused a bug! To reproduce:

cargo run -- build --prebuilt-platform=false examples/cli/file.roc
2022-11-25 04:47:36 -05:00
Richard Feldman
99f55d6ed6
Merge remote-tracking branch 'origin/main' into https-packages 2022-11-24 19:14:31 -05:00
Richard Feldman
1a1bc3a7cf
Merge branch 'fix-test' into simplify-cli-platform 2022-11-24 15:39:31 -05:00
Richard Feldman
b9b03d432a
Merge remote-tracking branch 'origin/main' into https-packages 2022-11-24 13:14:36 -05:00
Richard Feldman
ac2d50aea9
Merge pull request #4542 from roc-lang/precompiled-legacy
Precompiled legacy linking
2022-11-24 13:13:48 -05:00
Richard Feldman
69a7c3ea15
Centralize host tempfile builder logic 2022-11-24 10:05:27 -05:00
Richard Feldman
4b64f8c9e9
Make sure tempfiles don't get dropped too early 2022-11-24 10:05:27 -05:00