From b26e5d56e8fadcc57ab7738539e1e9af995b3326 Mon Sep 17 00:00:00 2001 From: Tristan Lins Date: Tue, 11 Mar 2014 10:37:55 +0100 Subject: [PATCH 1/2] git log failed When using `php composer.phar create-project cyberspectrum/contao-toolbox` composer will use archive mode by default. In this case, the compile fail, because the git informations are missing in https://github.com/cyberspectrum/contao-toolbox/blob/master/src/CyberSpectrum/Compiler.php#L27 The correct call is `php composer.phar create-project --prefer-source cyberspectrum/contao-toolbox`. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 33fc73b..01162f5 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ curl -sS https://getcomposer.org/installer | php 2. Install the application. ``` -./composer create-project cyberspectrum/contao-toolbox +php composer create-project --prefer-source cyberspectrum/contao-toolbox ``` ### via plain git cloning From 538822f80406243c0b8b418d690d005492945317 Mon Sep 17 00:00:00 2001 From: Tristan Lins Date: Tue, 11 Mar 2014 10:42:38 +0100 Subject: [PATCH 2/2] Add a hint for the "remove vcs history" question. --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 01162f5..212a122 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,11 @@ curl -sS https://getcomposer.org/installer | php ``` php composer create-project --prefer-source cyberspectrum/contao-toolbox ``` +**Hint:** At the end of the installation composer will ask you to remove the vcs history: + +> Do you want to remove the existing VCS (.git, .svn..) history? [Y,n]? + +You must not confirm this question, type `n` to keep the history, otherwise the compiler will not work! ### via plain git cloning ```