diff --git a/ifc/.envrc b/ifc/.envrc deleted file mode 100644 index 4a4726a..0000000 --- a/ifc/.envrc +++ /dev/null @@ -1 +0,0 @@ -use_nix diff --git a/ifc/.gitignore b/ifc/.gitignore deleted file mode 100644 index eb5a316..0000000 --- a/ifc/.gitignore +++ /dev/null @@ -1 +0,0 @@ -target diff --git a/ifc/Makefile b/ifc/Makefile new file mode 100644 index 0000000..1bd40ea --- /dev/null +++ b/ifc/Makefile @@ -0,0 +1,9 @@ + +dev: + cargo watch -x build + +test: + cargo watch -x test + +test-once: + cargo test diff --git a/ifc/shell.nix b/ifc/shell.nix deleted file mode 100644 index 12f59f4..0000000 --- a/ifc/shell.nix +++ /dev/null @@ -1,20 +0,0 @@ -let - rust_overlay = import (builtins.fetchTarball "https://github.com/oxalica/rust-overlay/archive/master.tar.gz"); - pkgs = import { overlays = [ rust_overlay ]; }; - unstable = import {}; - rust = pkgs.rust-bin.stable."1.55.0".default.override { - extensions = [ "rust-src" ]; - }; - -in pkgs.mkShell { - name = "ifc"; - - buildInputs = [ - rust - unstable.rust-analyzer - ]; - - shellHook = '' - if [ -e ~/.nixpkgs/shellhook.sh ]; then . ~/.nixpkgs/shellhook.sh; fi - ''; -}