Commit Graph

1028 Commits

Author SHA1 Message Date
Richard Feldman
ddbfd48ca3
Merge branch 'main' into pass-args-to-cli 2022-09-12 23:53:55 -04:00
Richard Feldman
3f467459f9
roc format 2022-09-12 20:39:06 -04:00
Richard Feldman
33ca6147c9
Fix CLI platform docs 2022-09-12 20:39:05 -04:00
Richard Feldman
21b74f6dbb
Add Dir and Env to CLI platform 2022-09-12 20:19:12 -04:00
Richard Feldman
4ccd726141
Fix File.readBytes 2022-09-12 20:18:52 -04:00
Richard Feldman
81d11e4edd
Add File.delete to CLI platform 2022-09-12 20:18:51 -04:00
Richard Feldman
d5cc75907f
Update file I/O example 2022-09-12 20:18:50 -04:00
Ayaz
6caf945c6a
Merge pull request #4020 from roc-lang/JanCVanB-patch-1
Fix file example app executable name
2022-09-12 12:44:40 -04:00
Ayaz Hafiz
c85562f3e8
Format 2022-09-12 12:25:37 -04:00
Ayaz Hafiz
42fdae4a57
Pass args by pointer 2022-09-12 12:25:37 -04:00
Ayaz Hafiz
203b21f7d1
Use OS args rather than string args 2022-09-12 12:25:36 -04:00
Ayaz Hafiz
ed9271829c
Cargo fmt 2022-09-12 12:25:04 -04:00
Ayaz Hafiz
98b6fe0f7f
Add command-line arguments for platform example 2022-09-12 12:25:03 -04:00
Ayaz Hafiz
ec628ed5c6
Pass cli arguments to main required by cli platform 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
Brian Carroll
c1709ea0d2
static-site-gen: print message before writing file 2022-09-12 08:31:46 +01:00
Jan Van Bruggen
4fa52e6dee
Fix file example app executable name
Signed-off-by: Jan Van Bruggen <JanCVanB@users.noreply.github.com>
2022-09-12 01:12:12 -06:00
Richard Feldman
24dcc91799
Work around formatter bug (namely #4013) 2022-09-11 20:26:49 -04:00
Richard Feldman
d13d79d455
roc format 2022-09-11 19:28:36 -04:00
Richard Feldman
079311d080
Flesh out basic file I/O examples 2022-09-11 16:56:04 -04:00
Richard Feldman
224475a87d
Simplify File error types 2022-09-11 16:56:04 -04:00
Richard Feldman
d7235d376f
Improve documentation in File.roc 2022-09-11 16:56:04 -04:00
Folkert
a0fe1ec453
use repr(u8) instead of repr(C) for an enum 2022-09-11 16:56:03 -04:00
Richard Feldman
42ae4282ba
give some more specific errors in CLI example 2022-09-11 16:56:03 -04:00
Richard Feldman
7adc9c972b
Reanme path_from_list to path_from_roc_path 2022-09-11 16:56:03 -04:00
Richard Feldman
13ae5c068b
Extract write_slice 2022-09-11 16:56:03 -04:00
Richard Feldman
ca730c5b52
Basic implementations of file I/O in the host 2022-09-11 16:56:02 -04:00
Richard Feldman
92b897fc13
Add File I/O CLI example 2022-09-11 16:56:02 -04:00
Richard Feldman
f39e7e6737
Add File to CLI platform 2022-09-11 16:56:02 -04:00
Richard Feldman
75af7b2c5c
Add InternalTask 2022-09-11 16:56:02 -04:00
Richard Feldman
4a14a019b6
Add new File I/O CLI effects 2022-09-11 16:56:02 -04:00
Richard Feldman
762fa75511
Add Stderr.line to cli-platform 2022-09-11 16:56:02 -04:00
Brian Carroll
1a5395d196
static-site-gen: check output dir exists, to kill a Heisenbug on CI 2022-09-10 23:49:54 +01: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
072a6bd002
Eliminate consecutive newlines
See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md012
2022-09-09 01:12:30 -06:00
Jan Van Bruggen
3902668ce5
Add angle brackets to bare URLs
See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md034
2022-09-09 01:12:30 -06:00
Jan Van Bruggen
3219178003
Ensure only one h1 per .md file
See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md025
2022-09-07 23:27:18 -06:00
Brian Carroll
cf6a62b7ad
static-site-gen: Use Box to workaround app/host ABI issues 2022-09-07 23:36:43 +01:00
Anton-4
322ae187bc
Merge branch 'main' into markdown
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-09-06 08:31:49 +02:00
Brian Carroll
6fe9466b0d
static-site-gen: add some CSS 2022-09-05 21:13:37 +01:00
Brian Carroll
c21a6cb67c
static-site-gen: New example using lorem ipsum content 2022-09-05 20:46:53 +01:00
Brian Carroll
aeac8035c1
Delete example (open license is for markdown not for the site) 2022-09-05 18:43:32 +01:00
Jan Van Bruggen
1272503bec
Merge pull request #3943 from sandprickle/move-examples-3912
Move Platform Examples (3912)
2022-09-05 10:38:24 -06:00
Brian Carroll
be245a8ede
static-site-gen: fix typos 2022-09-04 19:10:25 +01:00
Brian Carroll
fe8ea970e8
static-site-gen: report successes & errors, and update roc_cli test 2022-09-04 16:53:01 +01:00
Brian Carroll
ce357db270
static-site-gen: make the nav links nicer 2022-09-04 16:43:44 +01:00
Brian Carroll
bbb36cae17
static-site-gen: move assets to output folder 2022-09-04 16:43:05 +01:00
Brian Carroll
93bc73fb14
static-site-gen: copy assets from Daring Fireball 2022-09-04 16:43:03 +01:00
Brian Carroll
edb9fb7022
static-site-gen: formatting 2022-09-04 16:42:56 +01:00
Brian Carroll
70c424b138
static-site-gen: template compiles 2022-09-04 16:42:53 +01:00