mirror of
https://github.com/msfjarvis/msfjarvis.dev.git
synced 2024-06-03 04:18:56 +05:30
feat(nix): add build command
This commit is contained in:
parent
d7ac56f2d5
commit
21aca06e96
17
flake.nix
17
flake.nix
|
@ -27,11 +27,18 @@
|
||||||
nodejs-16_x
|
nodejs-16_x
|
||||||
yarn
|
yarn
|
||||||
];
|
];
|
||||||
commands = [{
|
commands = [
|
||||||
name = "dev";
|
{
|
||||||
category = "development";
|
name = "dev";
|
||||||
command = "${pkgs.yarn}/bin/yarn run dev";
|
category = "development";
|
||||||
}];
|
command = "${pkgs.yarn}/bin/yarn run dev";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "build";
|
||||||
|
category = "deployment";
|
||||||
|
command = "${pkgs.yarn}/bin/yarn run build";
|
||||||
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user