teapot 3.2.1 → 3.5.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.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/bin/teapot +1 -37
  4. data/lib/teapot/command/build.rb +1 -2
  5. data/lib/teapot/command/clean.rb +1 -1
  6. data/lib/teapot/command/clone.rb +2 -2
  7. data/lib/teapot/command/create.rb +4 -4
  8. data/lib/teapot/command/fetch.rb +4 -4
  9. data/lib/teapot/command/list.rb +5 -5
  10. data/lib/teapot/command/selection.rb +1 -1
  11. data/lib/teapot/command.rb +32 -6
  12. data/lib/teapot/definition.rb +4 -4
  13. data/lib/teapot/loader.rb +8 -8
  14. data/lib/teapot/select.rb +1 -1
  15. data/lib/teapot/version.rb +1 -1
  16. data.tar.gz.sig +0 -0
  17. metadata +97 -83
  18. metadata.gz.sig +0 -0
  19. data/.gitignore +0 -18
  20. data/.rspec +0 -4
  21. data/.travis.yml +0 -33
  22. data/Gemfile +0 -4
  23. data/Gemfile.local +0 -23
  24. data/README.md +0 -171
  25. data/Rakefile +0 -19
  26. data/materials/kurocha.png +0 -0
  27. data/materials/kurocha.svg +0 -101
  28. data/materials/teapot.png +0 -0
  29. data/materials/teapot.svg +0 -82
  30. data/spec/spec_helper.rb +0 -11
  31. data/spec/teapot/command/clone_spec.rb +0 -57
  32. data/spec/teapot/command/fetch_spec/repositories/thing/README.md +0 -3
  33. data/spec/teapot/command/fetch_spec/repositories/thing/teapot.rb +0 -2
  34. data/spec/teapot/command/fetch_spec/test-project/teapot.rb +0 -8
  35. data/spec/teapot/command/fetch_spec.rb +0 -107
  36. data/spec/teapot/command_spec.rb +0 -59
  37. data/spec/teapot/configuration_spec/teapot.rb +0 -13
  38. data/spec/teapot/configuration_spec.rb +0 -33
  39. data/spec/teapot/context_spec/teapot.rb +0 -40
  40. data/spec/teapot/context_spec.rb +0 -61
  41. data/spec/teapot/target_spec/teapot.rb +0 -52
  42. data/spec/teapot/target_spec.rb +0 -55
  43. data/teapot.gemspec +0 -44
