Douglas Eichelberger
24cf6076e8
brew style --fix
2023-04-24 20:42:39 -07:00
EricFromCanada
b9dab243b5
cask/artifact: fix up some definitions
...
And expand the list of artifacts that target: works with.
2023-04-14 15:47:33 -04:00
Douglas Eichelberger
29c6baeed1
Enable typing in Cask::Artifact
2023-02-22 09:11:29 -08:00
Luca Ongaro
1fc1c82aed
Fix code style and add tests
2023-01-25 00:08:15 +01:00
Luca Ongaro
f5765a73da
Avoid mutating the script argument in place
...
Mutating the argument in place, and in particular deleting the
`:executable` entry, leads to a bug when the same code path leading to
read_script_arguments is invoked twice, like in
https://github.com/Homebrew/homebrew-cask/pull/139749
This commit makes a shallow copy of the argument, so that it can be
safely mutated in the rest of the method.
2023-01-24 23:34:47 +01:00
Rylan Polster
90d22bc7b1
Include dsl key in cask artifact hash
2022-08-25 03:04:48 -04:00
Michael Cho
a0261c4b39
cask uninstall script: allow tilde expansion to '$HOME'
2021-03-28 09:52:49 -07:00
Markus Reiter
da9289eff0
Add more type signatures.
2020-11-13 12:26:36 +01:00
Markus Reiter
24ae318a3d
Move type annotations into files.
2020-10-10 14:59:39 +02:00
Markus Reiter
b4e8bfe716
Fix RuboCop offenses.
2020-10-09 11:17:55 +02:00
Markus Reiter
5426e47579
Document Artifact
.
2020-08-26 03:13:59 +02:00
Jonathan Chang
76709d82c5
Fix brew style
.
2020-07-13 23:24:14 +10:00
Dario Vladovic
3a21ca8956
Implement mdimporter
cask stanza
2020-04-06 15:24:14 +02:00
Markus Reiter
54ab3dd7c4
Install pkg
before app
.
2019-10-24 15:04:01 +02:00
Tim Masliuchenko
6d1fafae13
Final tweaks
2019-10-24 09:43:59 +03:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files.
2019-04-20 13:27:36 +09:00
EricFromCanada
15c38a2d8b
formatting fixes
2019-04-13 21:29:32 -04:00
Markus Reiter
42d90f8bd9
Use same logic for installer script:
and uninstall script:
.
2019-03-03 06:21:11 +01:00
Markus Reiter
190ff7558a
Use saved cask config for reinstall/upgrade/uninstall.
2019-02-15 10:09:14 +01:00
Markus Reiter
a84a1c63db
Rename Hbc
module to Cask
.
2018-09-06 09:30:52 +02:00
Mike McQuaid
90b3a13909
cask: move cask/lib/hbc/* to cask/*.
...
Fix the load path, requires and some filenames accordingly.
2018-09-04 09:56:57 +01:00