squiggly heredocs (#39869)

* squiggly heredocs

* style: indentation
This commit is contained in:
commitay 2017-10-23 01:36:29 +10:00 committed by Markus Reiter
parent 47d63c014e
commit 7ef0a7a277
80 changed files with 92 additions and 92 deletions

View File

@ -37,7 +37,7 @@ cask 'adobe-air-sdk' do
'swfdump',
].each do |shimscript|
# shim script (https://github.com/caskroom/homebrew-cask/issues/18809)
IO.write "#{staged_path}/bin/#{shimscript}.wrapper.sh", <<-EOS.undent
IO.write "#{staged_path}/bin/#{shimscript}.wrapper.sh", <<~EOS
#!/bin/sh
exec '#{staged_path}/bin/#{shimscript}' "$@"
EOS
@ -52,7 +52,7 @@ cask 'adobe-air-sdk' do
FileUtils.rm("#{HOMEBREW_PREFIX}/share/adobe-air-sdk")
end
caveats <<-EOS.undent
caveats <<~EOS
You may want to add to your profile:
'export ADOBE_AIR_HOME=#{HOMEBREW_PREFIX}/share/adobe-air-sdk'

View File

@ -26,7 +26,7 @@ cask 'amazon-music' do
'~/Library/Application Support/Amazon Music/',
]
caveats <<-EOS.undent
caveats <<~EOS
If the app will not launch after installation, try
brew cask zap #{token}

View File

@ -14,7 +14,7 @@ cask 'android-ndk' do
preflight do
FileUtils.ln_sf("#{staged_path}/android-ndk-r#{version}", "#{HOMEBREW_PREFIX}/share/android-ndk")
IO.write shimscript, <<-EOS.undent
IO.write shimscript, <<~EOS
#!/bin/bash
readonly executable="#{staged_path}/android-ndk-r#{version}/$(basename ${0})"
test -f "${executable}" && exec "${executable}" "${@}"
@ -33,8 +33,8 @@ cask 'android-ndk' do
FileUtils.rm("#{HOMEBREW_PREFIX}/share/android-ndk")
end
caveats <<-EOS.undent
You may want to add to your profile:
'export ANDROID_NDK_HOME="#{HOMEBREW_PREFIX}/share/android-ndk"'
caveats <<~EOS
You may want to add to your profile:
'export ANDROID_NDK_HOME="#{HOMEBREW_PREFIX}/share/android-ndk"'
EOS
end

View File

@ -68,7 +68,7 @@ cask 'android-sdk' do
caveats do
depends_on_java('8')
<<-EOS.undent
<<~EOS
We will install android-sdk-tools, platform-tools, and build-tools for you.
You can control android sdk packages via the sdkmanager command.
You may want to add to your profile:

View File

@ -20,7 +20,7 @@ cask 'anylogic' do
caveats do
depends_on_java('8')
<<-EOS.undent
<<~EOS
For activation instructions, check up on
http://www.anylogic.com/upload/activation-guides/AnyLogic_#{version.slice(%r{\w+})}_PLE_License.pdf
EOS

View File

@ -46,7 +46,7 @@ cask 'araxis-merge' do
'~/Library/Preferences/com.araxis.merge.plist',
]
caveats <<-EOS.undent
caveats <<~EOS
For instructions to integrate Araxis Merge with Finder or other applications,
see https://www.araxis.com/merge/documentation-os-x/installing.en
EOS

View File

@ -12,7 +12,7 @@ cask 'armitage' do
binary shimscript, target: 'armitage'
preflight do
IO.write shimscript, <<-EOS.undent
IO.write shimscript, <<~EOS
#!/bin/sh
java "$@" -jar '#{appdir}/Armitage.app/Contents/Java/armitage.jar'
EOS

View File

@ -16,7 +16,7 @@ cask 'axoloti' do
caveats do
depends_on_java('8')
<<-EOS.undent
<<~EOS
If you ever decide to uninstall #{token}, it is likely its runtime will no longer be of use to you.
If thats the case, uninstall it with:

View File

@ -15,7 +15,7 @@ cask 'bandage' do
binary shimscript, target: 'bandage'
preflight do
IO.write shimscript, <<-EOS.undent
IO.write shimscript, <<~EOS
#!/bin/sh
exec '#{appdir}/Bandage.app/Contents/MacOS/Bandage' "$@"
EOS

View File

@ -17,7 +17,7 @@ cask 'blender' do
# make __pycache__ directories writable, otherwise uninstall fails
FileUtils.chmod 'u+w', Dir.glob("#{staged_path}/*.app/**/__pycache__")
IO.write shimscript, <<-EOS.undent
IO.write shimscript, <<~EOS
#!/bin/bash
'#{appdir}/Blender.app/Contents/MacOS/blender' "$@"
EOS

View File

@ -19,7 +19,7 @@ cask 'box-edit' do
zap delete: '~/Library/Application Support/Box/Box Edit',
rmdir: '~/Library/Application Support/Box'
caveats <<-EOS.undent
caveats <<~EOS
Box Edit currently only works with Safari and Firefox.
Restart your browser to load the plugin.
EOS

View File

@ -10,7 +10,7 @@ cask 'cd-to' do
app "cdto_#{version.dots_to_underscores.gsub(%r{_\d$}, '')}/terminal/cd to.app"
caveats <<-EOS.undent
caveats <<~EOS
To complete installation:
1. Open the the Applications folder in finder.
2. Drag "cd to.app" onto the Finder toolbar while holding down the command() and option() keys.

View File

@ -14,7 +14,7 @@ cask 'cdock' do
app 'cDock.app'
caveats <<-EOS.undent
caveats <<~EOS
#{token} will only run from within /Applications,
and will request to be moved at launch.
EOS

View File

@ -10,7 +10,7 @@ cask 'cloudera-hive-odbc' do
uninstall pkgutil: 'cloudera.hiveodbc'
caveats <<-EOS.undent
caveats <<~EOS
For configuration instructions, see
/opt/cloudera/hiveodbc/Readme.txt

View File

@ -14,7 +14,7 @@ cask 'cmucl' do
artifact 'man/man1/cmucl.1', target: "#{HOMEBREW_PREFIX}/share/man/man1/cmucl.1"
artifact 'man/man1/lisp.1', target: "#{HOMEBREW_PREFIX}/share/man/man1/lisp.1"
caveats <<-EOS.undent
caveats <<~EOS
Instructions on using cmucl are available in
#{staged_path}/doc/cmucl

View File

@ -25,7 +25,7 @@ cask 'cocoaspell' do
'~/.aspell.en.pws',
]
caveats <<-EOS.undent
caveats <<~EOS
Non-English dictionaries must be installed separately. For more information, see
http://people.ict.usc.edu/~leuski/cocoaspell/install_dict.php

View File

@ -13,7 +13,7 @@ cask 'cocoscreator' do
binary shimscript, target: 'cocos'
preflight do
IO.write shimscript, <<-EOS.undent
IO.write shimscript, <<~EOS
#!/bin/sh
cd '#{appdir}/CocosCreator.app/Contents/Resources/cocos2d-x/tools/cocos2d-console/bin' && ./cocos "$@"
EOS

View File

@ -15,7 +15,7 @@ cask 'copyq' do
binary shimscript, target: 'copyq'
preflight do
IO.write shimscript, <<-EOS.undent
IO.write shimscript, <<~EOS
#!/bin/bash
exec '#{appdir}/CopyQ.app/Contents/MacOS/copyq' "$@"
EOS

View File

@ -17,7 +17,7 @@ cask 'crosspack-avr' do
caveats do
files_in_usr_local
<<-EOS.undent
<<~EOS
CrossPack-AVR can normally install multiple versions side-by-side.
Therefore, running install will typically install multiple versions
of the tools in /usr/local/ (e.g. /usr/local/CrossPack-AVR-20131216).

View File

@ -13,7 +13,7 @@ cask 'crystax-ndk' do
preflight do
FileUtils.ln_sf("#{staged_path}/crystax-ndk-#{version}", "#{HOMEBREW_PREFIX}/share/crystax-ndk")
IO.write shimscript, <<-EOS.undent
IO.write shimscript, <<~EOS
#!/bin/bash
readonly executable="#{staged_path}/crystax-ndk-#{version}/$(basename ${0})"
test -f "${executable}" && exec "${executable}" "${@}"
@ -32,8 +32,8 @@ cask 'crystax-ndk' do
FileUtils.rm("#{HOMEBREW_PREFIX}/share/crystax-ndk")
end
caveats <<-EOS.undent
You may want to add to your profile:
'export ANDROID_NDK_HOME="#{HOMEBREW_PREFIX}/share/crystax-ndk"'
caveats <<~EOS
You may want to add to your profile:
'export ANDROID_NDK_HOME="#{HOMEBREW_PREFIX}/share/crystax-ndk"'
EOS
end