metadata CHANGED
@@ -1,99 +1,127 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: teapot
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.1
4
+ version: 3.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
- cert_chain: []
11
- date: 2019-09-14 00:00:00.000000000 Z
10
+ cert_chain:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ MIIEhDCCAuygAwIBAgIBATANBgkqhkiG9w0BAQsFADA3MTUwMwYDVQQDDCxzYW11
14
+ ZWwud2lsbGlhbXMvREM9b3Jpb250cmFuc2Zlci9EQz1jby9EQz1uejAeFw0yMTA4
15
+ MTYwNjMzNDRaFw0yMjA4MTYwNjMzNDRaMDcxNTAzBgNVBAMMLHNhbXVlbC53aWxs
16
+ aWFtcy9EQz1vcmlvbnRyYW5zZmVyL0RDPWNvL0RDPW56MIIBojANBgkqhkiG9w0B
17
+ AQEFAAOCAY8AMIIBigKCAYEAyXLSS/cw+fXJ5e7hi+U/TeChPWeYdwJojDsFY1xr
18
+ xvtqbTTL8gbLHz5LW3QD2nfwCv3qTlw0qI3Ie7a9VMJMbSvgVEGEfQirqIgJXWMj
19
+ eNMDgKsMJtC7u/43abRKx7TCURW3iWyR19NRngsJJmaR51yGGGm2Kfsr+JtKKLtL
20
+ L188Wm3f13KAx7QJU8qyuBnj1/gWem076hzdA7xi1DbrZrch9GCRz62xymJlrJHn
21
+ 9iZEZ7AxrS7vokhMlzSr/XMUihx/8aFKtk+tMLClqxZSmBWIErWdicCGTULXCBNb
22
+ E/mljo4zEVKhlTWpJklMIhr55ZRrSarKFuW7en0+tpJrfsYiAmXMJNi4XAYJH7uL
23
+ rgJuJwSaa/dMz+VmUoo7VKtSfCoOI+6v5/z0sK3oT6sG6ZwyI47DBq2XqNC6tnAj
24
+ w+XmCywiTQrFzMMAvcA7rPI4F0nU1rZId51rOvvfxaONp+wgTi4P8owZLw0/j0m4
25
+ 8C20DYi6EYx4AHDXiLpElWh3AgMBAAGjgZowgZcwCQYDVR0TBAIwADALBgNVHQ8E
26
+ BAMCBLAwHQYDVR0OBBYEFB6ZaeWKxQjGTI+pmz7cKRmMIywwMC4GA1UdEQQnMCWB
27
+ I3NhbXVlbC53aWxsaWFtc0BvcmlvbnRyYW5zZmVyLmNvLm56MC4GA1UdEgQnMCWB
28
+ I3NhbXVlbC53aWxsaWFtc0BvcmlvbnRyYW5zZmVyLmNvLm56MA0GCSqGSIb3DQEB
29
+ CwUAA4IBgQBVoM+pu3dpdUhZM1w051iw5GfiqclAr1Psypf16Tiod/ho//4oAu6T
30
+ 9fj3DPX/acWV9P/FScvqo4Qgv6g4VWO5ZU7z2JmPoTXZtYMunRAmQPFL/gSUc6aK
31
+ vszMHIyhtyzRc6DnfW2AiVOjMBjaYv8xXZc9bduniRVPrLR4J7ozmGLh4o4uJp7w
32
+ x9KCFaR8Lvn/r0oJWJOqb/DMAYI83YeN2Dlt3jpwrsmsONrtC5S3gOUle5afSGos
33
+ bYt5ocnEpKSomR9ZtnCGljds/aeO1Xgpn2r9HHcjwnH346iNrnHmMlC7BtHUFPDg
34
+ Ts92S47PTOXzwPBDsrFiq3VLbRjHSwf8rpqybQBH9MfzxGGxTaETQYOd6b4e4Ag6
35
+ y92abGna0bmIEb4+Tx9rQ10Uijh1POzvr/VTH4bbIPy9FbKrRsIQ24qDbNJRtOpE
36
+ RAOsIl+HOBTb252nx1kIRN5hqQx272AJCbCjKx8egcUQKffFVVCI0nye09v5CK+a
37
+ HiLJ8VOFx6w=
38
+ -----END CERTIFICATE-----
39
+ date: 2022-07-25 00:00:00.000000000 Z
12
40
  dependencies:
13
41
  - !ruby/object:Gem::Dependency
14
- name: graphviz
42
+ name: build
15
43
  requirement: !ruby/object:Gem::Requirement
16
44
  requirements:
17
45
  - - "~>"
18
46
  - !ruby/object:Gem::Version
19
- version: '1.0'
47
+ version: '2.4'
20
48
  type: :runtime
21
49
  prerelease: false
22
50
  version_requirements: !ruby/object:Gem::Requirement
23
51
  requirements:
24
52
  - - "~>"
25
53
  - !ruby/object:Gem::Version
26
- version: '1.0'
54
+ version: '2.4'
27
55
  - !ruby/object:Gem::Dependency
28
- name: rugged
56
+ name: build-dependency
29
57
  requirement: !ruby/object:Gem::Requirement
30
58
  requirements:
31
59
  - - "~>"
32
60
  - !ruby/object:Gem::Version
33
- version: 0.27.0
61
+ version: '1.4'
34
62
  type: :runtime
35
63
  prerelease: false
36
64
  version_requirements: !ruby/object:Gem::Requirement
37
65
  requirements:
38
66
  - - "~>"
39
67
  - !ruby/object:Gem::Version
40
- version: 0.27.0
68
+ version: '1.4'
41
69
  - !ruby/object:Gem::Dependency
42
- name: build
70
+ name: build-environment
43
71
  requirement: !ruby/object:Gem::Requirement
44
72
  requirements:
45
73
  - - "~>"
46
74
  - !ruby/object:Gem::Version
47
- version: '2.4'
75
+ version: '1.10'
48
76
  type: :runtime
49
77
  prerelease: false
50
78
  version_requirements: !ruby/object:Gem::Requirement
51
79
  requirements:
52
80
  - - "~>"
53
81
  - !ruby/object:Gem::Version
54
- version: '2.4'
82
+ version: '1.10'
55
83
  - !ruby/object:Gem::Dependency
56
- name: build-environment
84
+ name: build-files
57
85
  requirement: !ruby/object:Gem::Requirement
58
86
  requirements:
59
87
  - - "~>"
60
88
  - !ruby/object:Gem::Version
61
- version: '1.10'
89
+ version: '1.8'
62
90
  type: :runtime
63
91
  prerelease: false
64
92
  version_requirements: !ruby/object:Gem::Requirement
65
93
  requirements:
66
94
  - - "~>"
67
95
  - !ruby/object:Gem::Version
68
- version: '1.10'
96
+ version: '1.8'
69
97
  - !ruby/object:Gem::Dependency
70
- name: build-files
98
+ name: build-files-monitor
71
99
  requirement: !ruby/object:Gem::Requirement
72
100
  requirements:
73
101
  - - "~>"
74
102
  - !ruby/object:Gem::Version
75
- version: '1.4'
103
+ version: 0.2.0
76
104
  type: :runtime
77
105
  prerelease: false
78
106
  version_requirements: !ruby/object:Gem::Requirement
79
107
  requirements:
80
108
  - - "~>"
81
109
  - !ruby/object:Gem::Version
82
- version: '1.4'
110
+ version: 0.2.0
83
111
  - !ruby/object:Gem::Dependency
84
- name: build-dependency
112
+ name: build-text
85
113
  requirement: !ruby/object:Gem::Requirement
86
114
  requirements:
87
115
  - - "~>"
88
116
  - !ruby/object:Gem::Version
89
- version: '1.4'
117
+ version: '1.0'
90
118
  type: :runtime
91
119
  prerelease: false
92
120
  version_requirements: !ruby/object:Gem::Requirement
93
121
  requirements:
94
122
  - - "~>"
95
123
  - !ruby/object:Gem::Version
96
- version: '1.4'
124
+ version: '1.0'
97
125
  - !ruby/object:Gem::Dependency
98
126
  name: build-uri
99
127
  requirement: !ruby/object:Gem::Requirement
@@ -109,7 +137,7 @@ dependencies:
109
137
  - !ruby/object:Gem::Version
110
138
  version: '1.0'
111
139
  - !ruby/object:Gem::Dependency
112
- name: build-text
140
+ name: console
113
141
  requirement: !ruby/object:Gem::Requirement
114
142
  requirements:
115
143
  - - "~>"
@@ -123,7 +151,35 @@ dependencies:
123
151
  - !ruby/object:Gem::Version
124
152
  version: '1.0'
125
153
  - !ruby/object:Gem::Dependency
126
- name: console
154
+ name: graphviz
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: '1.0'
160
+ type: :runtime
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: '1.0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: process-group
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - "~>"
172
+ - !ruby/object:Gem::Version
173
+ version: '1.2'
174
+ type: :runtime
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - "~>"
179
+ - !ruby/object:Gem::Version
180
+ version: '1.2'
181
+ - !ruby/object:Gem::Dependency
182
+ name: rugged
127
183
  requirement: !ruby/object:Gem::Requirement
