Commit Graph

207 Commits

Author SHA1 Message Date
Anton-4
2986956929
serialize cli_platform cli_run tests 2022-10-06 20:14:51 +02:00
Anton-4
efd2611911
re-enable surgical linker for cli_run tests 2022-09-30 19:35:11 +02:00
Anton-4
0aa590dfe7
Merge branch 'main' of github.com:roc-lang/roc into simplify_examples 2022-09-30 19:27:30 +02:00
Anton-4
e1277a1fc1
fixed race condition errors 2022-09-30 19:22:29 +02:00
Anton-4
eaacb86ad9
Merge branch 'main' of github.com:roc-lang/roc into simplify_examples 2022-09-28 19:48:46 +02:00
Folkert
2e5f207283
Merge remote-tracking branch 'origin/main' into csv_decoding-server_example 2022-09-28 16:39:34 +02:00
Anton-4
05ed0e4cc3
clippy fix, benchmarks debugging 2022-09-28 14:30:08 +02:00
Anton-4
735d4c13bb
Merge branch 'main' into simplify_examples
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-09-28 11:54:44 +02:00
Ayaz Hafiz
b53c2c001c
Ignore roc/roc run test cases when passing env vars, for now 2022-09-27 18:26:16 -05:00
Ayaz Hafiz
ca8b6a29d8
Add cli_run test for env.roc 2022-09-27 18:21:40 -05:00
Anton-4
d5dbee57d9
cli_run no macro re-write 2022-09-27 20:25:28 +02:00
Brian Carroll
1a5ef05585
Print out stderr if CLI test fails 2022-09-26 19:21:44 +01:00
Brian Carroll
cbd8968066
Create CLI test for CSV example 2022-09-25 22:17:29 +01:00
Folkert
759bcfcfa8
write the roc app bytes to disk when not using the surgical linker 2022-09-25 00:08:03 +02:00
Folkert
97f2ad26e2
keep app bytes in memory 2022-09-24 23:55:29 +02:00
Folkert
89938cc80e
pass the roc app bytes into the linker
as opposed to opening a file 'within' the linker
2022-09-24 23:03:43 +02:00
Anton-4
1d9a751606
cli_run test fixes 2022-09-24 20:14:59 +02:00
Anton-4
076190a217
Merge branch 'main' of github.com:roc-lang/roc into simplify_examples 2022-09-24 16:55:37 +02:00
Anton-4
0ddc69e066
Merge branch 'main' of github.com:roc-lang/roc into simplify_examples 2022-09-24 16:49:50 +02:00
Anton-4
ef9c77409f
Merge remote-tracking branch 'upstream/main' into swiftuidemo 2022-09-23 12:04:34 +02:00
dependabot[bot]
b1e87981c0
Bump libc from 0.2.132 to 0.2.133
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.132 to 0.2.133.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.132...0.2.133)

