Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I use autoenv and a `./scripts` directory.

So my .env file just “includes” (automatically via autoenv) what’s in my scripts directory along with setting any environment variables when I’m jumping around my shell. Therefore I can just write a function like “dbup” or “devstart” and have those locally aliased to whatever they summon in the current project



That's basically what I use Taskfile for. And ensuring that things are always executed starting in the root of the repository.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: