Skip to content

Commit db8dc06

Browse files
committed
Set NETRC path.
1 parent 3854837 commit db8dc06

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

Rakefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ ENV.delete_if { |k, _|
7070
}
7171

7272
task :linux => [
73+
:curl,
7374
:files,
7475
:fonts,
7576
:fish,
@@ -88,6 +89,7 @@ task :windows => [
8889

8990
task :macos => [
9091
:ansible,
92+
:curl,
9193
:files,
9294
:'xcode:command_line_utilities',
9395
:'softwareupdate:rosetta',

lib/tasks/curl.rake

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# frozen_string_literal: true
2+
3+
task :curl do
4+
add_line_to_file fish_environment('curl'), "set -x NETRC ~/.config/netrc"
5+
add_line_to_file bash_environment, "export NETRC=~/.config/netrc"
6+
end

0 commit comments

Comments
 (0)