---
updated-dependencies:
- dependency-name: libc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-23 08:39:25 +00:00
Anton-4
7818699bfa
fix input_file arg 2022-09-21 20:03:50 +02:00
Anton-4
04ea17e8a1
Merge branch 'main' into swiftuidemo
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-09-21 17:24:25 +02:00
Anton-4
10326779b3
don't build swift on linux 2022-09-21 15:41:44 +02:00
Richard Feldman
a237c5c0fb
Merge pull request #4071 from roc-lang/cli-program
Program.roc in CLI platform
2022-09-20 07:11:38 -07:00
Richard Feldman
aa6d29fbb1
Update CLI examples and tests to use Program 2022-09-19 20:06:29 -04:00
Ayaz Hafiz
d65f0bbedc
Avoid example tests overwriting each other's platforms
Closes https://github.com/roc-lang/roc/issues/4038
2022-09-19 12:12:10 -05:00
Ayaz Hafiz
c9e73b6761
Change example to be a calculator 2022-09-14 12:06:35 -05:00
Ayaz Hafiz
e39fccb0fa
Add cli run test 2022-09-14 11:26:52 -05:00
Ayaz Hafiz
31b894d027
Remove region when normalizing expects 2022-09-14 11:26:48 -05:00
Richard Feldman
21f3d4b8bc
Merge pull request #3990 from roc-lang/pass-args-to-cli
Pass args from cli platform to app
2022-09-14 08:43:13 -07:00
Anton-4
f1e799c6da
removed debug stuff, legacy linker for args test 2022-09-14 16:25:24 +02:00
Anton-4
412e7efdc8
use legacy linker for cli_run tests 2022-09-14 13:45:16 +02:00
Folkert de Vries
3ee3f23836
Merge pull request #3971 from roc-lang/dependabot/cargo/bumpalo-3.11.0
Bump bumpalo from 3.10.0 to 3.11.0
2022-09-13 21:00:00 +02:00
Anton-4
6186b0ff11
further clarified log comment
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-09-13 12:37:20 +02:00
Richard Feldman
ddbfd48ca3
Merge branch 'main' into pass-args-to-cli 2022-09-12 23:53:55 -04:00
dependabot[bot]
0079048944
Bump bumpalo from 3.10.0 to 3.11.0
Bumps [bumpalo](https://github.com/fitzgen/bumpalo) from 3.10.0 to 3.11.0.
- [Release notes](https://github.com/fitzgen/bumpalo/releases)
- [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fitzgen/bumpalo/compare/3.10.0...3.11.0)

---
updated-dependencies:
- dependency-name: bumpalo
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-12 21:08:56 +00:00
Anton-4
66f577dfe1
eprintln comment
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-09-12 19:42:41 +02:00
Ayaz
11e4b252da
Merge pull request #4023 from roc-lang/dependabot/cargo/clap-3.2.20
Bump clap from 3.2.18 to 3.2.20
2022-09-12 12:43:47 -04:00
Ayaz Hafiz
c832ed04cb
Reduce test case 2022-09-12 12:25:03 -04:00
Ayaz Hafiz
98b6fe0f7f
Add command-line arguments for platform example 2022-09-12 12:25:03 -04:00
Ayaz Hafiz
f8293c7785
Rename input_paths to arguments 2022-09-12 12:25:03 -04:00
Ayaz Hafiz
c1b7859dbb
Update known type errors test 2022-09-12 12:23:28 -04:00
Brian Carroll
6e64bfc513
Merge pull request #3961 from roc-lang/markdown
Static site with Markdown
2022-09-12 13:45:28 +01:00
dependabot[bot]
35b2e9c80f
Bump clap from 3.2.18 to 3.2.20
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.18 to 3.2.20.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/v3.2.20/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.18...v3.2.20)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-12 10:33:19 +00:00
dependabot[bot]
d1c406812f
Bump pretty_assertions from 1.2.1 to 1.3.0
Bumps [pretty_assertions](https://github.com/rust-pretty-assertions/rust-pretty-assertions) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/rust-pretty-assertions/rust-pretty-assertions/releases)
- [Changelog](https://github.com/rust-pretty-assertions/rust-pretty-assertions/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-pretty-assertions/rust-pretty-assertions/compare/v1.2.1...v1.3.0)

---
updated-dependencies:
- dependency-name: pretty_assertions
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-12 05:28:00 +00:00
Jan Van Bruggen
e3c9bf46db
[WIP] How should we test the newly-crated examples? 2022-09-11 22:32:15 -06:00
Jan Van Bruggen
a9a65fcf4b
Recategorize interactive apps as CLIs 2022-09-11 22:32:15 -06:00
Jan Van Bruggen
527f39b8f2
Move Roc CLI testing examples to crates/ 2022-09-11 22:32:15 -06:00
Jan Van Bruggen
59abe4f3a1
Simplify timed rebuilding messages 2022-09-11 10:25:02 -06:00