View File

@ -18,7 +18,7 @@ cask 'datadog-agent' do
zap delete: '/opt/datadog-agent'
caveats <<-EOS.undent
caveats <<~EOS
You will need to update /opt/datadog-agent/etc/datadog.conf and replace APIKEY with your api key
If you ever want to start/stop the Agent, please use the Datadog Agent App or datadog-agent command.

View File

@ -11,7 +11,7 @@ cask 'dwarf-fortress' do
binary shimscript, target: 'dwarf-fortress'
preflight do
IO.write shimscript, <<-EOS.undent
IO.write shimscript, <<~EOS
#!/bin/sh
exec '#{staged_path}/df_osx/df' "$@"
EOS

View File

@ -12,7 +12,7 @@ cask 'dynamodb-local' do
binary shimscript, target: 'dynamodb-local'
preflight do
IO.write shimscript, <<-EOS.undent
IO.write shimscript, <<~EOS
#!/bin/sh
cd "$(dirname "$(readlink -n "${0}")")" && \
java -Djava.library.path='./DynamoDBLocal_lib' -jar 'DynamoDBLocal.jar' "$@"

View File

@ -10,7 +10,7 @@ cask 'ealeksandrov-cd-to' do
app "cd_to_#{version.major_minor.dots_to_underscores}/terminal/cd_to.app"
caveats <<-EOS.undent
caveats <<~EOS
To complete installation:
1. Open the the Applications folder in finder.
2. Drag "cd_to.app" onto the Finder toolbar while holding down the command() and option() keys.

View File

@ -14,13 +14,13 @@ cask 'eventstore' do
testclient_shimscript = "#{staged_path}/EventStore-OSS-MacOSX-v#{version}/eventstore-testclient"
preflight do
IO.write eventstore_shimscript, <<-EOS.undent
IO.write eventstore_shimscript, <<~EOS
#!/bin/sh
cd "#{staged_path}/EventStore-OSS-MacOSX-v#{version}"
exec "#{staged_path}/EventStore-OSS-MacOSX-v#{version}/run-node.sh" "$@"
EOS
IO.write testclient_shimscript, <<-EOS.undent
IO.write testclient_shimscript, <<~EOS
#!/bin/sh
exec "#{staged_path}/EventStore-OSS-MacOSX-v#{version}/testclient" "$@"
EOS

View File

@ -14,7 +14,7 @@ cask 'fiddler' do
binary shimscript, target: 'fiddler'
preflight do
IO.write shimscript, <<-EOS.undent
IO.write shimscript, <<~EOS
#!/bin/bash
cd "$(dirname "$(readlink -n "${0}")")" && \
mono Fiddler.exe "${@}"

View File

@ -8,7 +8,7 @@ cask 'firestormos' do
app 'FirestormOS-Releasex64.app'
caveats <<-EOS.undent
caveats <<~EOS
This version does not contain Havok engine (does not matter if you're not a content creator).
Most problems that crop up during updates can be resolved or fixed by performing a clean install:

View File

@ -14,7 +14,7 @@ cask 'fontforge' do
app 'FontForge.app'
caveats <<-EOS.undent
caveats <<~EOS
#{token} will only run from within /Applications,
and will request to be moved at launch.
EOS

View File

@ -22,7 +22,7 @@ cask 'glimmerblocker' do
'/Library/Logs/GlimmerBlocker',
]
caveats <<-EOS.undent
caveats <<~EOS
You must deactivate GlimmerBlocker from the installed preference
pane before uninstalling. See http://glimmerblocker.org/wiki/Uninstall.
EOS

View File

@ -18,7 +18,7 @@ cask 'gnubg' do
app 'gnubg.app'
caveats <<-EOS.undent
caveats <<~EOS
#{token} only works if called from /Applications, so you may need to install it with
brew cask install #{token} --appdir=/Applications
EOS

View File

