feat(package): hemar: continios work
This commit is contained in:
8
devshell/dev/hemar/default.nix
Normal file
8
devshell/dev/hemar/default.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
{ pkgs, ... }: pkgs.mkShell {
|
||||
buildInputs = (with pkgs; [
|
||||
dash
|
||||
(pkgs.writeShellScriptBin "letest" ''
|
||||
${pkgs.dash}/bin/dash ${./test.sh} "$@"
|
||||
'')
|
||||
]);
|
||||
}
|
||||
7
devshell/dev/hemar/test.sh
Normal file
7
devshell/dev/hemar/test.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/bin/dash
|
||||
|
||||
ROOT_DIR="$(git rev-parse --show-toplevel 2>/dev/null || pwd)"
|
||||
|
||||
if [ "${1:?}" = 'test' ]; then
|
||||
dash "${ROOT_DIR}/package/hemar/test.sh"
|
||||
fi
|
||||
Reference in New Issue
Block a user