Brendan Hansknecht
77e55c88bf
update cli logging test
2023-11-28 16:40:43 -08:00
Brendan Hansknecht
03b3b4e341
add check tests to avoid basic-cli files going stale
2023-11-20 19:33:23 -08:00
Brendan Hansknecht
ffda01e80b
update all examples to basic-cli version and mark broken examples
2023-11-20 15:36:15 -08:00
Brendan Hansknecht
f727aea875
Remove stale copy of basic-cli from the repo
...
It is outdated and source of bugs for users.
There should only exist one form of basic-cli.
There are still plently of local platforms if we need them for testing.
On top of that, more can be added to cli_test_examples if needed.
2023-11-20 14:59:13 -08:00
Luke Boswell
3c9a8e5e4c
ignore build artifacts
2023-11-03 16:42:27 +11:00
Brendan Hansknecht
40a40ef6d2
get examples working
2023-10-23 13:50:31 -07:00
Richard Feldman
881184c2c0
Fix a wasm test
2023-10-22 16:57:26 -04:00
Richard Feldman
086a2e4c14
Fix some gui tests
2023-10-22 15:02:09 -04:00
Richard Feldman
d25c7b7025
Update ruby interop test
2023-10-22 14:48:31 -04:00
Richard Feldman
e25be01ccd
Update .gitignores
2023-10-19 22:04:14 -04:00
Richard Feldman
b0068d522b
Update CLI tests to use new --output filenames
2023-10-19 21:27:51 -04:00
Anton-4
1b7f2e7b55
fix ignore
2023-09-26 13:13:09 +02:00
Anton-4
1957d52945
ignore false-interpreter on linux
2023-09-26 12:55:19 +02:00
Anton-4
bd3b64d5d0
ignore 2 windows tests
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-09-23 14:46:58 +02:00
Anton-4
63d3dfc656
disable some tests
...
These work locally but fail on CI
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-09-19 19:43:24 +02:00
Anton-4
d0a2b5e8e1
enable fixed windows tests
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-09-19 18:48:10 +02:00
Anton-4
99cfd1fe92
removed editor, ast, markup crate
2023-09-11 16:40:52 +02:00
Anton-4
8073264d7e
ignore inspec_logging on windows
...
the basic-cli build process does not yet include the necessary files for windows
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-08-18 13:19:03 +02:00
Anton-4
0646138509
added comments, tests
2023-08-16 19:17:47 +02:00
Anton-4
79ac0cab91
mark broken gui examples
2023-08-01 17:12:21 +02:00
Folkert
ef39bad7c6
auto clippy fixes
2023-07-10 18:27:08 +02:00
Brendan Hansknecht
4f97ab2965
remove old compiler-rt workarounds for macos
2023-06-24 17:27:11 -07:00
Brendan Hansknecht
75a035e12d
remove all definitions of roc_memcpy
2023-06-02 15:23:05 -07:00
Brendan Hansknecht
ccb434bae1
Update cli_run cli_args test
...
Note: this answer is less correct,
but that is because zigs sub answers are more correct.
Zig specifically gives a more accurate answer for Num.log 3.
old answer: 1.0986122886681098
zig's answer: 1.0986122886681096
correct answer: 1.098612288668109691395
Both answers are technically correct when limited to doubles.
Zig's answer is closer to truly correct.
That said, the more correct answer leads to a slight rounding error in the final division.
So the new output is 4.000000000000001 instead of 4.0
2023-05-31 22:15:05 -07:00
David Smith
051fca2f68
Share stripping of ignorable strings in has_error
helper
2023-05-17 10:08:16 -04:00
David Smith
58cb8352bb
Consistent handling of ld chained fixup warning in cli/glue tests
2023-05-16 17:12:13 -04:00
David Smith
d06d0dbf9c
Convert --prebuilt-platform to bool flag
...
With this change, it's no longer possible to cross-compile to any target
other than wasm.
2023-05-15 10:40:37 -04:00
Richard Feldman
039599da6a
Fix test
2023-05-09 20:20:21 -04:00
Brendan Hansknecht
0e24403664
enable using other zig libaries in host instead of just str.zig
2023-04-25 14:14:35 -07:00
Anton-4
49b4d9318d
fixed serial deadlock
...
Some tests used to require multiple locks and one test acquired lock A but failed to acquire lock B, another test was holding lock B and required lock A. That way you get stuck! I've turned those multiple locks into a bigger shared one, deadlock proof.
2023-04-11 12:11:04 +02:00
Brendan Hansknecht
8ed134607b
use indoc for formatting
2023-04-09 21:20:38 -07:00
Brendan Hansknecht
df9f5a946e
add test case for ingesting as bytes with type hole
2023-04-09 14:03:34 -07:00
Brendan Hansknecht
fdf8bc6094
fix formatting
2023-04-09 14:03:34 -07:00
Brendan Hansknecht
030597c59a
add example use with cli_run test
2023-04-09 14:03:34 -07:00
Richard Feldman
2276c78d9f
Merge pull request #5093 from roc-lang/glue-getters-rtfeldman
...
Glue for functions and closures
2023-03-21 08:12:19 -04:00
Anton-4
6e0dc30797
fixes, build tar.br now
2023-03-20 16:32:54 +01:00
Anton-4
3eda00cb62
Merge pull request #5144 from lukewilliamboswell/static-site
...
Add code file import feature for `static-site-gen` platform
2023-03-20 11:16:57 +01:00
Folkert de Vries
bd3982241e
Merge pull request #5036 from roc-lang/tutorial_updates
...
tutorial: update to basic-cli 0.2.1, fix typos
2023-03-17 11:46:36 +01:00
Brendan Hansknecht
ba804cc382
clippy
2023-03-16 12:25:52 -07:00
Brendan Hansknecht
5cb41cb81d
switch false test case to one that will repro the bug and enable valgrind for it
2023-03-16 12:12:28 -07:00
Luke Boswell
bea3a4f2f7
add static code file import for site gen
2023-03-15 20:59:58 +11:00
Anton-4
1f92508c55
clippy
2023-03-14 19:17:36 +01:00
Anton-4
0605639fa8
fix editor test
2023-03-14 18:24:30 +01:00
Brendan Hansknecht
e32c5f6514
standardize on decref instead of deinit for name
2023-03-13 14:08:23 -07:00
Anton-4
fe066e5567
Merge branch 'main' of github.com:roc-lang/roc into tutorial_updates
2023-03-13 19:46:05 +01:00
Anton-4
310321b8ab
lock on parser package
2023-03-13 19:41:33 +01:00
Anton-4
5acc2ea3a2
Merge pull request #5127 from roc-lang/editor-launch-fix
...
fix `Arg::allow_invalid_utf8` clap error
2023-03-13 11:42:34 +01:00
Anton-4
4737a5c01e
fix clap error
...
339884894
2023-03-12 15:50:59 +01:00
Brendan Hansknecht
cb191d3788
Split utils into error and command utils
...
Error utils pulls in snafu which requires procedural macros.
This means it can't start compiling until syn and macro related crates are compiled.
This deals compiling all crates that depend on commands like running zig for the bitcode.
The split enables those crates to run sooner.
2023-03-10 09:39:43 -08:00
Anton-4
e5aa27d19b
add lock for breakout
2023-03-04 14:11:48 +01:00