128
184
  requirements:
129
185
  - - "~>"
@@ -151,7 +207,7 @@ dependencies:
151
207
  - !ruby/object:Gem::Version
152
208
  version: '2.0'
153
209
  - !ruby/object:Gem::Dependency
154
- name: covered
210
+ name: bundler
155
211
  requirement: !ruby/object:Gem::Requirement
156
212
  requirements:
157
213
  - - ">="
@@ -165,7 +221,7 @@ dependencies:
165
221
  - !ruby/object:Gem::Version
166
222
  version: '0'
167
223
  - !ruby/object:Gem::Dependency
168
- name: bundler
224
+ name: covered
169
225
  requirement: !ruby/object:Gem::Requirement
170
226
  requirements:
171
227
  - - ">="
@@ -179,51 +235,40 @@ dependencies:
179
235
  - !ruby/object:Gem::Version
180
236
  version: '0'
181
237
  - !ruby/object:Gem::Dependency
182
- name: rspec
238
+ name: rake
183
239
  requirement: !ruby/object:Gem::Requirement
184
240
  requirements:
185
- - - "~>"
241
+ - - ">="
186
242
  - !ruby/object:Gem::Version
187
- version: '3.6'
243
+ version: '0'
188
244
  type: :development
189
245
  prerelease: false
190
246
  version_requirements: !ruby/object:Gem::Requirement
191
247
  requirements:
192
- - - "~>"
248
+ - - ">="
193
249
  - !ruby/object:Gem::Version
194
- version: '3.6'
250
+ version: '0'
195
251
  - !ruby/object:Gem::Dependency
196
- name: rake
252
+ name: rspec
197
253
  requirement: !ruby/object:Gem::Requirement
198
254
  requirements:
199
- - - ">="
255
+ - - "~>"
200
256
  - !ruby/object:Gem::Version
201
- version: '0'
257
+ version: '3.6'
202
258
  type: :development
203
259
  prerelease: false
204
260
  version_requirements: !ruby/object:Gem::Requirement
205
261
  requirements:
206
- - - ">="
262
+ - - "~>"
207
263
  - !ruby/object:Gem::Version
208
- version: '0'
209
- description: "\tTeapot is a tool for managing complex cross-platform builds. It provides\n\tadvanced
210
- package-based dependency management with a single configuration file\n\tper project.
211
- It can fetch, list, build, visualise and create projects, and\n\thas been designed
212
- from the ground up to support collaborative decentralised\n\tdevelopment.\n"
264
+ version: '3.6'
265
+ description:
213
266
  email:
214
- - samuel.williams@oriontransfer.co.nz
215
267
  executables:
216
268
  - teapot
217
269
  extensions: []
218
270
  extra_rdoc_files: []
219
271
  files:
220
- - ".gitignore"
221
- - ".rspec"
222
- - ".travis.yml"
223
- - Gemfile
224
- - Gemfile.local
225
- - README.md
226
- - Rakefile
227
272
  - bin/teapot
228
273
  - lib/teapot.rb
229
274
  - lib/teapot/command.rb
@@ -245,29 +290,11 @@ files:
245
290
  - lib/teapot/select.rb
246
291
  - lib/teapot/target.rb
247
292
  - lib/teapot/version.rb
248
- - materials/kurocha.png
249
- - materials/kurocha.svg
250
- - materials/teapot.png
251
- - materials/teapot.svg
252
- - spec/spec_helper.rb
253
- - spec/teapot/command/clone_spec.rb
254
- - spec/teapot/command/fetch_spec.rb
255
- - spec/teapot/command/fetch_spec/repositories/thing/README.md
256
- - spec/teapot/command/fetch_spec/repositories/thing/teapot.rb
257
- - spec/teapot/command/fetch_spec/test-project/teapot.rb
258
- - spec/teapot/command_spec.rb
259
- - spec/teapot/configuration_spec.rb
260
- - spec/teapot/configuration_spec/teapot.rb
261
- - spec/teapot/context_spec.rb
262
- - spec/teapot/context_spec/teapot.rb
263
- - spec/teapot/target_spec.rb
264
- - spec/teapot/target_spec/teapot.rb
265
- - teapot.gemspec
266
293
  homepage: http://www.teapot.nz
