Skip to content

Commit 8900ade

Browse files
committed
Add just
1 parent 79c534b commit 8900ade

4 files changed

Lines changed: 82 additions & 3 deletions

File tree

.github/workflows/build-dependencies.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,15 @@ jobs:
2727
restore-keys: |
2828
${{ runner.os }}-rust-bindings-
2929
30+
- name: Install devbox
31+
uses: jetify-com/devbox-install-action@v0.13.0
32+
with:
33+
enable-cache: 'true'
34+
3035
- name: Generate bindings
3136
if: |
3237
steps.cache-rust-bindings.outputs.cache-hit != 'true'
33-
run: ./generate-bindings.sh
38+
run: devbox run -- just generate-bindings --remote https://github.com/tvandinther/libsql --commit add-missing-statement-functions
3439
shell: bash
3540

3641
- name: Upload bindings

devbox.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"cmake@latest",
55
"rustup@latest",
66
"just@latest",
7-
"dotnet-sdk@8"
7+
"dotnet-sdk@8",
8+
"fzf@latest"
89
],
910
"shell": {
1011
"init_hook": [
@@ -16,4 +17,4 @@
1617
]
1718
}
1819
}
19-
}
20+
}

devbox.lock

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,74 @@
105105
}
106106
}
107107
},
108+
"fzf@latest": {
109+
"last_modified": "2025-08-08T08:05:48Z",
110+
"resolved": "github:NixOS/nixpkgs/a3f3e3f2c983e957af6b07a1db98bafd1f87b7a1#fzf",
111+
"source": "devbox-search",
112+
"version": "0.65.1",
113+
"systems": {
114+
"aarch64-darwin": {
115+
"outputs": [
116+
{
117+
"name": "out",
118+
"path": "/nix/store/1g47v585sy9mbp83bpr15xm00jk6zfqd-fzf-0.65.1",
119+
"default": true
120+
},
121+
{
122+
"name": "man",
123+
"path": "/nix/store/bi6hvv72zh2zqgagirqvpjddpyfb8jkq-fzf-0.65.1-man",
124+
"default": true
125+
}
126+
],
127+
"store_path": "/nix/store/1g47v585sy9mbp83bpr15xm00jk6zfqd-fzf-0.65.1"
128+
},
129+
"aarch64-linux": {
130+
"outputs": [
131+
{
132+
"name": "out",
133+
"path": "/nix/store/cxw0r42cdwggxgnsxzh5v7h5szb4zn52-fzf-0.65.1",
134+
"default": true
135+
},
136+
{
137+
"name": "man",
138+
"path": "/nix/store/rw1fi4rdjpxcv1x1ln5q5iqdgp3bi0k3-fzf-0.65.1-man",
139+
"default": true
140+
}
141+
],
142+
"store_path": "/nix/store/cxw0r42cdwggxgnsxzh5v7h5szb4zn52-fzf-0.65.1"
143+
},
144+
"x86_64-darwin": {
145+
"outputs": [
146+
{
147+
"name": "out",
148+
"path": "/nix/store/dnjnbx0yci902phzbdcjc5d6328xswy6-fzf-0.65.1",
149+
"default": true
150+
},
151+
{
152+
"name": "man",
153+
"path": "/nix/store/1f9mh3lghzdj06wf5g4cdypyva712idf-fzf-0.65.1-man",
154+
"default": true
155+
}
156+
],
157+
"store_path": "/nix/store/dnjnbx0yci902phzbdcjc5d6328xswy6-fzf-0.65.1"
158+
},
159+
"x86_64-linux": {
160+
"outputs": [
161+
{
162+
"name": "out",
163+
"path": "/nix/store/6a4wknif1z62kdn3cbkak78kyf462cxj-fzf-0.65.1",
164+
"default": true
165+
},
166+
{
167+
"name": "man",
168+
"path": "/nix/store/2jb1xjfcilpzcgd692qb84gn87cvvhl7-fzf-0.65.1-man",
169+
"default": true
170+
}
171+
],
172+
"store_path": "/nix/store/6a4wknif1z62kdn3cbkak78kyf462cxj-fzf-0.65.1"
173+
}
174+
}
175+
},
108176
"github:NixOS/nixpkgs/nixpkgs-unstable": {
109177
"resolved": "github:NixOS/nixpkgs/a918bb3594dd243c2f8534b3be01b3cb4ed35fd1?lastModified=1756536218&narHash=sha256-ynQxPVN2FIPheUgTFhv01gYLbaiSOS7NgWJPm9LF9D0%3D"
110178
},

justfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
default:
2+
@just --choose
3+
4+
generate-bindings *OPTIONS:
5+
./generate-bindings.sh {{OPTIONS}}

0 commit comments

Comments
 (0)