Commit graph

190 commits

Author SHA1 Message Date
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
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
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
59abe4f3a1
Simplify timed rebuilding messages 2022-09-11 10:25:02 -06:00
Jan Van Bruggen
8a3f9a71bf
Remove outdated comment 2022-09-11 10:25:02 -06:00
Jan Van Bruggen
824f8a3e48
Move "🔨 Rebuilding platform..." message from stdout to stderr 2022-09-11 10:25:02 -06:00
Jan Van Bruggen
f967466346
Rephrase "your machine" to "the current machine" 2022-09-11 10:25:02 -06:00
Jan Van Bruggen
4625a0a869
Rephrase CPU-related "platform"/"host" to "target"/"your machine" 2022-09-11 10:25:02 -06:00
Jan Van Bruggen
5717f698d8
Rename internal precompiled flag to prebuilt 2022-09-11 10:25:01 -06:00
Jan Van Bruggen
68be131bd7
Rephrase "precompiled platform" to "prebuilt platform" 2022-09-11 10:25:01 -06:00
Jan Van Bruggen
50a8cff460
Rephrase "host-application linking" to "platform-..." 2022-09-11 10:25:01 -06:00
Jan Van Bruggen
5663a1d9f9
Rephrase "precompiled host" to "precompiled platform"
This is for clarity to Roc app developers, for whom "host" is not
necessarily in their Roc vocabulary. Additionally, this phrasing
is simply more accurate.
2022-09-11 10:25:01 -06:00
Jan Van Bruggen
97ce32ebde
Rephrase "Rebuilding host" to "Rebuilding platform" 2022-09-11 10:25:01 -06:00
Jan Van Bruggen
8bbfd68621
Add language to all fenced code blocks
See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md040
2022-09-09 01:12:31 -06:00
Jan Van Bruggen
3fa6e4c6ef
Ensure one trailing newline per .md file
See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md047
2022-09-09 01:12:30 -06:00
Jan Van Bruggen
6229eb54ca
Add blank lines around fenced code blocks
See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md031
2022-09-07 23:18:03 -06:00
Brian Carroll
842a416d5a
Merge branch 'main' of github.com:rtfeldman/roc into markdown 2022-09-07 18:51:09 +01:00
Folkert de Vries
bdbaa9dda2
Merge pull request #3956 from roc-lang/refactor-surgery
minor cleanup of surgery
2022-09-06 19:17:02 +02:00
Folkert de Vries
6dc86513a1
Merge pull request #3973 from roc-lang/dependabot/cargo/libc-0.2.132
Bump libc from 0.2.126 to 0.2.132
2022-09-06 18:48:36 +02:00
Brian Carroll
fda33fc70d
Fix CLI test 2022-09-06 09:01:48 +01:00
dependabot[bot]
095505ee15
Bump libc from 0.2.126 to 0.2.132
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.126 to 0.2.132.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.126...0.2.132)

---
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-06 07:27:05 +00:00