Commit Graph

666 Commits

Author SHA1 Message Date
Ben Scheirman
bc099724c2 Raise an informative error for missing podspec.
First checks the project's root for a .podspec,
Then goes on to check the Local Pods folder,
if that can't be found raises an informative error.
2012-06-14 13:41:17 -07:00
Fabio Pelosin
9c71d5ab7a [Platform] Require name for initialization. 2012-06-09 20:24:29 +02:00
Fabio Pelosin
71d754c499 [Docs] Platform#support? 2012-06-09 19:58:44 +02:00
Fabio Pelosin
d0ebef6a7a [Platform] Specify deployment target only on initialization. 2012-06-09 18:52:37 +02:00
Fabio Pelosin
972cb59eb9 [Platform] docs. 2012-06-09 18:29:01 +02:00
Fabio Pelosin
05fba7b679 [Platform] Default deployment targets. 2012-06-09 18:28:35 +02:00
Fabio Pelosin
c4cb7a492f [Docs] Local Pod clean up. 2012-06-08 20:20:46 +02:00
Fabio Pelosin
2d791bf7e1 [rbx] Encode only if needed. 2012-06-08 16:57:48 +02:00
Fabio Pelosin
425a5c1621 [rbx] Attempt to fix encoding issues. 2012-06-08 16:11:01 +02:00
Fabio Pelosin
a340ea2900 [Docs] Enhancements. 2012-06-08 15:31:37 +02:00
Eloy Duran
6ee74e0cc0 Explicitely read external source files (specs|Podfile) as utf-8. 2012-06-08 01:30:10 +02:00
Fabio Pelosin
c15a1f0939 [Docs] Preliminary support for YARD. 2012-06-08 00:05:01 +02:00
Fabio Pelosin
de9fe2dcea [Linter] Use the deployment target of the specification.
Closes #304.
2012-06-07 19:20:10 +02:00
Fabio Pelosin
8d1430a8bd [Platform] Support initialization from another platform. 2012-06-07 19:06:49 +02:00
Fabio Pelosin
6bbdfa3ae7 [Specification] Show the spec for top level attributes informative. 2012-06-07 17:30:31 +02:00
Fabio Pelosin
d1a9af21a5 [LocalPod] Fix for over aggressive #clean.
Paths that contain or are contained by an used path are now preserved.
The new logic works well with used path that are directories.

Closes #300
2012-06-06 18:30:18 +02:00
Fabio Pelosin
ff2a73ab70 [Specification] Fix for multi-platform preserve_paths. 2012-06-06 17:13:59 +02:00
Fabio Pelosin
1f1cc97ae2 [Spec] Fine-tuning template. 2012-05-31 14:08:44 +02:00
Fabio Pelosin
81ab80a7fe [Spec] Updated template.
- Clean up
- Replaced clean_paths with preserve_paths
2012-05-31 13:55:30 +02:00
Fabio Pelosin
b96a2c902e Merge branch 'master' of github.com:CocoaPods/CocoaPods
* 'master' of github.com:CocoaPods/CocoaPods:
  Some 'informative' messages should just be plain simple.
  Make all specs green by updating some of the submodule fixtures.
2012-05-31 13:28:02 +02:00
Fabio Pelosin
c659659e79 [Spec] Fix the GitHub homepage in the template. 2012-05-31 13:26:47 +02:00
Eloy Duran
5991d6f9b2 Some 'informative' messages should just be plain simple. 2012-05-31 12:22:41 +02:00
Fabio Pelosin
6d79bcd387 [Repo] Update only git repositories. 2012-05-29 22:16:25 +02:00
Fabio Pelosin
aa887ea0ca [Command] Output cosmetics. 2012-05-29 22:02:34 +02:00
Fabio Pelosin
a30fcb67e1 [Setup] Detect incompatible repos in #run_if_needed. 2012-05-29 21:33:57 +02:00
Fabio Pelosin
821ba69fad [Setup] Checkout the 0.6 branch of the master repo. 2012-05-29 21:33:26 +02:00
Fabio Pelosin
dcd85e7263 [Repo] Allow to specify a branch for new repos. 2012-05-29 21:23:33 +02:00
Fabio Pelosin
319f8b9ba2 [Command] Parse arguments before calling setup_if_needed. 2012-05-29 21:00:42 +02:00
Fabio Pelosin
4d4e3a9521 [Repo] Fix spelling mistake. 2012-05-29 19:54:21 +02:00
Fabio Pelosin
eeeef2322e Merge branch 'master' of github.com:CocoaPods/CocoaPods
* 'master' of github.com:CocoaPods/CocoaPods:
  Fix integration spec, which was trying to assign a source to subspecs.
  Fix spec that was using a newer version of lib than expected.
  Update spec repo fixture to latest 0.6 and fix CP version checking.
  Fix a RubyGems specific version spec failure.
  Update SSToolkit fixture submodule.
  Fix version number.

Conflicts:
	lib/cocoapods/command/repo.rb
2012-05-29 18:25:45 +02:00
Fabio Pelosin
8a1a5d30fa [Repo] Class method to return if a repo is compatible. 2012-05-29 18:20:08 +02:00
Eloy Duran
d230d8e353 Fix integration spec, which was trying to assign a source to subspecs. 2012-05-29 17:45:50 +02:00
Eloy Duran
78d54274e9 Update spec repo fixture to latest 0.6 and fix CP version checking. 2012-05-29 17:24:30 +02:00
Fabio Pelosin
4ee2fc6803 [Repo] Check versions only if defined. 2012-05-29 16:50:58 +02:00
Fabio Pelosin
e32e425521 Merge branch 'master' of github.com:CocoaPods/CocoaPods
* 'master' of github.com:CocoaPods/CocoaPods:
  Make all the examples build on 1.9.3 as well.
  Silence warnings while loading Faraday for Octokit. See #278.
  Remove stray file.
  Update RKTwitter example. ALL EXAMPLES BUILD!
2012-05-29 16:24:06 +02:00
Fabio Pelosin
eca25a12c5 [Repo] Use strings instead of symbols. 2012-05-29 16:20:45 +02:00
Fabio Pelosin
96a7404f92 [Repo] Check for the last version supported by a repo. 2012-05-29 16:18:44 +02:00
Eloy Duran
4b9c210ea3 Make all the examples build on 1.9.3 as well. 2012-05-29 15:46:24 +02:00
Eloy Duran
f33f967427 Silence warnings while loading Faraday for Octokit. See #278. 2012-05-29 15:34:57 +02:00
Eloy Duran
c6351eafa0 Remove stray file. 2012-05-29 15:18:53 +02:00
Fabio Pelosin
cdcbb414c5 [LocalPod] Automatically glob excluded headers from search paths. 2012-05-29 14:53:46 +02:00
Fabio Pelosin
40a5bfb01b [Executable] Indent warning if command fails. 2012-05-29 14:53:14 +02:00
Fabio Pelosin
b2a70675f7 [Linter] Clean before building the spec. 2012-05-29 14:52:36 +02:00
David Venable
d8e339493f The tar command uses -C to specify a directory, not -d. 2012-05-28 16:14:07 -05:00
Fabio Pelosin
24dd1e81dd [Executable] Fine tune output. 2012-05-28 20:18:09 +02:00
Fabio Pelosin
598c743c28 Update to the last head of Xcodeproj. 2012-05-28 20:05:12 +02:00
Eloy Duran
98f84e9c38 Use Open4 in Executable. Indenter code by @ahoward, thanks! 2012-05-28 19:29:40 +02:00
Eloy Duran
bde1195c33 Immediately print output from Executable when in verbose mode.
Fixes #276.

I understand that the reason was to indent the output, but I think it's
more important to have instant feedback.

I went on a yak shaving, but now we can capture output and show it at
the same time. This should allow for better error checking. The problem
is that, for instance, Git (almost) always exits with non-zero exit
statusses, so that's not a good way to check it. We should probably
check the actual output.

This is all related to #266.
2012-05-28 15:13:36 +02:00
Fabio Pelosin
48b7e5c554 [TargetIntegrator] Detect the target with the matching name. 2012-05-26 18:19:09 +02:00
Fabio Pelosin
919c0acc69 [Linter] Demoted post_install hook message to note. 2012-05-25 22:22:01 +02:00