souyuz 0.6.7 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +14 -0
- data/lib/souyuz/generators/build_command_generator.rb +6 -2
- data/lib/souyuz/options.rb +12 -8
- data/lib/souyuz/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7595a2741618f032f10c932d676938087c1afe0
|
4
|
+
data.tar.gz: 22ff2fd94f2c6c6787c3227eb0d995b0cd27ae88
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b72f5541bede07f4556d0c8a245f64ac23582d8f5ca6c0a5629a57cbb4c6d3e346ef12a5018b60db0c8a3264ac78a5874fdbc44caee9101e7bd2b83c4c5cc7b7
|
7
|
+
data.tar.gz: 885f7d68b6e4870dce060ebf45f4ca2b46dcaf66f59a9c1153ac7a276589f93b0de5d73a54438844d1f282c54e33e700afecded8fb49ef005013df70ec462ab4
|
data/README.md
CHANGED
@@ -4,6 +4,20 @@ A fastlane component to make Xamarin builds a breeze. Souyuz is now avaialbe as
|
|
4
4
|
|
5
5
|
*NOTE: While souyuz should continue working with your existing configuration just fine, consider using the Fastlane plugin.*
|
6
6
|
|
7
|
+
## Using MSBuild
|
8
|
+
|
9
|
+
Since Version 0.7.0 souyuz is using `msbuild` by default, because according to Xamarin `xbuild` is deprecated and will be removed soon.
|
10
|
+
|
11
|
+
This change should not affect you under normal circumstances. Anyway, if you experience any issues there is a new config option `compiler_bin`, where you can easily pass `xbuild` in again.
|
12
|
+
|
13
|
+
Usage example:
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
souyuz(
|
17
|
+
compiler_bin: 'xbuild' # if xbuild is in your $PATH env variable
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
7
21
|
## ToDos
|
8
22
|
|
9
23
|
* clean up code (!!!)
|
@@ -1,11 +1,11 @@
|
|
1
1
|
# -*- encoding : utf-8 -*-
|
2
2
|
module Souyuz
|
3
|
-
# Responsible for building the fully working
|
3
|
+
# Responsible for building the fully working build command
|
4
4
|
class BuildCommandGenerator
|
5
5
|
class << self
|
6
6
|
def generate
|
7
7
|
parts = prefix
|
8
|
-
parts <<
|
8
|
+
parts << compiler_bin
|
9
9
|
parts += options
|
10
10
|
parts += targets
|
11
11
|
parts += project
|
@@ -18,6 +18,10 @@ module Souyuz
|
|
18
18
|
["set -o pipefail &&"]
|
19
19
|
end
|
20
20
|
|
21
|
+
def compiler_bin
|
22
|
+
Souyuz.config[:compiler_bin]
|
23
|
+
end
|
24
|
+
|
21
25
|
def options
|
22
26
|
config = Souyuz.config
|
23
27
|
|
data/lib/souyuz/options.rb
CHANGED
@@ -10,30 +10,34 @@ module Souyuz
|
|
10
10
|
description: "Hide all information that's not necessary while building",
|
11
11
|
default_value: false,
|
12
12
|
is_string: false),
|
13
|
+
FastlaneCore::ConfigItem.new(key: :compiler_bin,
|
14
|
+
env_name: "SOUYUZ_COMPILER_BIN",
|
15
|
+
description: "Path to the compiler binary",
|
16
|
+
default_value: 'msbuild'),
|
13
17
|
FastlaneCore::ConfigItem.new(key: :build_configuration,
|
14
18
|
env_name: "SOUYUZ_BUILD_CONFIGURATION",
|
15
|
-
description: "
|
19
|
+
description: "Build configuration value",
|
16
20
|
default_value: 'Release'),
|
17
21
|
FastlaneCore::ConfigItem.new(key: :build_platform,
|
18
22
|
env_name: "SOUYUZ_BUILD_PLATFORM",
|
19
|
-
description: "
|
23
|
+
description: "Build platform value",
|
20
24
|
default_value: 'iPhone'),
|
21
25
|
FastlaneCore::ConfigItem.new(key: :build_target,
|
22
26
|
env_name: "SOUYUZ_BUILD_TARGET",
|
23
|
-
description: "
|
27
|
+
description: "Build targets to build",
|
24
28
|
default_value: [ 'Build' ],
|
25
29
|
type: Array),
|
26
30
|
FastlaneCore::ConfigItem.new(key: :output_path,
|
27
31
|
env_name: "SOUYUZ_BUILD_OUTPUT_PATH",
|
28
|
-
description: "
|
32
|
+
description: "Build output path",
|
29
33
|
optional: true),
|
30
34
|
FastlaneCore::ConfigItem.new(key: :project_name,
|
31
35
|
env_name: "SOUYUZ_BUILD_PROJECT_NAME",
|
32
|
-
description: "
|
36
|
+
description: "Build project name",
|
33
37
|
optional: true),
|
34
38
|
FastlaneCore::ConfigItem.new(key: :assembly_name,
|
35
39
|
env_name: "SOUYUZ_BUILD_ASSEMBLY_NAME",
|
36
|
-
description: "
|
40
|
+
description: "Build assembly name",
|
37
41
|
optional: true),
|
38
42
|
FastlaneCore::ConfigItem.new(key: :platform,
|
39
43
|
env_name: "SOUYUZ_PLATFORM",
|
@@ -41,11 +45,11 @@ module Souyuz
|
|
41
45
|
optional: false),
|
42
46
|
FastlaneCore::ConfigItem.new(key: :solution_path,
|
43
47
|
env_name: "SOUYUZ_SOLUTION_PATH",
|
44
|
-
description: "Path to the
|
48
|
+
description: "Path to the build solution (sln) file",
|
45
49
|
optional: true),
|
46
50
|
FastlaneCore::ConfigItem.new(key: :project_path,
|
47
51
|
env_name: "SOUYUZ_PROJECT_PATH",
|
48
|
-
description: "Path to the
|
52
|
+
description: "Path to the build project (csproj) file",
|
49
53
|
optional: true),
|
50
54
|
FastlaneCore::ConfigItem.new(key: :manifest_path,
|
51
55
|
env_name: "SOUYUZ_ANDROID_MANIFEST_PATH",
|
data/lib/souyuz/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: souyuz
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Rudat
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|