Skip to content

Commit

Permalink
refactor: switch to rust
Browse files Browse the repository at this point in the history
  • Loading branch information
cdaringe committed Mar 23, 2023
1 parent e5cb65f commit 7b05963
Show file tree
Hide file tree
Showing 43 changed files with 1,880 additions and 453 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -12,3 +12,4 @@ fresh.arm
.freshdb
public
.git
target
Empty file removed .ocamlformat
Empty file.
2 changes: 1 addition & 1 deletion .rad/db.ts
Expand Up @@ -2,7 +2,7 @@ import type { Tasks } from "./common.ts";
import addMinutes from "https://deno.land/x/date_fns@v2.15.0/addMinutes/index.js";

// db
const containerName = "freshawair_freshdb_1";
const containerName = "freshawair-freshdb-1";
const dbname = "fresh";
const dbuser = "fresh";
const composeDevArgs = "-f docker-compose.yml -f docker-compose.dev.yml";
Expand Down
27 changes: 0 additions & 27 deletions .rad/opam.ts

This file was deleted.

1 change: 1 addition & 0 deletions .rsyncignore
Expand Up @@ -21,3 +21,4 @@ node_modules/
opam.dev.deps.sh
rad.ts
ui
target
69 changes: 69 additions & 0 deletions .vscode/launch.json
@@ -0,0 +1,69 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "agent",
"cargo": {
"args": ["build", "--bin=agent", "--package=agent"],
"filter": {
"name": "agent",
"kind": "bin"
}
},
"args": [
"--awair-endpoint=foo.com",
"--awair-endpoint=grr.qux",
"--db-host=bar.com",
"--db-port=1234"
],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in executable 'agent'",
"cargo": {
"args": ["test", "--no-run", "--bin=agent", "--package=agent"],
"filter": {
"name": "agent",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'libagent'",
"cargo": {
"args": ["test", "--no-run", "--lib", "--package=libagent"],
"filter": {
"name": "libagent",
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'libawair'",
"cargo": {
"args": ["test", "--no-run", "--lib", "--package=libawair"],
"filter": {
"name": "libawair",
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
}
]
}

0 comments on commit 7b05963

Please sign in to comment.