@ -15,7 +15,7 @@ cask 'gogs' do
binary shimscript, target: 'gogs'
preflight do
IO.write shimscript, <<-EOS.undent
IO.write shimscript, <<~EOS
#!/bin/sh
cd '#{staged_path}/gogs' && ./gogs "$@"
EOS

View File

@ -17,7 +17,7 @@ cask 'google-cloud-sdk' do
uninstall delete: "#{staged_path}/#{token}" # Not actually necessary, since it would be deleted anyway. It is present to make clear an uninstall was not forgotten and that for this cask it is indeed this simple.
caveats <<-EOS.undent
caveats <<~EOS
#{token} is installed at #{staged_path}/#{token}. Add your profile:
for bash users

View File

@ -14,7 +14,7 @@ cask 'grads' do
binary "grads-#{version}/bin/stnmap"
binary "grads-#{version}/bin/wgrib"
caveats <<-EOS.undent
caveats <<~EOS
In order to use the GrADS tools, you will need
the GrADS fonts and maps data sets, and may need
to set some environmental variables.

View File

@ -17,7 +17,7 @@ cask 'handy-outliner' do
shimscript = "#{staged_path}/handy-outliner"
preflight do
IO.write shimscript, <<-EOS.undent
IO.write shimscript, <<~EOS
# !/bin/sh
BASEDIR="$(dirname "$(readlink -n $0)")"
$BASEDIR/handyoutliner_#{version}/start-macos

View File

@ -11,7 +11,7 @@ cask 'hear' do
app 'Hear.app'
# TODO: an uninstall stanza should be provided, and this message removed
caveats <<-EOS.undent
caveats <<~EOS
To uninstall, open Hear.app and choose the menu item "Hear > Uninstall"
EOS
end

View File

@ -10,7 +10,7 @@ cask 'hortonworks-hive-odbc' do
uninstall pkgutil: 'hortonworks.hiveodbc'
caveats <<-EOS.undent
caveats <<~EOS
For configuration instructions, see
/opt/hortonworks/hiveodbc/Readme.txt

View File

@ -26,7 +26,7 @@ cask 'imazing-mini' do
'/Users/Shared/iMazing Mini',
]
caveats <<-EOS.undent
caveats <<~EOS
Performing a zap on this cask removes files pertaining to both #{token}
and imazing, so it should not be done if you only want to uninstall one of them.
EOS

View File

@ -32,7 +32,7 @@ cask 'imazing' do
'/Users/Shared/iMazing',
]
caveats <<-EOS.undent
caveats <<~EOS
Performing a zap on this cask removes files pertaining to both #{token}
and imazing-mini, so it should not be done if you only want to uninstall one of them.
EOS

View File

@ -18,7 +18,7 @@ cask 'intel-haxm' do
args: ['-u'],
}
caveats <<-EOS.undent
caveats <<~EOS
Installing this Cask means you have AGREED to the Intel® Hardware Accelerated Execution Manager End-User License Agreement - macOS at
https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager-end-user-license-agreement-macosx

View File

@ -9,7 +9,7 @@ cask 'ioquake3' do
suite 'ioquake3'
caveats <<-EOS.undent
caveats <<~EOS
To complete the installation of #{token}, you will have to copy the file 'pak0.pk3' from your Quake 3 Arena installation support directory into
#{appdir}/ioquake3/baseq3/ or ~/Library/Application Support/Quake3/baseq3/

View File

@ -11,7 +11,7 @@ cask 'jad' do
binary 'jad'
artifact 'jad.1', target: "#{HOMEBREW_PREFIX}/share/man/man1/jad.1"
caveats <<-EOS.undent
caveats <<~EOS
Instructions on using jad are available in
#{staged_path}/Readme.txt

View File

@ -25,7 +25,7 @@ cask 'java-jdk-javadoc' do
end
end
caveats <<-EOS.undent
caveats <<~EOS
Installing this Cask means you have AGREED to the Oracle Binary Code
License Agreement for Java SE at

View File

@ -95,7 +95,7 @@ cask 'java' do
'~/Library/Application Support/Oracle/',
]
caveats <<-EOS.undent
caveats <<~EOS
This Cask makes minor modifications to the JRE to prevent issues with
packaged applications, as discussed here:

View File

@ -10,7 +10,7 @@ cask 'jsl' do
binary "jsl-#{version}-mac/jsl"
caveats <<-EOS.undent
caveats <<~EOS
Test and configuration files for JavaScript Lint are available in
#{staged_path}

View File

@ -15,7 +15,7 @@ cask 'kdiff3' do
binary shimscript, target: 'kdiff3'
preflight do
IO.write shimscript, <<-EOS.undent
IO.write shimscript, <<~EOS
#!/bin/bash
'#{appdir}/kdiff3.app/Contents/MacOS/kdiff3' "$@"
EOS

View File

@ -9,7 +9,7 @@ cask 'kindlegen' do
binary 'kindlegen'
caveats <<-EOS.undent
caveats <<~EOS
Instructions on using KindleGen are available in
#{staged_path}/manual.html

View File

@ -13,7 +13,7 @@ cask 'korean-spelling-checker' do
uninstall delete: '~/Library/Services/✔ 선택한 글의 한국어 맞춤법 검사하기.workflow'
caveats <<-EOS.undent
caveats <<~EOS
#{token} only works when you install it manually via Service Installer,
so you may need to run the installer with

View File

@ -12,7 +12,7 @@ cask 'ksdiff' do
uninstall pkgutil: 'com.blackpixel.kaleidoscope.ksdiff.installer.pkg'
caveats <<-EOS.undent
caveats <<~EOS
The #{token} Cask is not needed when installing Kaleidoscope via Cask. It
is provided for users who have purchased Kaleidoscope via the App Store.
EOS

View File

@ -572,7 +572,7 @@ cask 'libreoffice-language-pack' do
end
caveats do
<<-EOS.undent
<<~EOS
#{token} assumes LibreOffice is installed in #{appdir}. If it is not, youll need to run #{staged_path}/LibreOffice Language Pack.app manually.
EOS
end

View File

@ -26,7 +26,7 @@ cask 'libreoffice' do
binary shimscript, target: 'soffice'
preflight do
IO.write shimscript, <<-EOS.undent
IO.write shimscript, <<~EOS
#!/bin/sh
'#{appdir}/LibreOffice.app/Contents/MacOS/soffice' "$@"
EOS

View File

@ -26,10 +26,10 @@ cask 'lilypond' do
preflight do
binaries.each do |shimscript|
# shim script (https://github.com/caskroom/homebrew-cask/issues/18809)
IO.write "#{staged_path}/#{shimscript}.wrapper.sh", <<-EOS.undent
#!/bin/sh
exec '#{appdir}/LilyPond.app/Contents/Resources/bin/#{shimscript}' "$@"
EOS
IO.write "#{staged_path}/#{shimscript}.wrapper.sh", <<~EOS
#!/bin/sh
exec '#{appdir}/LilyPond.app/Contents/Resources/bin/#{shimscript}' "$@"
EOS
end
end

View File

@ -14,7 +14,7 @@ cask 'logdna-agent' do
uninstall pkgutil: 'com.logdna.logdna-agent',
launchctl: 'com.logdna.logdna-agentd'
caveats <<-EOS.undent
caveats <<~EOS
When you first start logdna-agent, you must set your LogDNA API key with the command:
sudo logdna-agent -k <api-key>

View File

@ -15,7 +15,7 @@ cask 'logisim-evolution' do
binary shimscript, target: 'logisim-evolution'
preflight do
IO.write shimscript, <<-EOS.undent
IO.write shimscript, <<~EOS
#!/bin/bash
cd "$(dirname "$(readlink -n "${0}")")" && \
java "${@}" -jar 'logisim-evolution.jar'

View File

@ -73,7 +73,7 @@ cask 'mactex-no-ghostscript' do
'~/Library/texlive',
]
caveats <<-EOS.undent
caveats <<~EOS
This Cask installs ghostscript from Homebrew instead of the one packaged with MacTeX.
EOS
end

View File

@ -16,7 +16,7 @@ cask 'mars' do
binary shimscript, target: 'mars'
preflight do
IO.write shimscript, <<-EOS.undent
IO.write shimscript, <<~EOS
#!/bin/bash
cd "$(dirname "$(readlink -n "${0}")")" && \
java "${@}" -jar 'Mars#{version.before_comma.dots_to_underscores}.jar'

View File

@ -11,7 +11,7 @@ cask 'megacmd-app' do
zap trash: '~/.megaCmd'
caveats <<-EOS.undent
caveats <<~EOS
#{token} only works if called from /Applications, so you may need to install it with
brew cask install --appdir=/Applications #{token}
EOS

