Skip to content

Commit

Permalink
Rewrite in Rust
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed Mar 11, 2024
1 parent e83ae62 commit 64a54ee
Show file tree
Hide file tree
Showing 91 changed files with 4,658 additions and 2,697 deletions.
2 changes: 1 addition & 1 deletion .devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
},
"image": "ghcr.io/cachix/devenv:latest",
"overrideCommand": false,
"updateContentCommand": "devenv ci"
"updateContentCommand": "devenv test"
}
6 changes: 3 additions & 3 deletions .envrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
set -euo pipefail

# Use our own last built devenv/nix in CLI
devenv_bin=$(nix build --print-out-paths --accept-flake-config)
PATH_add "$devenv_bin/bin"
nix build --print-out-paths --accept-flake-config || echo "nix build failed, using previous build"
PATH_add "result/bin"

# External users should use `source_url` to load this file
source_env ./direnvrc

use devenv
use devenv
2 changes: 1 addition & 1 deletion .github/workflows/buildtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- run: nix build
- name: Run tests
run: |
./result/bin/devenv ci
./result/bin/devenv test
./result/bin/devenv shell devenv-run-tests
./result/bin/devenv search ncdu | grep "pkgs\.ncdu"
pin:
Expand Down
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ result
.env
.env.*
.devenv*
.direnv*
/.cache
/.pre-commit-config.yaml

# examples
examples/rust/app/target

# Python
/.venv
*.pyc
# Rust
target
Loading

0 comments on commit 64a54ee

Please sign in to comment.