~toastal/purescript-web-network-information

c29c29f5476d8f7a64269a65f238857a286b9d81 — toastal 2 years ago 1abc0e2
Move to opt-in `.envrc` → `.envrc.example`
2 files changed, 12 insertions(+), 13 deletions(-)

R .envrc => .envrc.example
M README.adoc
R .envrc => .envrc.example +11 -13
@@ 1,16 1,14 @@
# vim: syntax=sh
use flake

if type nix &>/dev/null; then
   # https://github.com/nix-community/nix-direnv
   if nix flake metadata &>/dev/null; then
      use flake
   else
      use nix
   fi

   echo "PureScript: $(purs --version)"
   echo "Spago: $(spago --version)"
   echo "purs-tidy: $(purs-tidy --version)"
   echo "Dhall: $(dhall --version)"
	# https://github.com/nix-community/nix-direnv
	if nix flake metadata &>/dev/null; then
		use flake
	else
		use nix
	fi
fi

echo "PureScript: $(purs --version)"
echo "Spago: $(spago --version)"
echo "purs-tidy: $(purs-tidy --version)"
echo "Dhall: $(dhall --version)"

M README.adoc => README.adoc +1 -0
@@ 49,6 49,7 @@ $ nix develop
.For automatic shell via `direnv`
[source,console]
----
$ cp .envrc.example .envrc
$ direnv allow
----