14 lines
429 B
Nix
14 lines
429 B
Nix
# Standalone build drivers import sibling JavaScript modules. Their code is an
|
|||
|
|
# input; Nix helper APIs and test sources do not belong to that dependency.
|
||
|
|
builtins.path {
|
||
|
|
path = ./.;
|
||
|
|
name = "camino-build-tools";
|
||
|
|
filter =
|
||
|
|
filename: type:
|
||
|
|
let
|
||
|
|
name = builtins.baseNameOf filename;
|
||
|
|
in
|
||
|
|
type == "directory"
|
||
|
|
|| (builtins.match ".*\\.mjs" name != null && builtins.match ".*\\.test\\.mjs" name == null);
|
||
|
|
}
|