Skip to content

Commit

Permalink
Fix goreleaser intentation
Browse files Browse the repository at this point in the history
  • Loading branch information
owenthereal committed Oct 10, 2023
1 parent cdbb044 commit 10ac0b0
Showing 1 changed file with 16 additions and 18 deletions.
34 changes: 16 additions & 18 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,33 +58,31 @@ brews:
log_path var/"log/candy/output.log"
error_log_path var/"log/candy/output.log"
caveats: |
<<~EOS
To finish the installation, you need to create a DNS resolver file
in /etc/resolver/YOUR_DOMAIN. Creating the /etc/resolver directory
and the config file requires superuser privileges. You can set things
up with an one-liner
To finish the installation, you need to create a DNS resolver file
in /etc/resolver/YOUR_DOMAIN. Creating the /etc/resolver directory
and the config file requires superuser privileges. You can set things
up with an one-liner
sudo candy setup
sudo candy setup
Alternatively, you can execute the following bash script
Alternatively, you can execute the following bash script
sudo mkdir -p /etc/resolver && \\
sudo chown -R $(whoami):$(id -g -n) /etc/resolver && \\
cp #{etc/"resolver/candy-test"} /etc/resolver/candy-test
sudo mkdir -p /etc/resolver && \\
sudo chown -R $(whoami):$(id -g -n) /etc/resolver && \\
cp #{etc/"resolver/candy-test"} /etc/resolver/candy-test
To have launchd start Candy now and restart at login
To have launchd start Candy now and restart at login
brew services start candy
brew services start candy
Or, if you don't want/need a background service you can just run
Or, if you don't want/need a background service you can just run
candy run
candy run
A sample Candy config file is in #{etc/"candyconfig"}. You can
copy it to your home to override Candy's default setting
A sample Candy config file is in #{etc/"candyconfig"}. You can
copy it to your home to override Candy's default setting
cp #{etc/"candyconfig"} ~/.candyconfig
EOS
cp #{etc/"candyconfig"} ~/.candyconfig
test: |
http = free_port
https = free_port
Expand Down

0 comments on commit 10ac0b0

Please sign in to comment.