Switch to devenv
This commit is contained in:
parent
c2d9680ab4
commit
f4ac3d085c
7 changed files with 164 additions and 53 deletions
38
devenv.nix
Normal file
38
devenv.nix
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
packages = with pkgs; [ git ];
|
||||
|
||||
languages = {
|
||||
javascript = {
|
||||
enable = true;
|
||||
|
||||
pnpm = {
|
||||
enable = true;
|
||||
install.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
php.enable = true;
|
||||
};
|
||||
|
||||
processes = {
|
||||
sculpin.exec = "vendor/bin/sculpin generate --server --watch";
|
||||
tailwind.exec = "npx tailwindcss --config tailwind.config.ts --input css/tailwind.css --output ../source/build/tailwind.css";
|
||||
};
|
||||
|
||||
enterShell = ''
|
||||
which composer
|
||||
[[ ! -d vendor ]] && composer install
|
||||
'';
|
||||
|
||||
tasks = { };
|
||||
|
||||
enterTest = '''';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue