Skip to content

Commit

Permalink
use respo from package registry
Browse files Browse the repository at this point in the history
  • Loading branch information
tiye committed Oct 14, 2024
1 parent 6243f9d commit 8ce478f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
node-version: 20
cache: "yarn"

# - name: moon check
# run: moon check
- name: moon check
run: moon update && moon check

# - name: moon info
# run: |
Expand Down
5 changes: 2 additions & 3 deletions moon.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
"name": "tiye/respo-workflow",
"version": "0.1.0",
"deps": {
// "tiye/respo": "0.0.2",
"tiye/respo": { "path": "/Users/chenyong/repo/moon/respo" },
"tiye/dom-ffi": { "path": "/Users/chenyong/repo/moon/dom-ffi" }
"tiye/respo": "0.0.4",
"tiye/dom-ffi": "0.0.1"
},
"readme": "README.md",
"repository": "",
Expand Down
10 changes: 5 additions & 5 deletions src/main/store.mbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
struct Store {
mut counted : Int
mut tasks : Array[Task]
mut states : @respo.RespoStatesTree
tasks : Array[Task]
states : @respo.RespoStatesTree
} derive(ToJson, @json.FromJson)

fn Store::default() -> Store {
Expand All @@ -10,9 +10,9 @@ fn Store::default() -> Store {

struct Task {
id : String
mut done : Bool
mut content : String
mut time : Double
done : Bool
content : String
time : Double
} derive(Default, Eq, Hash, ToJson, @json.FromJson)

enum IndentOp {
Expand Down

0 comments on commit 8ce478f

Please sign in to comment.