2 arch arm: "macos-aarch64", intel: "macos"
4 version "2024.1.1,241.19072.1155"
5 sha256 arm: "381b6c527f444ca2ea652054e172afee2096c29ad445cec7fa7fe6432cb41bea",
6 intel: "85f936a8d4a610b0232f5716f364cfae6edac5322fd40714c07e9ffabb11e85a"
8 url "https://download.jetbrains.com/mps/#{version.major_minor}/MPS-#{version.csv.first}-#{arch}.dmg"
10 desc "Create your own domain-specific language"
11 homepage "https://www.jetbrains.com/mps/"
14 url "https://data.services.jetbrains.com/products/releases?code=MPS&latest=true&type=release"
15 strategy :json do |json|
16 json["MPS"]&.map do |release|
17 version = release["version"]
18 build = release["build"]
19 next if version.blank? || build.blank?
27 depends_on macos: ">= :high_sierra"
29 app "MPS #{version.major_minor}.app", target: "MPS.app"
30 binary "#{appdir}/MPS.app/Contents/MacOS/mps"
33 "~/Library/Application Support/MPS#{version.csv.first.major_minor}",
34 "~/Library/Caches/MPS#{version.csv.first.major_minor}",
35 "~/Library/Logs/MPS#{version.csv.first.major_minor}",
36 "~/Library/Preferences/MPS#{version.csv.first.major_minor}",
37 "~/MPSSamples.#{version.csv.first.major_minor}",