This repository was archived by the owner on May 5, 2022. It is now read-only.
File tree 6 files changed +23
-9
lines changed
6 files changed +23
-9
lines changed Original file line number Diff line number Diff line change 49
49
- name : Install harness
50
50
run : |
51
51
mix hex.organization auth cuatro --key $CUATRO_HEX_KEY
52
- mix archive.install hex harness --organization cuatro -- force
52
+ mix archive.install hex harness --force
53
53
54
54
- name : Fetch mix dependencies
55
55
if : steps.deps-cache.outputs.cache-hit != 'true'
@@ -120,7 +120,7 @@ jobs:
120
120
- name : Install harness
121
121
run : |
122
122
mix hex.organization auth cuatro --key $CUATRO_HEX_KEY
123
- mix archive.install hex harness --organization cuatro -- force
123
+ mix archive.install hex harness --force
124
124
125
125
- name : Fetch mix dependencies
126
126
if : steps.deps-cache.outputs.cache-hit != 'true'
Original file line number Diff line number Diff line change 72
72
- name : Install harness
73
73
run : |
74
74
mix hex.organization auth cuatro --key $CUATRO_HEX_KEY
75
- mix archive.install hex harness --organization cuatro -- force
75
+ mix archive.install hex harness --force
76
76
77
77
- name : Fetch mix dependencies
78
78
if : steps.deps-cache.outputs.cache-hit != 'true'
Original file line number Diff line number Diff line change @@ -6,6 +6,14 @@ The format is based on [Keep a
6
6
Changelog] ( https://keepachangelog.com/en/1.0.0/ ) , and this project adheres to
7
7
[ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
8
8
9
+ ## 1.0.0 - 2021-03-17
10
+
11
+ ### Added
12
+
13
+ - ` .tool-versions ` is now hard-linked instead of sym-linked
14
+ - projects using this package should _ not_ add the ` .tool-versions ` to
15
+ their ` .gitignore ` anymore
16
+
9
17
## 0.0.7 - 2021-01-25
10
18
11
19
### Added
Original file line number Diff line number Diff line change 1
1
import Config
2
2
3
3
config :harness ,
4
+ version: "~> 0.6" ,
4
5
manifest_version: "2.0.0" ,
5
6
generators: [ HarnessDotfiles ] ,
6
7
deps: [
Original file line number Diff line number Diff line change @@ -109,11 +109,11 @@ defmodule HarnessDotfiles do
109
109
@ doc false
110
110
@ impl Harness.Pkg
111
111
def links ( _config ) do
112
- ~w [
113
- .credo.exs
114
- .formatter .exs
115
- .tool-versions
116
- coveralls.json
112
+ [
113
+ { ".tool-versions" , :hard } ,
114
+ { ".credo .exs" , :sym } ,
115
+ { ".formatter.exs" , :sym } ,
116
+ { " coveralls.json" , :sym }
117
117
]
118
118
end
119
119
Original file line number Diff line number Diff line change @@ -13,7 +13,12 @@ defmodule HarnessDotfilesTest do
13
13
14
14
test "_all_ generated files are linked" do
15
15
generated_files = File . ls! ( "templates" ) |> MapSet . new ( )
16
- links = HarnessDotfiles . links ( % HarnessDotfiles { } ) |> MapSet . new ( )
16
+
17
+ links =
18
+ % HarnessDotfiles { }
19
+ |> HarnessDotfiles . links ( )
20
+ |> Enum . map ( fn { file , _link_type } -> file end )
21
+ |> MapSet . new ( )
17
22
18
23
assert MapSet . equal? ( generated_files , links )
19
24
end
You can’t perform that action at this time.
0 commit comments