File tree Expand file tree Collapse file tree 2 files changed +2
-35
lines changed
app/src/jreleaser/distributions/spotless-cli/brew Expand file tree Collapse file tree 2 files changed +2
-35
lines changed Original file line number Diff line number Diff line change 11# Homebrew
22
33## Formulae
4- Invoke either of the following commands if the formula is hosted at GitHub
4+ Invoke either of the following commands
55
66```sh
77$ brew install { {brewRepositoryOwner} }/{ {brewRepositoryAlias} }/<formula >
1313$ brew tap { {brewRepositoryOwner} }/{ {brewRepositoryAlias} }
1414$ brew install <formula >
1515```
16-
17- Invoke the following command if the formula is *not* hosted at GitHub
18-
19- ```sh
20- brew tap { {brewRepositoryOwner} }/{ {brewRepositoryName} } { {tapRepoCloneUrl} }
21- brew install <formula >
22- ```
23-
24- ## Casks
25- Invoke either of the following commands if the cask is hosted at GitHub
26-
27- ```sh
28- $ brew install --cask { {brewRepositoryOwner} }/{ {brewRepositoryAlias} }/<cask >
29- ```
30-
31- Or
32-
33- ```sh
34- $ brew tap { {brewRepositoryOwner} }/{ {brewRepositoryAlias} }
35- $ brew install --cask <cask >
36- ```
37-
38- Invoke the following command if the cask is *not* hosted at GitHub
39-
40- ```sh
41- brew tap { {brewRepositoryOwner} }/{ {brewRepositoryName} } { {tapRepoCloneUrl} }
42- brew install --cask <formula >
43- ```
44-
45- If you get a dialog stating the cask is broken try installing with `--no-quarantine`.
46-
47- ## Documentation
48- `brew help`, `man brew` or check [Homebrew's documentation](https://docs.brew.sh).
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ class {{brewFormulaName}} < Formula
2424
2525 def install
2626 libexec.install Dir["*"]
27- bin.install_symlink "# { libexec } / bin/{ {distributionExecutableUnix} }" => "{ {distributionExecutableName } }"
27+ ( bin/" { {distributionExecutableName } }").write_env_script libexec/" bin/{ {distributionExecutableUnix} }", Language::Java.java_home_env( "{ {distributionJavaVersionMajor } }")
2828 end
2929
3030 test do
You can’t perform that action at this time.
0 commit comments