ydeployer via direnv
parent
44f4bbb79f
commit
42cb5ccb2d
@ -0,0 +1 @@
|
||||
use flake ..#deployer
|
@ -0,0 +1,2 @@
|
||||
node_modules/
|
||||
dist/
|
@ -0,0 +1,5 @@
|
||||
yarn-cache
|
||||
index.ts
|
||||
nix.ts
|
||||
ssh.ts
|
||||
|
@ -0,0 +1,2 @@
|
||||
#!/usr/bin/env node
|
||||
import "../dist/index.js"
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,13 @@
|
||||
{ buildYarnPackage }:
|
||||
buildYarnPackage {
|
||||
src = ./.;
|
||||
postBuild = ''
|
||||
yarn install --production --ignore-scripts --prefer-offline
|
||||
'';
|
||||
postInstall = ''
|
||||
rm $out/bin/yarn
|
||||
sed -i '/^cd /d' $out/bin/ydeployer
|
||||
'';
|
||||
meta.mainProgram = "ydeployer";
|
||||
passthru.exePath = "/bin/ydeployer";
|
||||
}
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue