Skip to content

Commit 244d5ad

Browse files
committed
chore: add devbox
1 parent e092d1a commit 244d5ad

File tree

2 files changed

+167
-0
lines changed

2 files changed

+167
-0
lines changed

devbox.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.10.6/.schema/devbox.schema.json",
3+
"packages": [
4+
"cargo@latest",
5+
"rust-analyzer@latest",
6+
"cargo-watch@latest"
7+
],
8+
"shell": {
9+
"init_hook": [],
10+
"scripts": {
11+
"leet": "nix run github:clearloop/leetcode-cli",
12+
"dev": "cargo watch -x run",
13+
"build": "cargo build",
14+
"release": "cargo build --release",
15+
"test": "cargo test"
16+
}
17+
}
18+
}

devbox.lock

Lines changed: 149 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,149 @@
1+
{
2+
"lockfile_version": "1",
3+
"packages": {
4+
"cargo-watch@latest": {
5+
"last_modified": "2024-09-10T15:01:03Z",
6+
"resolved": "github:NixOS/nixpkgs/5ed627539ac84809c78b2dd6d26a5cebeb5ae269#cargo-watch",
7+
"source": "devbox-search",
8+
"version": "8.5.2",
9+
"systems": {
10+
"aarch64-darwin": {
11+
"outputs": [
12+
{
13+
"name": "out",
14+
"path": "/nix/store/3v919qxa0m86ygd7rg63ij0ak5v3rdqa-cargo-watch-8.5.2",
15+
"default": true
16+
}
17+
],
18+
"store_path": "/nix/store/3v919qxa0m86ygd7rg63ij0ak5v3rdqa-cargo-watch-8.5.2"
19+
},
20+
"aarch64-linux": {
21+
"outputs": [
22+
{
23+
"name": "out",
24+
"path": "/nix/store/7mdx5grx26yjbf2is0kciry7hss9vkgg-cargo-watch-8.5.2",
25+
"default": true
26+
}
27+
],
28+
"store_path": "/nix/store/7mdx5grx26yjbf2is0kciry7hss9vkgg-cargo-watch-8.5.2"
29+
},
30+
"x86_64-darwin": {
31+
"outputs": [
32+
{
33+
"name": "out",
34+
"path": "/nix/store/plxrdlfr67w45slazbqa40ixwmnfcr43-cargo-watch-8.5.2",
35+
"default": true
36+
}
37+
],
38+
"store_path": "/nix/store/plxrdlfr67w45slazbqa40ixwmnfcr43-cargo-watch-8.5.2"
39+
},
40+
"x86_64-linux": {
41+
"outputs": [
42+
{
43+
"name": "out",
44+
"path": "/nix/store/ivhhwixd60mb91y89my0avllh7s4j0p8-cargo-watch-8.5.2",
45+
"default": true
46+
}
47+
],
48+
"store_path": "/nix/store/ivhhwixd60mb91y89my0avllh7s4j0p8-cargo-watch-8.5.2"
49+
}
50+
}
51+
},
52+
"cargo@latest": {
53+
"last_modified": "2024-09-10T15:01:03Z",
54+
"resolved": "github:NixOS/nixpkgs/5ed627539ac84809c78b2dd6d26a5cebeb5ae269#cargo",
55+
"source": "devbox-search",
56+
"version": "1.80.1",
57+
"systems": {
58+
"aarch64-darwin": {
59+
"outputs": [
60+
{
61+
"name": "out",
62+
"path": "/nix/store/idfq37bavykpfahg0q8cpawj90sckagq-cargo-1.80.1",
63+
"default": true
64+
}
65+
],
66+
"store_path": "/nix/store/idfq37bavykpfahg0q8cpawj90sckagq-cargo-1.80.1"
67+
},
68+
"aarch64-linux": {
69+
"outputs": [
70+
{
71+
"name": "out",
72+
"path": "/nix/store/hgycsvahrwxwkq56zj5by28pxwx9sfqh-cargo-1.80.1",
73+
"default": true
74+
}
75+
],
76+
"store_path": "/nix/store/hgycsvahrwxwkq56zj5by28pxwx9sfqh-cargo-1.80.1"
77+
},
78+
"x86_64-darwin": {
79+
"outputs": [
80+
{
81+
"name": "out",
82+
"path": "/nix/store/rc3niv9fvii3lc862h81qbqca89yagg9-cargo-1.80.1",
83+
"default": true
84+
}
85+
],
86+
"store_path": "/nix/store/rc3niv9fvii3lc862h81qbqca89yagg9-cargo-1.80.1"
87+
},
88+
"x86_64-linux": {
89+
"outputs": [
90+
{
91+
"name": "out",
92+
"path": "/nix/store/c0r47wb8xm1dbsvppw6gh75jfjakal1y-cargo-1.80.1",
93+
"default": true
94+
}
95+
],
96+
"store_path": "/nix/store/c0r47wb8xm1dbsvppw6gh75jfjakal1y-cargo-1.80.1"
97+
}
98+
}
99+
},
100+
"rust-analyzer@latest": {
101+
"last_modified": "2024-09-10T15:01:03Z",
102+
"resolved": "github:NixOS/nixpkgs/5ed627539ac84809c78b2dd6d26a5cebeb5ae269#rust-analyzer",
103+
"source": "devbox-search",
104+
"version": "2024-09-02",
105+
"systems": {
106+
"aarch64-darwin": {
107+
"outputs": [
108+
{
109+
"name": "out",
110+
"path": "/nix/store/1l1ynbsf6rrb87slz1m0d31dbyxkzjay-rust-analyzer-2024-09-02",
111+
"default": true
112+
}
113+
],
114+
"store_path": "/nix/store/1l1ynbsf6rrb87slz1m0d31dbyxkzjay-rust-analyzer-2024-09-02"
115+
},
116+
"aarch64-linux": {
117+
"outputs": [
118+
{
119+
"name": "out",
120+
"path": "/nix/store/nl61nymakzyrvgc971a3nyl9wgs30vij-rust-analyzer-2024-09-02",
121+
"default": true
122+
}
123+
],
124+
"store_path": "/nix/store/nl61nymakzyrvgc971a3nyl9wgs30vij-rust-analyzer-2024-09-02"
125+
},
126+
"x86_64-darwin": {
127+
"outputs": [
128+
{
129+
"name": "out",
130+
"path": "/nix/store/hlvry3d9gmv5lhsbh2yppf6jdm59jflk-rust-analyzer-2024-09-02",
131+
"default": true
132+
}
133+
],
134+
"store_path": "/nix/store/hlvry3d9gmv5lhsbh2yppf6jdm59jflk-rust-analyzer-2024-09-02"
135+
},
136+
"x86_64-linux": {
137+
"outputs": [
138+
{
139+
"name": "out",
140+
"path": "/nix/store/0fdrbfqza9p1vwzccy1hb1pdbx55hags-rust-analyzer-2024-09-02",
141+
"default": true
142+
}
143+
],
144+
"store_path": "/nix/store/0fdrbfqza9p1vwzccy1hb1pdbx55hags-rust-analyzer-2024-09-02"
145+
}
146+
}
147+
}
148+
}
149+
}

0 commit comments

Comments
 (0)