mirror of
https://github.com/status-im/status-react.git
synced 2025-01-10 02:56:07 +00:00
6924d9978d
We've often seen cases of devs attempting to change dependencies outside a nix-shell and run into weird side effects This commit stops them from : - updating pods outside a nix shell - updating node deps outside a nix shell This commit also cleanup unused scripts in package.json and adds a fake comment script.
8 lines
209 B
Bash
Executable File
8 lines
209 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Check if inside Nix shell
|
|
if [[ -z "${IN_NIX_SHELL}" ]]; then
|
|
echo "ERROR: This command must be run inside a Nix shell. Please ensure you're inside a nix shell and try again."
|
|
exit 1
|
|
fi
|