Skip to content

Commit

Permalink
Maybe something I did is preventing ScriptHandler from being autoload…
Browse files Browse the repository at this point in the history
…able
  • Loading branch information
ornj committed Nov 29, 2012
1 parent d82d959 commit e60c258
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions Command/BootstrapSymlinkSassCommand.php
Expand Up @@ -16,29 +16,29 @@
class BootstrapSymlinkSassCommand extends ContainerAwareCommand
{
public static $mopaBootstrapBundleName = "mopa/bootstrap-bundle";
public static $twitterBootstrapName = "jlong/sass-twitter-bootstrap";
public static $twitterBootstrapName = "thomas-mcdonald/bootstrap-sass";

protected function configure()
{
$this
->setName('mopa:bootstrap:symlink:sass')
->setDescription("Check and if possible install symlink to bootstrap-sass")
->addArgument('pathToTwitterBootstrapSass', InputArgument::OPTIONAL, 'Where is jlong/sass-twitter-bootstrap located?')
->addArgument('pathToTwitterBootstrapSass', InputArgument::OPTIONAL, 'Where is thomas-mcdonald/bootstrap-sass located?')
->addArgument('pathToMopaBootstrapBundle', InputArgument::OPTIONAL, 'Where is MopaBootstrapBundle located?')
->addOption('force', 'f', InputOption::VALUE_NONE, 'Force rewrite of existing symlink if possible!')
->addOption('manual', 'm', InputOption::VALUE_NONE, 'If set please specify pathToTwitterBootstrapSass, and pathToMopaBootstrapBundle')
->setHelp(<<<EOT
The <info>mopa:bootstrap:install</info> command helps you checking and symlinking the jlong/sass-twitter-bootstrap library.
The <info>mopa:bootstrap:install</info> command helps you checking and symlinking the thomas-mcdonald/bootstrap-sass library.
By default, the command uses composer to retrieve the paths of MopaBootstrapBundle and jlong/sass-twitter-bootstrap in your vendors.
By default, the command uses composer to retrieve the paths of MopaBootstrapBundle and thomas-mcdonald/bootstrap-sass in your vendors.
If you want to control the paths yourself specify the paths manually:
php app/console mopa:bootstrap:install <comment>--manual</comment> <pathToTwitterBootstrapSass> <pathToMopaBootstrapBundle>
Defaults if installed by composer would be :
pathToTwitterBootstrapSass: ../../../../../../vendor/jlong/sass-twitter-bootstrap
pathToTwitterBootstrapSass: ../../../../../../vendor/thomas-mcdonald/bootstrap-sass
pathToMopaBootstrapBundle: vendor/mopa/bootstrap-bundle/Mopa/BootstrapBundle/Resources/bootstrap
EOT
Expand Down Expand Up @@ -197,4 +197,4 @@ public static function createSymlink($symlinkTarget, $symlinkName)
throw new \Exception("Symlink $symlinkName points to target $target");
}
}
}
}
2 changes: 1 addition & 1 deletion Composer/ScriptHandler.php
Expand Up @@ -59,4 +59,4 @@ public static function postInstallSymlinkTwitterBootstrapSass(Event $event)
}
$IO->write(" ... <info>OK</info>");
}
}
}

0 comments on commit e60c258

Please sign in to comment.