View File

@ -10,7 +10,7 @@ cask 'megasync' do
app 'MEGAsync.app'
caveats <<-EOS.undent
caveats <<~EOS
#{token} only works if called from /Applications, so you may need to install it with
brew cask install --appdir=/Applications #{token}
EOS

View File

@ -14,7 +14,7 @@ cask 'minecraft-server' do
binary shimscript, target: 'minecraft-server'
preflight do
IO.write shimscript, <<-EOS.undent
IO.write shimscript, <<~EOS
#!/bin/sh
cd "$(dirname "$(readlink -n $0)")" && \
java -Xmx1024M -Xms1024M -jar 'minecraft_server.#{version}.jar' nogui
@ -29,7 +29,7 @@ cask 'minecraft-server' do
end
caveats do
<<-EOS.undent
<<~EOS
To run this app, type "#{token}" in terminal.
To configure the server take a look at the files staged at #{staged_path}
EOS

View File

@ -13,7 +13,7 @@ cask 'mono-mdk' do
uninstall delete: '/private/etc/paths.d/mono-commands',
pkgutil: 'com.xamarin.mono-*'
caveats <<-EOS.undent
caveats <<~EOS
Installing #{token} removes mono and mono dependant formula binaries in
/usr/local/bin and adds #{token} to /private/etc/paths.d/
You may want to:

View File

@ -29,7 +29,7 @@ cask 'ncar-ncl' do
uninstall delete: "#{HOMEBREW_PREFIX}/ncl-#{version}"
caveats <<-EOS.undent
caveats <<~EOS
To use ncar-ncl, you must add the ${NCARG_ROOT}/bin directory
to your PATH environment variable.

View File

@ -14,7 +14,7 @@ cask 'p4merge' do
'~/Library/Saved Application State/com.perforce.p4merge.savedState',
]
caveats <<-EOS.undent
caveats <<~EOS
git can be configured to use p4merge as a merge tool via
https://pempek.net/articles/2014/04/18/git-p4merge/

View File

@ -11,7 +11,7 @@ cask 'password-gorilla' do
app 'Password Gorilla.app'
caveats <<-EOS.undent
caveats <<~EOS
Gatekeeper may need to be temporarily disabled for the first launch.
See https://gorilla.dp100.com/downloads/MacOS-Gatekeeper.html
EOS

View File

@ -89,7 +89,7 @@ cask 'pcp' do
zap trash: '~/.pcp'
caveats <<-EOS.undent
caveats <<~EOS
During installation 2 windows will pop up asking your permission for access for network ports for `pmlogger` and `pmcd`. This is expected.
System Integrity Protection may intefere with this install - If the installer takes more than a minute to complete, you may need to reboot.

View File

@ -11,7 +11,7 @@ cask 'perforce' do
binary 'p4d'
binary 'p4p'
caveats <<-EOS.undent
caveats <<~EOS
Instructions on using the Helix Versioning Engine are available in
#{staged_path}

View File

@ -27,7 +27,7 @@ cask 'powershell' do
'~/.local',
]
caveats <<-EOS.undent
caveats <<~EOS
A OpenSSL-backed libcurl is required for custom handling of certificates.
This is rarely needed, but you can install it with
brew install curl --with-openssl

View File

@ -13,7 +13,7 @@ cask 'prey' do
uninstall pkgutil: 'com.prey.agent',
launchctl: 'com.prey.agent'
caveats <<-EOS.undent
caveats <<~EOS
Prey requires your API key, found in the bottom-left corner of
the Prey web account Settings page, to complete installation.
The API key may be set as an environment variable as follows:

View File

@ -13,7 +13,7 @@ cask 'qgis' do
uninstall pkgutil: 'org.qgis.qgis-*'
caveats <<-EOS.undent
caveats <<~EOS
#{token} requires matplotlib in a specific location. Please run the following to finish install:
sudo ln -s /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python /Library/Python/2.7/site-packages/matplotlib-override

View File

@ -15,7 +15,7 @@ cask 'quakespasm' do
FileUtils.mv(staged_path.children, staged_path.join('QuakeSpasm').tap(&:mkpath))
end
caveats <<-EOS.undent
caveats <<~EOS
To complete the installation of #{token}, you will have to copy the file 'pak0.pak' and 'pak1.pak'
from your Quake 1 installation support directory into #{appdir}/QuakeSpasm/id1/
EOS

