@@ -14,8 +14,6 @@ homebrew_casks:
1414 - *cargo-feature-combinations
1515 description : " Plugin for `cargo` to run commands against selected combinations of features."
1616 directory : Casks
17- conflicts :
18- - formula : *cargo-feature-combinations
1917 commit_author :
2018 name : romnn
2119 email : contact@romnn.com
@@ -29,16 +27,14 @@ homebrew_casks:
2927 hooks :
3028 post :
3129 install : |
32- if system_command ("/usr/bin/xattr", args: ["-h"]).exit_status == 0
30+ if OS.mac? && File.exist? ("/usr/bin/xattr")
3331 system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/cargo-feature-combinations"]
3432 end
3533 - name : &cargo-fc cargo-fc
3634 ids :
3735 - *cargo-fc
3836 description : " Plugin for `cargo` to run commands against selected combinations of features."
3937 directory : Casks
40- conflicts :
41- - formula : *cargo-fc
4238 commit_author :
4339 name : romnn
4440 email : contact@romnn.com
@@ -52,12 +48,11 @@ homebrew_casks:
5248 hooks :
5349 post :
5450 install : |
55- if system_command ("/usr/bin/xattr", args: ["-h"]).exit_status == 0
51+ if OS.mac? && File.exist? ("/usr/bin/xattr")
5652 system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/cargo-fc"]
5753 end
5854
5955builds :
60- # cargo-feature-combinations binary
6156 - id : *cargo-feature-combinations
6257 builder : rust
6358 binary : *cargo-feature-combinations
@@ -80,7 +75,6 @@ builds:
8075 - " --bin=cargo-feature-combinations"
8176 - " --target-dir=./target" # TODO: can we remove this once rust support is better?
8277
83- # cargo-fc binary
8478 - id : *cargo-fc
8579 builder : rust
8680 binary : *cargo-fc
0 commit comments