Skip to content

Commit

Permalink
cmake: link man pages and bump version (#106639)
Browse files Browse the repository at this point in the history
* Add cmake manpages

* Update cmake version
  • Loading branch information
muneebmahmed authored Jun 1, 2021
1 parent 8a1f940 commit a631833
Showing 1 changed file with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions Casks/cmake.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cask "cmake" do
version "3.20.2"
sha256 "988f7648dc1df20af59df1b545bfa35059b94eb62aa5c63fdfaedc10bc62f5e4"
version "3.20.3"
sha256 "101050dcee3a19a7db4dc46ef3b222b5dc5329391baa0645ff6ad2fcb559d938"

url "https://cmake.org/files/LatestRelease/cmake-#{version}-macos-universal.dmg"
name "CMake"
Expand All @@ -20,6 +20,30 @@
binary "#{appdir}/CMake.app/Contents/bin/cpack"
binary "#{appdir}/CMake.app/Contents/bin/ctest"
binary "#{appdir}/CMake.app/Contents/bin/cmake-gui"
manpage "#{appdir}/CMake.app/Contents/man/man1/cmake.1"
manpage "#{appdir}/CMake.app/Contents/man/man1/ccmake.1"
manpage "#{appdir}/CMake.app/Contents/man/man1/cpack.1"
manpage "#{appdir}/CMake.app/Contents/man/man1/ctest.1"
manpage "#{appdir}/CMake.app/Contents/man/man1/cmake-gui.1"
manpage "#{appdir}/CMake.app/Contents/man/man7/cmake-buildsystem.7"
manpage "#{appdir}/CMake.app/Contents/man/man7/cmake-commands.7"
manpage "#{appdir}/CMake.app/Contents/man/man7/cmake-compile-features.7"
manpage "#{appdir}/CMake.app/Contents/man/man7/cmake-developer.7"
manpage "#{appdir}/CMake.app/Contents/man/man7/cmake-env-variables.7"
manpage "#{appdir}/CMake.app/Contents/man/man7/cmake-file-api.7"
manpage "#{appdir}/CMake.app/Contents/man/man7/cmake-generator-expressions.7"
manpage "#{appdir}/CMake.app/Contents/man/man7/cmake-generators.7"
manpage "#{appdir}/CMake.app/Contents/man/man7/cmake-language.7"
manpage "#{appdir}/CMake.app/Contents/man/man7/cmake-modules.7"
manpage "#{appdir}/CMake.app/Contents/man/man7/cmake-packages.7"
manpage "#{appdir}/CMake.app/Contents/man/man7/cmake-policies.7"
manpage "#{appdir}/CMake.app/Contents/man/man7/cmake-presets.7"
manpage "#{appdir}/CMake.app/Contents/man/man7/cmake-properties.7"
manpage "#{appdir}/CMake.app/Contents/man/man7/cmake-qt.7"
manpage "#{appdir}/CMake.app/Contents/man/man7/cmake-server.7"
manpage "#{appdir}/CMake.app/Contents/man/man7/cmake-toolchains.7"
manpage "#{appdir}/CMake.app/Contents/man/man7/cmake-variables.7"
manpage "#{appdir}/CMake.app/Contents/man/man7/cpack-generators.7"

zap trash: [
"~/Library/Preferences/org.cmake.cmake.plist",
Expand Down

0 comments on commit a631833

Please sign in to comment.