teapot 3.5.3 → 3.6.0
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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/bin/teapot +2 -1
- data/lib/teapot/command/build.rb +10 -25
- data/lib/teapot/command/clean.rb +6 -21
- data/lib/teapot/command/clone.rb +10 -25
- data/lib/teapot/command/create.rb +19 -34
- data/lib/teapot/command/fetch.rb +27 -42
- data/lib/teapot/command/list.rb +7 -22
- data/lib/teapot/command/selection.rb +5 -20
- data/lib/teapot/command/status.rb +7 -22
- data/lib/teapot/command/visualize.rb +13 -28
- data/lib/teapot/command.rb +28 -43
- data/lib/teapot/configuration.rb +35 -50
- data/lib/teapot/context.rb +24 -39
- data/lib/teapot/definition.rb +7 -22
- data/lib/teapot/loader.rb +13 -28
- data/lib/teapot/package.rb +17 -32
- data/lib/teapot/project.rb +5 -20
- data/lib/teapot/select.rb +11 -26
- data/lib/teapot/target.rb +9 -24
- data/lib/teapot/version.rb +5 -20
- data/lib/teapot.rb +4 -19
- data/license.md +21 -0
- data/notes.md +74 -0
- data/readme.md +178 -0
- data/releases.md +5 -0
- data.tar.gz.sig +0 -0
- metadata +22 -65
- metadata.gz.sig +0 -0
data/lib/teapot/select.rb
CHANGED
|
@@ -1,39 +1,24 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
3
|
-
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
-
# of this software and associated documentation files (the "Software"), to deal
|
|
5
|
-
# in the Software without restriction, including without limitation the rights
|
|
6
|
-
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
7
|
-
# copies of the Software, and to permit persons to whom the Software is
|
|
8
|
-
# furnished to do so, subject to the following conditions:
|
|
9
|
-
#
|
|
10
|
-
# The above copyright notice and this permission notice shall be included in
|
|
11
|
-
# all copies or substantial portions of the Software.
|
|
12
|
-
#
|
|
13
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
-
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
-
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
-
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
-
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
|
-
# THE SOFTWARE.
|
|
1
|
+
# frozen_string_literal: true
|
|
20
2
|
|
|
21
|
-
|
|
22
|
-
|
|
3
|
+
# Released under the MIT License.
|
|
4
|
+
# Copyright, 2019-2026, by Samuel Williams.
|
|
23
5
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
6
|
+
require_relative "loader"
|
|
7
|
+
require_relative "package"
|
|
8
|
+
|
|
9
|
+
require "build/rulebook"
|
|
10
|
+
require "build/text/substitutions"
|
|
11
|
+
require "build/text/merge"
|
|
27
12
|
|
|
28
13
|
module Teapot
|
|
29
14
|
class AlreadyDefinedError < StandardError
|
|
30
15
|
def initialize(definition, previous)
|
|
31
16
|
super "Definition #{definition.name} in #{definition.path} has already been defined in #{previous.path}!"
|
|
32
17
|
end
|
|
33
|
-
|
|
18
|
+
|
|
34
19
|
def self.check(definition, definitions)
|
|
35
20
|
previous = definitions[definition.name]
|
|
36
|
-
|
|
21
|
+
|
|
37
22
|
raise self.new(definition, previous) if previous
|
|
38
23
|
end
|
|
39
24
|
end
|
data/lib/teapot/target.rb
CHANGED
|
@@ -1,29 +1,14 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
3
|
-
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
-
# of this software and associated documentation files (the "Software"), to deal
|
|
5
|
-
# in the Software without restriction, including without limitation the rights
|
|
6
|
-
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
7
|
-
# copies of the Software, and to permit persons to whom the Software is
|
|
8
|
-
# furnished to do so, subject to the following conditions:
|
|
9
|
-
#
|
|
10
|
-
# The above copyright notice and this permission notice shall be included in
|
|
11
|
-
# all copies or substantial portions of the Software.
|
|
12
|
-
#
|
|
13
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
-
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
-
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
-
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
-
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
|
-
# THE SOFTWARE.
|
|
1
|
+
# frozen_string_literal: true
|
|
20
2
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
require_relative 'definition'
|
|
3
|
+
# Released under the MIT License.
|
|
4
|
+
# Copyright, 2012-2026, by Samuel Williams.
|
|
24
5
|
|
|
25
|
-
require
|
|
26
|
-
require
|
|
6
|
+
require "pathname"
|
|
7
|
+
require "build/dependency"
|
|
8
|
+
require_relative "definition"
|
|
9
|
+
|
|
10
|
+
require "build/environment"
|
|
11
|
+
require "build/rulebook"
|
|
27
12
|
|
|
28
13
|
module Teapot
|
|
29
14
|
class BuildError < StandardError
|
data/lib/teapot/version.rb
CHANGED
|
@@ -1,23 +1,8 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
#
|
|
4
|
-
#
|
|
5
|
-
# in the Software without restriction, including without limitation the rights
|
|
6
|
-
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
7
|
-
# copies of the Software, and to permit persons to whom the Software is
|
|
8
|
-
# furnished to do so, subject to the following conditions:
|
|
9
|
-
#
|
|
10
|
-
# The above copyright notice and this permission notice shall be included in
|
|
11
|
-
# all copies or substantial portions of the Software.
|
|
12
|
-
#
|
|
13
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
-
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
-
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
-
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
-
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
|
-
# THE SOFTWARE.
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Released under the MIT License.
|
|
4
|
+
# Copyright, 2012-2026, by Samuel Williams.
|
|
20
5
|
|
|
21
6
|
module Teapot
|
|
22
|
-
VERSION = "3.
|
|
7
|
+
VERSION = "3.6.0"
|
|
23
8
|
end
|
data/lib/teapot.rb
CHANGED
|
@@ -1,22 +1,7 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
#
|
|
4
|
-
#
|
|
5
|
-
# in the Software without restriction, including without limitation the rights
|
|
6
|
-
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
7
|
-
# copies of the Software, and to permit persons to whom the Software is
|
|
8
|
-
# furnished to do so, subject to the following conditions:
|
|
9
|
-
#
|
|
10
|
-
# The above copyright notice and this permission notice shall be included in
|
|
11
|
-
# all copies or substantial portions of the Software.
|
|
12
|
-
#
|
|
13
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
-
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
-
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
-
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
-
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
|
-
# THE SOFTWARE.
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Released under the MIT License.
|
|
4
|
+
# Copyright, 2012-2026, by Samuel Williams.
|
|
20
5
|
|
|
21
6
|
require "teapot/version"
|
|
22
7
|
|
data/license.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# MIT License
|
|
2
|
+
|
|
3
|
+
Copyright, 2012-2026, by Samuel Williams.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
data/notes.md
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# Notes
|
|
2
|
+
|
|
3
|
+
These are just some random design notes.
|
|
4
|
+
|
|
5
|
+
## Target build vs environment
|
|
6
|
+
|
|
7
|
+
It's cumbersome and causes a disconnect between `target.build` and environment provisions. Currently, it's written like this:
|
|
8
|
+
|
|
9
|
+
```ruby
|
|
10
|
+
define_target "time-library" do |target|
|
|
11
|
+
source_root = target.package.path + "source"
|
|
12
|
+
|
|
13
|
+
target.build do
|
|
14
|
+
build prefix: target.name, static_library: "Time", source_files: source_root.glob("Time/**/*.cpp")
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
target.depends "Build/Files"
|
|
18
|
+
target.depends "Build/Clang"
|
|
19
|
+
|
|
20
|
+
target.depends :platform
|
|
21
|
+
target.depends "Language/C++11", private: true
|
|
22
|
+
|
|
23
|
+
target.depends "Build/Files"
|
|
24
|
+
target.depends "Build/Clang"
|
|
25
|
+
|
|
26
|
+
target.provides "Library/Time" do
|
|
27
|
+
append linkflags [
|
|
28
|
+
->{build_prefix + target.name + "Time.a"},
|
|
29
|
+
]
|
|
30
|
+
|
|
31
|
+
append buildflags [
|
|
32
|
+
"-I", ->{source_root},
|
|
33
|
+
]
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Ideally, it's defined all in the environment:
|
|
39
|
+
|
|
40
|
+
```
|
|
41
|
+
target.provides "Library/Time" do
|
|
42
|
+
append linkflags do
|
|
43
|
+
build prefix: target.name, static_library: "Time", source_files: source_root.glob("Time/**/*.cpp")
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
append buildflags [
|
|
47
|
+
"-I", ->{source_root},
|
|
48
|
+
]
|
|
49
|
+
end
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
Perhaps with the ability to share build steps:
|
|
53
|
+
|
|
54
|
+
```ruby
|
|
55
|
+
append linkflags &target.build
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
## Modern format for package definitions.
|
|
59
|
+
|
|
60
|
+
``` ruby
|
|
61
|
+
define_target "test-project-library" do |target|
|
|
62
|
+
source_root = target.package.path + "source"
|
|
63
|
+
|
|
64
|
+
target.depends "Language/C++14", private: true
|
|
65
|
+
|
|
66
|
+
target.provides "Library/TestProject" do
|
|
67
|
+
append include_paths source_root
|
|
68
|
+
|
|
69
|
+
library_path = build static_library: "TestProject", source_files: source_root.glob("TestProject/**/*.cpp")
|
|
70
|
+
|
|
71
|
+
append linkflags library_path
|
|
72
|
+
end
|
|
73
|
+
end
|
|
74
|
+
```
|
data/readme.md
ADDED
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
# 
|
|
2
|
+
|
|
3
|
+
Teapot is a decentralised build tool for managing complex cross-platform projects. It has many goals but it is primarily designed to improve the experience for developers trying to make cross-platform applications and libraries with a minimum of overhead.
|
|
4
|
+
|
|
5
|
+
- Provide useful feedback when dependencies are not met or errors are encountered.
|
|
6
|
+
- Decentralised dependency management allows use within private organisations without exposing code.
|
|
7
|
+
- Generators can simplify the construction of new projects as well as assist with the development of existing ones.
|
|
8
|
+
- The build subsystem provides a simple set of canonical operations for building libraries and executables to minimise configuration overhead.
|
|
9
|
+
|
|
10
|
+
[](https://github.com/kurocha/teapot/actions?workflow=Test)
|
|
11
|
+
|
|
12
|
+
## Installation
|
|
13
|
+
|
|
14
|
+
Ensure that you already have a working install of Ruby 2.0.0+ and run the following to install `teapot`:
|
|
15
|
+
|
|
16
|
+
$ gem install teapot
|
|
17
|
+
|
|
18
|
+
## Usage
|
|
19
|
+
|
|
20
|
+
Please see the [project documentation](http://www.teapot.nz) for more details.
|
|
21
|
+
|
|
22
|
+
### Create Project
|
|
23
|
+
|
|
24
|
+
Firstly, create your project by running:
|
|
25
|
+
|
|
26
|
+
$ teapot create "My Project" https://github.com/kurocha generate-project
|
|
27
|
+
$ cd my-project
|
|
28
|
+
|
|
29
|
+
You will be asked to merge the project file. At present, merge tools are not very good and thus you may need to take a moment to review the changes. You want to keep most of the original file, but you would like to add the `define_target` blocks which are being added.
|
|
30
|
+
|
|
31
|
+
In the resulting project directory that has been created, you can see the list of dependencies:
|
|
32
|
+
|
|
33
|
+
$ teapot list
|
|
34
|
+
... lots of output ...
|
|
35
|
+
|
|
36
|
+
To only see things exported by your current project, you can run:
|
|
37
|
+
|
|
38
|
+
$ teapot list root
|
|
39
|
+
Package root (from /private/tmp/my-project):
|
|
40
|
+
#<Teapot::Project "my-project">
|
|
41
|
+
My Project description.
|
|
42
|
+
- Summary: A brief one line summary of the project.
|
|
43
|
+
- License: MIT License
|
|
44
|
+
- Version: 0.1.0
|
|
45
|
+
- Author: Samuel Williams <samuel.williams@oriontransfer.co.nz>
|
|
46
|
+
#<Teapot::Target "my-project-library">
|
|
47
|
+
- depends on "Build/Files"
|
|
48
|
+
- depends on "Build/Clang"
|
|
49
|
+
- depends on :platform
|
|
50
|
+
- depends on "Language/C++14" {:private=>true}
|
|
51
|
+
- provides "Library/MyProject"
|
|
52
|
+
#<Teapot::Target "my-project-test">
|
|
53
|
+
- depends on "Library/UnitTest"
|
|
54
|
+
- depends on "Library/MyProject"
|
|
55
|
+
- provides "Test/MyProject"
|
|
56
|
+
#<Teapot::Target "my-project-executable">
|
|
57
|
+
- depends on "Build/Files"
|
|
58
|
+
- depends on "Build/Clang"
|
|
59
|
+
- depends on :platform
|
|
60
|
+
- depends on "Language/C++14" {:private=>true}
|
|
61
|
+
- depends on "Library/MyProject"
|
|
62
|
+
- provides "Executable/MyProject"
|
|
63
|
+
#<Teapot::Target "my-project-run">
|
|
64
|
+
- depends on "Executable/MyProject"
|
|
65
|
+
- provides "Run/MyProject"
|
|
66
|
+
#<Teapot::Configuration "development" visibility=private>
|
|
67
|
+
- references root from /private/tmp/my-project
|
|
68
|
+
- clones platforms from https://github.com/kurocha/platforms
|
|
69
|
+
- clones unit-test from https://github.com/kurocha/unit-test
|
|
70
|
+
- clones generate-cpp-class from https://github.com/kurocha/generate-cpp-class
|
|
71
|
+
- clones generate-project from https://github.com/kurocha/generate-project
|
|
72
|
+
- clones variants from https://github.com/kurocha/variants
|
|
73
|
+
- clones platform-darwin-osx from https://github.com/kurocha/platform-darwin-osx
|
|
74
|
+
- clones platform-darwin-ios from https://github.com/kurocha/platform-darwin-ios
|
|
75
|
+
- clones build-clang from https://github.com/kurocha/build-clang
|
|
76
|
+
- clones build-darwin from https://github.com/kurocha/build-darwin
|
|
77
|
+
- clones build-files from https://github.com/kurocha/build-files
|
|
78
|
+
- clones streams from https://github.com/kurocha/streams
|
|
79
|
+
- clones generate-template from https://github.com/kurocha/generate-template
|
|
80
|
+
#<Teapot::Configuration "my-project" visibility=public>
|
|
81
|
+
- references root from /private/tmp/my-project
|
|
82
|
+
|
|
83
|
+
### Run Tests
|
|
84
|
+
|
|
85
|
+
Testing is a good idea, and teapot supports test driven development.
|
|
86
|
+
|
|
87
|
+
$ teapot Test/MyProject
|
|
88
|
+
|
|
89
|
+
#### Wildcard Targets
|
|
90
|
+
|
|
91
|
+
To run all tests:
|
|
92
|
+
|
|
93
|
+
$ teapot "Test/*"
|
|
94
|
+
|
|
95
|
+
Provided you are using an environment that supports sanitizers, you can test more thoroughly using:
|
|
96
|
+
|
|
97
|
+
$ teapot "Test/*" variant-sanitize
|
|
98
|
+
|
|
99
|
+
### Run Project
|
|
100
|
+
|
|
101
|
+
We can now build and run the project executable:
|
|
102
|
+
|
|
103
|
+
$ teapot Run/MyProject
|
|
104
|
+
I'm a little teapot,
|
|
105
|
+
Short and stout,
|
|
106
|
+
Here is my handle (one hand on hip),
|
|
107
|
+
Here is my spout (other arm out with elbow and wrist bent).
|
|
108
|
+
When I get all steamed up,
|
|
109
|
+
Hear me shout,
|
|
110
|
+
Tip me over and pour me out! (lean over toward spout)
|
|
111
|
+
|
|
112
|
+
~
|
|
113
|
+
___^___ __
|
|
114
|
+
.- / \./ /
|
|
115
|
+
/ / _/
|
|
116
|
+
\__| |
|
|
117
|
+
\_______/
|
|
118
|
+
|
|
119
|
+
The resulting executables and libraries will be framework dependent, but are typically located in:
|
|
120
|
+
|
|
121
|
+
$ cd teapot/platforms/development/$PLATFORM-debug/bin
|
|
122
|
+
$ ./$PROJECT_NAME
|
|
123
|
+
|
|
124
|
+
### Cloning Project
|
|
125
|
+
|
|
126
|
+
You can clone another project which will fetch all dependencies:
|
|
127
|
+
|
|
128
|
+
$ teapot clone https://github.com/kurocha/tagged-format
|
|
129
|
+
$ cd tagged-format
|
|
130
|
+
$ teapot build Executable/TaggedFormat
|
|
131
|
+
|
|
132
|
+
## Open Issues
|
|
133
|
+
|
|
134
|
+
- Should packages be built into a shared prefix or should they be built into unique prefixes and joined together either via install or `-L` and `-I`?
|
|
135
|
+
- Relative include paths might fail to work correctly if headers are not installed into same directory.
|
|
136
|
+
- Should packages have some way to expose system requirements, e.g. installed compiler, libraries, etc. Perhaps some kind of `Package#valid?` which allows custom logic?
|
|
137
|
+
|
|
138
|
+
## Releases
|
|
139
|
+
|
|
140
|
+
Please see the [project releases](http://www.teapot.nzreleases/index) for all releases.
|
|
141
|
+
|
|
142
|
+
### v3.6.0
|
|
143
|
+
|
|
144
|
+
- Update dependencies.
|
|
145
|
+
|
|
146
|
+
## Contributing
|
|
147
|
+
|
|
148
|
+
We welcome contributions to this project.
|
|
149
|
+
|
|
150
|
+
1. Fork it.
|
|
151
|
+
2. Create your feature branch (`git checkout -b my-new-feature`).
|
|
152
|
+
3. Commit your changes (`git commit -am 'Add some feature'`).
|
|
153
|
+
4. Push to the branch (`git push origin my-new-feature`).
|
|
154
|
+
5. Create new Pull Request.
|
|
155
|
+
|
|
156
|
+
### Running Tests
|
|
157
|
+
|
|
158
|
+
To run the test suite:
|
|
159
|
+
|
|
160
|
+
``` shell
|
|
161
|
+
bundle exec sus
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
### Making Releases
|
|
165
|
+
|
|
166
|
+
To make a new release:
|
|
167
|
+
|
|
168
|
+
``` shell
|
|
169
|
+
bundle exec bake gem:release:patch # or minor or major
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
### Developer Certificate of Origin
|
|
173
|
+
|
|
174
|
+
In order to protect users of this project, we require all contributors to comply with the [Developer Certificate of Origin](https://developercertificate.org/). This ensures that all contributions are properly licensed and attributed.
|
|
175
|
+
|
|
176
|
+
### Community Guidelines
|
|
177
|
+
|
|
178
|
+
This project is best served by a collaborative and respectful environment. Treat each other professionally, respect differing viewpoints, and engage constructively. Harassment, discrimination, or harmful behavior is not tolerated. Communicate clearly, listen actively, and support one another. If any issues arise, please inform the project maintainers.
|
data/releases.md
ADDED
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: teapot
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Samuel Williams
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain:
|
|
11
10
|
- |
|
|
@@ -37,7 +36,7 @@ cert_chain:
|
|
|
37
36
|
Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
|
|
38
37
|
voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
|
|
39
38
|
-----END CERTIFICATE-----
|
|
40
|
-
date:
|
|
39
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
41
40
|
dependencies:
|
|
42
41
|
- !ruby/object:Gem::Dependency
|
|
43
42
|
name: build
|
|
@@ -101,14 +100,14 @@ dependencies:
|
|
|
101
100
|
requirements:
|
|
102
101
|
- - "~>"
|
|
103
102
|
- !ruby/object:Gem::Version
|
|
104
|
-
version: 0.
|
|
103
|
+
version: '0.4'
|
|
105
104
|
type: :runtime
|
|
106
105
|
prerelease: false
|
|
107
106
|
version_requirements: !ruby/object:Gem::Requirement
|
|
108
107
|
requirements:
|
|
109
108
|
- - "~>"
|
|
110
109
|
- !ruby/object:Gem::Version
|
|
111
|
-
version: 0.
|
|
110
|
+
version: '0.4'
|
|
112
111
|
- !ruby/object:Gem::Dependency
|
|
113
112
|
name: build-text
|
|
114
113
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -180,55 +179,13 @@ dependencies:
|
|
|
180
179
|
- !ruby/object:Gem::Version
|
|
181
180
|
version: '1.2'
|
|
182
181
|
- !ruby/object:Gem::Dependency
|
|
183
|
-
name:
|
|
184
|
-
requirement: !ruby/object:Gem::Requirement
|
|
185
|
-
requirements:
|
|
186
|
-
- - "~>"
|
|
187
|
-
- !ruby/object:Gem::Version
|
|
188
|
-
version: '1.0'
|
|
189
|
-
type: :runtime
|
|
190
|
-
prerelease: false
|
|
191
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
192
|
-
requirements:
|
|
193
|
-
- - "~>"
|
|
194
|
-
- !ruby/object:Gem::Version
|
|
195
|
-
version: '1.0'
|
|
196
|
-
- !ruby/object:Gem::Dependency
|
|
197
|
-
name: samovar
|
|
198
|
-
requirement: !ruby/object:Gem::Requirement
|
|
199
|
-
requirements:
|
|
200
|
-
- - "~>"
|
|
201
|
-
- !ruby/object:Gem::Version
|
|
202
|
-
version: '2.0'
|
|
203
|
-
type: :runtime
|
|
204
|
-
prerelease: false
|
|
205
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
206
|
-
requirements:
|
|
207
|
-
- - "~>"
|
|
208
|
-
- !ruby/object:Gem::Version
|
|
209
|
-
version: '2.0'
|
|
210
|
-
- !ruby/object:Gem::Dependency
|
|
211
|
-
name: bundler
|
|
182
|
+
name: pstore
|
|
212
183
|
requirement: !ruby/object:Gem::Requirement
|
|
213
184
|
requirements:
|
|
214
185
|
- - ">="
|
|
215
186
|
- !ruby/object:Gem::Version
|
|
216
187
|
version: '0'
|
|
217
|
-
type: :
|
|
218
|
-
prerelease: false
|
|
219
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
220
|
-
requirements:
|
|
221
|
-
- - ">="
|
|
222
|
-
- !ruby/object:Gem::Version
|
|
223
|
-
version: '0'
|
|
224
|
-
- !ruby/object:Gem::Dependency
|
|
225
|
-
name: covered
|
|
226
|
-
requirement: !ruby/object:Gem::Requirement
|
|
227
|
-
requirements:
|
|
228
|
-
- - ">="
|
|
229
|
-
- !ruby/object:Gem::Version
|
|
230
|
-
version: '0'
|
|
231
|
-
type: :development
|
|
188
|
+
type: :runtime
|
|
232
189
|
prerelease: false
|
|
233
190
|
version_requirements: !ruby/object:Gem::Requirement
|
|
234
191
|
requirements:
|
|
@@ -236,35 +193,33 @@ dependencies:
|
|
|
236
193
|
- !ruby/object:Gem::Version
|
|
237
194
|
version: '0'
|
|
238
195
|
- !ruby/object:Gem::Dependency
|
|
239
|
-
name:
|
|
196
|
+
name: rugged
|
|
240
197
|
requirement: !ruby/object:Gem::Requirement
|
|
241
198
|
requirements:
|
|
242
|
-
- - "
|
|
199
|
+
- - "~>"
|
|
243
200
|
- !ruby/object:Gem::Version
|
|
244
|
-
version: '0'
|
|
245
|
-
type: :
|
|
201
|
+
version: '1.0'
|
|
202
|
+
type: :runtime
|
|
246
203
|
prerelease: false
|
|
247
204
|
version_requirements: !ruby/object:Gem::Requirement
|
|
248
205
|
requirements:
|
|
249
|
-
- - "
|
|
206
|
+
- - "~>"
|
|
250
207
|
- !ruby/object:Gem::Version
|
|
251
|
-
version: '0'
|
|
208
|
+
version: '1.0'
|
|
252
209
|
- !ruby/object:Gem::Dependency
|
|
253
|
-
name:
|
|
210
|
+
name: samovar
|
|
254
211
|
requirement: !ruby/object:Gem::Requirement
|
|
255
212
|
requirements:
|
|
256
213
|
- - "~>"
|
|
257
214
|
- !ruby/object:Gem::Version
|
|
258
|
-
version: '
|
|
259
|
-
type: :
|
|
215
|
+
version: '2.0'
|
|
216
|
+
type: :runtime
|
|
260
217
|
prerelease: false
|
|
261
218
|
version_requirements: !ruby/object:Gem::Requirement
|
|
262
219
|
requirements:
|
|
263
220
|
- - "~>"
|
|
264
221
|
- !ruby/object:Gem::Version
|
|
265
|
-
version: '
|
|
266
|
-
description:
|
|
267
|
-
email:
|
|
222
|
+
version: '2.0'
|
|
268
223
|
executables:
|
|
269
224
|
- teapot
|
|
270
225
|
extensions: []
|
|
@@ -291,11 +246,14 @@ files:
|
|
|
291
246
|
- lib/teapot/select.rb
|
|
292
247
|
- lib/teapot/target.rb
|
|
293
248
|
- lib/teapot/version.rb
|
|
249
|
+
- license.md
|
|
250
|
+
- notes.md
|
|
251
|
+
- readme.md
|
|
252
|
+
- releases.md
|
|
294
253
|
homepage: http://www.teapot.nz
|
|
295
254
|
licenses:
|
|
296
255
|
- MIT
|
|
297
256
|
metadata: {}
|
|
298
|
-
post_install_message:
|
|
299
257
|
rdoc_options: []
|
|
300
258
|
require_paths:
|
|
301
259
|
- lib
|
|
@@ -303,15 +261,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
303
261
|
requirements:
|
|
304
262
|
- - ">="
|
|
305
263
|
- !ruby/object:Gem::Version
|
|
306
|
-
version:
|
|
264
|
+
version: '3.3'
|
|
307
265
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
308
266
|
requirements:
|
|
309
267
|
- - ">="
|
|
310
268
|
- !ruby/object:Gem::Version
|
|
311
269
|
version: '0'
|
|
312
270
|
requirements: []
|
|
313
|
-
rubygems_version:
|
|
314
|
-
signing_key:
|
|
271
|
+
rubygems_version: 4.0.6
|
|
315
272
|
specification_version: 4
|
|
316
273
|
summary: Teapot is a tool for managing complex cross-platform builds.
|
|
317
274
|
test_files: []
|
metadata.gz.sig
CHANGED
|
Binary file
|