267
294
  licenses:
268
295
  - MIT
269
296
  metadata: {}
270
- post_install_message:
297
+ post_install_message:
271
298
  rdoc_options: []
272
299
  require_paths:
273
300
  - lib
@@ -282,21 +309,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
282
309
  - !ruby/object:Gem::Version
283
310
  version: '0'
284
311
  requirements: []
285
- rubygems_version: 3.0.4
286
- signing_key:
312
+ rubygems_version: 3.3.7
313
+ signing_key:
287
314
  specification_version: 4
288
315
  summary: Teapot is a tool for managing complex cross-platform builds.
289
- test_files:
290
- - spec/spec_helper.rb
291
- - spec/teapot/command/clone_spec.rb
292
- - spec/teapot/command/fetch_spec.rb
293
- - spec/teapot/command/fetch_spec/repositories/thing/README.md
294
- - spec/teapot/command/fetch_spec/repositories/thing/teapot.rb
295
- - spec/teapot/command/fetch_spec/test-project/teapot.rb
296
- - spec/teapot/command_spec.rb
297
- - spec/teapot/configuration_spec.rb
298
- - spec/teapot/configuration_spec/teapot.rb
299
- - spec/teapot/context_spec.rb
300
- - spec/teapot/context_spec/teapot.rb
301
- - spec/teapot/target_spec.rb
302
- - spec/teapot/target_spec/teapot.rb
316
+ test_files: []
metadata.gz.sig ADDED
Binary file
data/.gitignore DELETED
@@ -1,18 +0,0 @@
1
- *.gem
2
- *.rbc
3
- .bundle
4
- .config
5
- .yardoc
6
- Gemfile.lock
7
- InstalledFiles
8
- _yardoc
9
- coverage
10
- doc/
11
- lib/bundler/man
12
- pkg
13
- rdoc
14
- spec/reports
15
- test/tmp
16
- test/version_tmp
17
- tmp
18
- kurocha
data/.rspec DELETED
@@ -1,4 +0,0 @@
1
- --format documentation
2
- --backtrace
3
- --warnings
4
- --require spec_helper
data/.travis.yml DELETED
@@ -1,33 +0,0 @@
1
- language: ruby
2
- dist: xenial
3
- cache: bundler
4
-
5
- before_script:
6
- # For testing purposes:
7
- - git config --global user.email "samuel@oriontransfer.net"
8
- - git config --global user.name "Samuel Williams"
9
-
10
- matrix:
11
- include:
12
- - rvm: 2.3
13
- - rvm: 2.4
14
- - rvm: 2.5
15
- - rvm: 2.6
16
- - rvm: 2.6
17
- os: osx
18
- before_install: brew install pkgconfig zlib curl openssl libssh2 libgit2
19
- # env: RUGGED_USE_SYSTEM_LIBRARIES=y
20
- - rvm: 2.6
21
- env: COVERAGE=BriefSummary,Coveralls
22
-
23
- addons:
24
- apt:
25
- sources:
26
- - ubuntu-toolchain-r-test
27
- - llvm-toolchain-trusty-4.0
28
- packages:
29
- - clang-4.0
30
- - libc++-dev
31
- - libc++abi-dev
32
- # env:
33
- # - CC=clang-4.0 CXX=clang++-4.0
data/Gemfile DELETED
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in teapot.gemspec
4
- gemspec
data/Gemfile.local DELETED
@@ -1,23 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in teapot.gemspec
4
- gemspec
5
-
6
- group :development do
7
- gem 'pry'
8
- gem 'pry-coolline'
9
-
10
- gem 'build', path: '../build'
11
- gem 'build-environment', path: '../build-environment'
12
- gem 'build-files', path: '../build-files'
13
- gem 'build-graph', path: '../build-graph'
14
- gem 'build-makefile', path: '../build-makefile'
15
-
16
- gem 'process-daemon', path: '../process-daemon'
17
- gem 'process-group', path: '../process-group'
18
- end
19
-
20
- group :test do
21
- gem 'simplecov'
22
- gem 'coveralls', require: false
23
- end
data/README.md DELETED
@@ -1,171 +0,0 @@
1
- # ![Teapot](materials/teapot.svg)
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
- [![Build Status](https://secure.travis-ci.org/kurocha/teapot.svg)](http://travis-ci.org/kurocha/teapot)
11
- [![Code Climate](https://codeclimate.com/github/kurocha/teapot.svg)](https://codeclimate.com/github/kurocha/teapot)
12
- [![Coverage Status](https://coveralls.io/repos/kurocha/teapot/badge.svg)](https://coveralls.io/r/kurocha/teapot)
13
- [![Gitter Chat](https://badges.gitter.im/kurocha/community.svg)](https://gitter.im/kurocha/community)
14
-
15
- ## Installation
16
-
17
- Ensure that you already have a working install of Ruby 2.0.0+ and run the following to install `teapot`:
18
-
19
- $ gem install teapot
20
-
21
- ## Usage
22
-
23
- Teapot doesn't have a default centralised package management system but there is a [canonical one](https://github.com/kurocha) for developing cross-platform C++ applications. This example shows how to use this framework.
24
-
25
- ### Create Project
26
-
27
- Firstly, create your project by running:
28
-
29
- $ teapot create "My Project" https://github.com/kurocha generate-project
30
- $ cd my-project
31
-
32
- 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.
33
-
34
- In the resulting project directory that has been created, you can see the list of dependencies:
35
-
36
- $ teapot list
37
- ... lots of output ...
38
-
39
- To only see things exported by your current project, you can run:
40
-
41
- $ teapot list root
42
- Package root (from /private/tmp/my-project):
43
- #<Teapot::Project "my-project">
44
- My Project description.
45
- - Summary: A brief one line summary of the project.
46
- - License: MIT License
47
- - Version: 0.1.0
48
- - Author: Samuel Williams <samuel.williams@oriontransfer.co.nz>
49
- #<Teapot::Target "my-project-library">
50
- - depends on "Build/Files"
51
- - depends on "Build/Clang"
52
- - depends on :platform
53
- - depends on "Language/C++14" {:private=>true}
54
- - provides "Library/MyProject"
55
- #<Teapot::Target "my-project-test">
56
- - depends on "Library/UnitTest"
57
- - depends on "Library/MyProject"
58
- - provides "Test/MyProject"
59
- #<Teapot::Target "my-project-executable">
60
- - depends on "Build/Files"
61
- - depends on "Build/Clang"
62
- - depends on :platform
63
- - depends on "Language/C++14" {:private=>true}
64
- - depends on "Library/MyProject"
65
- - provides "Executable/MyProject"
66
- #<Teapot::Target "my-project-run">
67
- - depends on "Executable/MyProject"
68
- - provides "Run/MyProject"
69
- #<Teapot::Configuration "development" visibility=private>
70
- - references root from /private/tmp/my-project
71
- - clones platforms from https://github.com/kurocha/platforms
72
- - clones unit-test from https://github.com/kurocha/unit-test
73
- - clones generate-cpp-class from https://github.com/kurocha/generate-cpp-class
74
- - clones generate-project from https://github.com/kurocha/generate-project
75
- - clones variants from https://github.com/kurocha/variants
76
- - clones platform-darwin-osx from https://github.com/kurocha/platform-darwin-osx
77
- - clones platform-darwin-ios from https://github.com/kurocha/platform-darwin-ios
78
- - clones build-clang from https://github.com/kurocha/build-clang
79
- - clones build-darwin from https://github.com/kurocha/build-darwin
80
- - clones build-files from https://github.com/kurocha/build-files
81
- - clones streams from https://github.com/kurocha/streams
82
- - clones generate-template from https://github.com/kurocha/generate-template
83
- #<Teapot::Configuration "my-project" visibility=public>
84
- - references root from /private/tmp/my-project
85
-
86
- ### Run Tests
87
-
88
- Testing is a good idea, and teapot supports test driven development.
89
-
90
- $ teapot Test/MyProject
91
-
92
- #### Wildcard Targets
93
-
94
- To run all tests:
95
-
96
- $ teapot "Test/*"
97
-
98
- Provided you are using an environment that supports sanitizers, you can test more thoroughly using:
99
-
100
- $ teapot "Test/*" variant-sanitize
101
-
102
- ### Run Project
103
-
104
- We can now build and run the project executable:
105
-
106
- $ teapot Run/MyProject
107
- I'm a little teapot,
108
- Short and stout,
109
- Here is my handle (one hand on hip),
110
- Here is my spout (other arm out with elbow and wrist bent).
111
- When I get all steamed up,
112
- Hear me shout,
113
- Tip me over and pour me out! (lean over toward spout)
114
-
115
- ~
116
- ___^___ __
117
- .- / \./ /
118
- / / _/
119
- \__| |
120
- \_______/
121
-
122
- The resulting executables and libraries will be framework dependent, but are typically located in:
123
-
124
- $ cd teapot/platforms/development/$PLATFORM-debug/bin
125
- $ ./$PROJECT_NAME
126
-
127
- ### Cloning Project
128
-
129
- You can clone another project which will fetch all dependencies:
130
-
131
- $ teapot clone https://github.com/kurocha/tagged-format
132
- $ cd tagged-format
133
- $ teapot build Executable/TaggedFormat
134
-
135
- ## Open Issues
136
-
137
- - 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`?
138
- - Relative include paths might fail to work correctly if headers are not installed into same directory.
139
- - 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?
140
-
141
- ## Contributing
142
-
143
- 1. Fork it
144
- 2. Create your feature branch (`git checkout -b my-new-feature`)
145
- 3. Commit your changes (`git commit -am 'Add some feature'`)
146
- 4. Push to the branch (`git push origin my-new-feature`)
147
- 5. Create new Pull Request
148
-
149
- ## License
150
-
151
- Released under the MIT license.
152
-
153
- Copyright, 2012, 2014, by [Samuel G. D. Williams](http://www.codeotaku.com/samuel-williams).
154
-
155
- Permission is hereby granted, free of charge, to any person obtaining a copy
156
- of this software and associated documentation files (the "Software"), to deal
157
- in the Software without restriction, including without limitation the rights
158
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
159
- copies of the Software, and to permit persons to whom the Software is
160
- furnished to do so, subject to the following conditions:
161
-
162
- The above copyright notice and this permission notice shall be included in
163
- all copies or substantial portions of the Software.
164
-
165
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
166
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
167
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
168
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
169
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
170
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
171
- THE SOFTWARE.
data/Rakefile DELETED
@@ -1,19 +0,0 @@
1
- require "bundler/gem_tasks"
2
- require "rspec/core/rake_task"
3
-
4
- # Load all rake tasks:
5
- import(*Dir.glob('tasks/**/*.rake'))
6
-
7
- RSpec::Core::RakeTask.new(:test)
8
-
9
- task :environment do
10
- $LOAD_PATH.unshift File.expand_path('lib', __dir__)
11
- end
12
-
13
- task :console => :environment do
14
- require 'pry'
15
-
16
- Pry.start
17
- end
18
-
19
- task :default => :test
Binary file