-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2707 from input-output-hk/anviking/ruby-bors-stats
Add new improved ./scripts/bors-stats.rb
- Loading branch information
Showing
5 changed files
with
654 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,15 @@ | ||
if [ -e .envrc-override ]; then | ||
# This env file will trump lorri, if present. | ||
source .envrc-override | ||
source_env .envrc-override | ||
elif type lorri &>/dev/null; then | ||
eval "$(lorri direnv)" | ||
|
||
# Source a user-specific config in ./.envrc-local | ||
if [ -e .envrc-local ]; then | ||
source .envrc-local | ||
fi | ||
else | ||
# Fall back to using direnv's builtin nix support | ||
# to prevent bootstrapping problems. | ||
# It's definitely better to use lorri, because direnv won't | ||
# be fast like this. | ||
use nix | ||
|
||
# Source a user-specific config in ./.envrc-local | ||
if [ -e .envrc-local ]; then | ||
source .envrc-local | ||
fi | ||
fi | ||
|
||
# Source a user-specific config in ./.envrc-local | ||
source_env_if_exists .envrc-local |
Oops, something went wrong.