mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
Some recent changes to the Rust part of the codebase made it quite difficult to locally build the project due to tauri's heavy dependencies on WebKitGTK and other native libraries. I tried working around this on my local (nix) machine and found it quite difficult. The cleanest way here is to make use of what Nix calls "devshells" which give you an environment specifically for hacking on your project. Unfortunately, these files need to be tracked in version control and cannot be ignored (at least I've not found a way to do that). Given that we already have a lot of clutter in our repository, I put them under `scripts/nix`. They are generally useful. I also added a `.envrc` file which automatically launches the dev-shell. As a result, you have a shell ready to go with all your dependencies as soon as you `cd` into our repository (assuming you use `direnv` and it is hooked up with your shell). I didn't really want to have any of my local setup leak into the repo because I think apart from me and @conectado, nobody is using nix, thus I hope this minimal footprint is an okay compromise.
29 lines
478 B
Plaintext
29 lines
478 B
Plaintext
# macOS cruft
|
|
.DS_Store
|
|
|
|
# Ignore .fetch files in case you like to edit your project deps locally.
|
|
/.fetch
|
|
|
|
# Also ignore archive artifacts (built via "mix archive.build").
|
|
*.ez
|
|
|
|
# If NPM crashes, it generates a log, let's ignore it too.
|
|
npm-debug.log
|
|
|
|
*.log
|
|
*.sw?
|
|
|
|
# Development environment configuration
|
|
.env
|
|
.oidc_env.json
|
|
|
|
# Built packages
|
|
/*.deb
|
|
/*.rpm
|
|
|
|
# Ignore generated credentials from google-github-actions/auth
|
|
gha-creds-*.json
|
|
|
|
# Ignore local `direnv` cache
|
|
.direnv
|