Browse Source

Allow the app directory to use unstable versions.

For now we need to get unstable versions of app, at least until 3.0.0.
mark_story 12 years ago
parent
commit
c7cf539f76
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Console/Command/Task/ProjectTask.php

+ 1 - 1
src/Console/Command/Task/ProjectTask.php

@@ -144,7 +144,7 @@ class ProjectTask extends BakeTask {
 		}
 		$this->out(__d('cake_console', '<info>Downloading a new cakephp app from packagist.org</info>'));
 
-		$command = 'php ' . escapeshellarg($composer) . ' create-project --dev cakephp/app ' . escapeshellarg($path);
+		$command = 'php ' . escapeshellarg($composer) . ' create-project -s dev cakephp/app ' . escapeshellarg($path);
 
 		$descriptorSpec = [
 			0 => ['pipe', 'r'],