View File

@ -11,7 +11,7 @@ cask 'rar' do
artifact 'rar/default.sfx', target: "#{HOMEBREW_PREFIX}/lib/default.sfx"
artifact 'rar/rarfiles.lst', target: "#{HOMEBREW_PREFIX}/etc/rarfiles.lst"
caveats <<-EOS.undent
caveats <<~EOS
Instructions on using rar and unrar are available in
#{staged_path}/rar/rar.txt

View File

@ -11,7 +11,7 @@ cask 'rstudio' do
zap delete: '~/.rstudio-desktop'
caveats <<-EOS.undent
caveats <<~EOS
#{token} depends on R.
There are different ways to satisfy that dependency and we dont want to impose one, so it is up to you to satisfy it.
We suggest you do so by running one of:

View File

@ -22,7 +22,7 @@ cask 'sencha' do
sudo: true,
}
caveats <<-EOS.undent
caveats <<~EOS
Installing this Cask means you have AGREED to the Sencha Cmd License
https://www.sencha.com/legal/sencha-tools-software-license-agreement/

View File

@ -16,7 +16,7 @@ cask 'squirrelsql' do
preflight do
# shim script (https://github.com/caskroom/homebrew-cask/issues/18809)
File.open(installoptions, 'w') do |f|
f.print <<-EOS.undent
f.print <<~EOS
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<AutomatedInstallation langpack="eng">
<com.izforge.izpack.panels.HelloPanel id="UNKNOWN (com.izforge.izpack.panels.HelloPanel)"/>

View File

@ -14,7 +14,7 @@ cask 'steamcmd' do
binary shimscript, target: 'steamcmd'
preflight do
IO.write shimscript, <<-EOS.undent
IO.write shimscript, <<~EOS
#!/bin/sh
exec '#{staged_path}/steamcmd.sh' "$@"
EOS

View File

@ -33,7 +33,7 @@ cask 'tunnelblick' do
'~/Library/Preferences/net.tunnelblick.tunnelblick.plist',
]
caveats <<-EOS.undent
caveats <<~EOS
For security reasons, #{token} must be installed to /Applications,
and will request to be moved at launch.
EOS

View File

@ -13,7 +13,7 @@ cask 'virtual-ii' do
FileUtils.mv(staged_path.children, staged_path.join('Virtual ][').tap(&:mkpath))
end
caveats <<-EOS.undent
caveats <<~EOS
This app requires a ROM image, which must be downloaded and installed
separately. See #{homepage}VirtualIIHelp/virtual_II_help.html#ROMImage
for more info.

View File

@ -32,7 +32,7 @@ cask 'virtualbox-extension-pack' do
sudo: true
end
caveats <<-EOS.undent
caveats <<~EOS
Installing this Cask means you have AGREED to the
VirtualBox Personal Use and Evaluation License at

View File

@ -17,7 +17,7 @@ cask 'vlc' do
binary shimscript, target: 'vlc'
preflight do
IO.write shimscript, <<-EOS.undent
IO.write shimscript, <<~EOS
#!/bin/sh
'#{appdir}/VLC.app/Contents/MacOS/VLC' "$@"
EOS

View File

@ -26,7 +26,7 @@ cask 'wine-stable' do
],
delete: '/Applications/Wine stable.app'
caveats <<-EOS.undent
caveats <<~EOS
#{token} installs support for running 64 bit applications in Wine, which is considered experimental.
If you do not want 64 bit support, you should download and install the #{token} package manually.
EOS

View File

@ -56,7 +56,7 @@ cask 'wireshark-chmodbpf' do
caveats do
reboot
<<-EOS.undent
<<~EOS
This cask will install only the ChmodBPF package from the current Wireshark
stable install package.
An access_bpf group will be created and its members allowed access to BPF

View File

@ -18,7 +18,7 @@ cask 'zandronum' do
'~/Library/Preferences/zandronum.ini',
]
caveats <<-EOS.undent
caveats <<~EOS
Install IWADs to ~/Library/Application Support/Zandronum/
For more information, see: https://wiki.zandronum.com/Zandronum_and_IWAD_Files