Skip to content

Commit ed17a36

Browse files
authored
Move require outside cask (#15)
* move require outside cask * fix format
1 parent d52f6b1 commit ed17a36

File tree

1 file changed

+20
-19
lines changed

1 file changed

+20
-19
lines changed

Casks/dev-cloud.rb

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,26 @@
1-
cask "dev-cloud" do
2-
config_file = './local_config.rb'
3-
require config_file if File.file? config_file
4-
VENV_VERSION ||= '.'
1+
config_file = './local_config.rb'
2+
require config_file if File.file? config_file
3+
VENV_VERSION ||= '.'
54

6-
version VENV_VERSION
7-
sha256 :no_check
5+
cask "dev-cloud" do
86

9-
url "https://github.com/DocPlanner/dev-cloud-releases/releases/download/#{version}/dev-#{version}-osx-x64.zip"
10-
name "Dev Cloud"
11-
desc "CLI to develop applications in the cloud"
12-
homepage "https://github.com/DocPlanner/dev-cloud"
7+
version VENV_VERSION
8+
sha256 :no_check
139

14-
binary "dev"
15-
auto_updates true
10+
url "https://github.com/DocPlanner/dev-cloud-releases/releases/download/#{version}/dev-#{version}-osx-x64.zip"
11+
name "Dev Cloud"
12+
desc "CLI to develop applications in the cloud"
13+
homepage "https://github.com/DocPlanner/dev-cloud"
1614

17-
livecheck do
18-
url "https://github.com/DocPlanner/dev-cloud-releases"
19-
strategy :github_latest
20-
end
15+
binary "dev"
16+
auto_updates true
2117

22-
depends_on formula: "awscli"
23-
depends_on formula: "devspace"
24-
depends_on formula: "kubernetes-cli"
18+
livecheck do
19+
url "https://github.com/DocPlanner/dev-cloud-releases"
20+
strategy :github_latest
2521
end
22+
23+
depends_on formula: "awscli"
24+
depends_on formula: "devspace"
25+
depends_on formula: "kubernetes-cli"
26+
end

0 commit comments

Comments
 (0)