WIP: tests for highlighting
This commit is contained in:
15
flake.nix
15
flake.nix
@@ -1,7 +1,7 @@
|
||||
{
|
||||
description = "tree-sitter implementation for nix-shell scripts";
|
||||
inputs = {
|
||||
nixpkgs.url = "nixpkgs/nixos-23.05";
|
||||
nixpkgs.url = "nixpkgs/nixos-unstable";
|
||||
flake-utils.url = github:numtide/flake-utils;
|
||||
};
|
||||
|
||||
@@ -12,18 +12,9 @@
|
||||
inherit system;
|
||||
};
|
||||
in rec {
|
||||
packages.tree-sitter-nixshell = pkgs.callPackage ./default.nix { };
|
||||
defaultPackage = packages.tree-sitter-nixshell;
|
||||
packages.tree-sitter-nix-shell = pkgs.callPackage ./default.nix { };
|
||||
defaultPackage = packages.tree-sitter-nix-shell;
|
||||
|
||||
devShells.default = pkgs.callPackage ./shell.nix { };
|
||||
|
||||
apps.clean = {
|
||||
type = "app";
|
||||
program = builtins.toString (pkgs.writeShellScript "clean" ''
|
||||
# remove build artifacts
|
||||
rm -f Cargo.toml binding.gyp
|
||||
rm -rf bindings/ src/
|
||||
'');
|
||||
};
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user