build(cli): update compile task and ignore bins

This commit is contained in:
Julien Oculi 2024-04-15 10:46:45 +02:00
parent 615fd8c97f
commit 104ae5faca
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
bin

View file

@ -7,7 +7,7 @@
"types": "./types.ts"
},
"tasks": {
"compile:send": "deno compile --allow-read --allow-env --allow-sys=osRelease --allow-run=mail,whoami ./cli/send.ts",
"compile": "deno compile --allow-read --allow-env --allow-net=0.0.0.0 --allow-sys=osRelease,networkInterfaces --allow-run=/usr/sbin/sendmail,whoami --output=bin/cohamail --target=x86_64-unknown-linux-gnu ./cli.ts",
"cli": "deno run --allow-read --allow-env --allow-net=0.0.0.0 --allow-sys=osRelease,networkInterfaces --allow-run=/usr/sbin/sendmail,whoami ./cli.ts",
"utils:scp": "scp -O -P 55555 -i C:/Users/Julien/.ssh/id_ed25519_cohabit -r $(pwd) julien@cohabit.fr:/home/julien/cohabit_mail"
},