Skip to content

Commit 5b6199f

Browse files
authored
comments and cleanup (#341)
* comments and cleanup * refine trigger
1 parent e23047e commit 5b6199f

File tree

4 files changed

+3
-44
lines changed

4 files changed

+3
-44
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: Deploy docs to Pages
22

33
on:
44
push:
5+
branches:
6+
- main
57
paths:
68
- '**.roc'
79
release:

ci/expect_scripts/record-builder.exp

Lines changed: 0 additions & 19 deletions
This file was deleted.

examples/record-builder.roc

Lines changed: 0 additions & 25 deletions
This file was deleted.

examples/sqlite.roc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ query_todos_by_status! = |db_path, status|
3737
path: db_path,
3838
query: "SELECT id, task FROM todos WHERE status = :status;",
3939
bindings: [{ name: ":status", value: String(status) }],
40+
# This uses the record builder syntax: https://www.roc-lang.org/examples/RecordBuilder/README.html
4041
rows: { Sqlite.decode_record <-
4142
id: Sqlite.i64("id") |> Sqlite.map_value(Num.to_str),
4243
task: Sqlite.str("task"),

0 commit comments

Comments
 (0)