shellboxCLI 0.2.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aac4b01bfb6c6db9b77dd060523ea4280c1a2f3a248d93f3a4139120203d7713
4
- data.tar.gz: 01034bba077655b5c4fac55c3d3dfcf33a4032dd761c9874889481a1e86a9fc4
3
+ metadata.gz: dc3725912cb2ca9ee76f1ee52a2dee89adcbdd8d9a99628ed5cb50ee793dadaf
4
+ data.tar.gz: 85080a33f48cc53e0a8c2658b5211ed8e72bab3a7ba26680f26101145c90606c
5
5
  SHA512:
6
- metadata.gz: 2c595b85ad36ef2e4a96c30c733da356cddb28ba85a0e622d12c57a14712994a9732012d22a162ad6b903c3a18417e32b63c03a8af5dd947355813b7d8e9d3a7
7
- data.tar.gz: b37d7f0795fb47d17ea6bcf75541a593f1dcc26dac3526075f14edc7db1ec0e4393b19612882d5fe10d638296e512aa47399ad5a676d60a245e567da926b9573
6
+ metadata.gz: 9b5261bc384728615d0af8529152e431ab9b068f2e438ac2914afd29bab0a682948e73c69af7f185630e55ebe0525f14f8d1837ad9768475c6f6c32cd5e03f9e
7
+ data.tar.gz: 71902f15276619d3eae2b1c33d6a4ffbea989d62d2d552aac9592b20e41e62b4fc15e22669827ffaf5247b60a9c9185f1dc6c78452483acec76a20e92b5f025b
data/lib/ios/iosOption.rb CHANGED
@@ -20,6 +20,11 @@ module App
20
20
  IOS::TuistCommands.new.generateExample
21
21
  end
22
22
 
23
+ desc "build", "Build project using Tuist"
24
+ def build
25
+ IOS::TuistCommands.new.build
26
+ end
27
+
23
28
  desc "install", "Install scripts and templates in project"
24
29
  def install
25
30
  puts "Verificando se existe Homebrew instalado"
@@ -33,7 +33,7 @@ module IOS
33
33
  puts ""
34
34
  puts "Projeto criado com " + "Sucesso".green
35
35
  puts Dir.pwd
36
- if Dir.exists? "Example"
36
+ if Dir.exist? "Example"
37
37
  Dir.chdir "Example" do
38
38
  puts "Caso deseja abrir o projeto de Exemplo, digite " + "[" + "Y".underlined.yellow + "es]".yellow
39
39
 
@@ -49,4 +49,4 @@ module IOS
49
49
  end
50
50
 
51
51
  end
52
- end
52
+ end
@@ -83,7 +83,7 @@ module IOS
83
83
  end
84
84
 
85
85
  def run
86
- raise "Para rodar a rotina, você deve estar na raiz do projeto" if not File.exists?(@project_filename)
86
+ raise "Para rodar a rotina, você deve estar na raiz do projeto" if not File.exist?(@project_filename)
87
87
 
88
88
  @pod_name = ask("Qual o nome do módulo?")
89
89
  ConfigureSwift.perform(configurator: self)
@@ -108,7 +108,7 @@ module IOS
108
108
  end
109
109
 
110
110
  def run_tuist_generate
111
- if Dir.exists? "Example"
111
+ if Dir.exist? "Example"
112
112
  Dir.chdir "Example" do
113
113
  @tuist_commands.generateExample(false)
114
114
  printDone
@@ -117,7 +117,7 @@ module IOS
117
117
  end
118
118
 
119
119
  def run_swiftgen
120
- if File.exists? "swiftgen.yml"
120
+ if File.exist? "swiftgen.yml"
121
121
  printMessage("Rodando " + "swiftgen".magenta + " no módulo")
122
122
  @message_bank.run_command "swiftgen"
123
123
  printDone
@@ -23,5 +23,10 @@ module IOS
23
23
  puts "Navegue até o diretório do Example!".red
24
24
  end
25
25
  end
26
+
27
+ def build
28
+ puts "Rodando " + "tuist build".magenta
29
+ system('tuist build')
30
+ end
26
31
  end
27
32
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shellboxCLI
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ShellBox App
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-02 00:00:00.000000000 Z
11
+ date: 2024-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor