-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Require Nette 2.1 dev, alternative build is done agains 2.1 stable
- Loading branch information
1 parent
52e915b
commit ff470c0
Showing
4 changed files
with
70 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"name": "kdyby/translation", | ||
"type": "library", | ||
"description": "Integration of Symfony/Translation into Nette Framework", | ||
"keywords": ["nette", "kdyby", "translation"], | ||
"homepage": "http://kdyby.org", | ||
"license": ["BSD-3-Clause", "GPL-2.0", "GPL-3.0"], | ||
"authors": [ | ||
{ | ||
"name": "Filip Procházka", | ||
"homepage": "http://filip-prochazka.com", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"support": { | ||
"email": "[email protected]", | ||
"issues": "https://github.com/kdyby/translation/issues" | ||
}, | ||
"require": { | ||
"nette/nette": "2.1.*", | ||
|
||
"symfony/translation": "~2.4", | ||
"symfony/config": "~2.4" | ||
}, | ||
"suggest": { | ||
"symfony/locale": "Locale component provides fallback code to handle cases when the intl extension is missing.", | ||
"kdyby/console": "If you wanna use extract command and much others, install also console.", | ||
"symfony/yaml": "If you wanna store translations in YAML format - supports multiline strings." | ||
}, | ||
"require-dev": { | ||
"symfony/console": "~2.4", | ||
"nette/tester": "@dev", | ||
"jakub-onderka/php-parallel-lint": "~0.6" | ||
}, | ||
"autoload": { | ||
"psr-0": { | ||
"Kdyby\\Translation": "src/" | ||
}, | ||
"classmap": [ | ||
"src/Kdyby/Translation/exceptions.php" | ||
] | ||
}, | ||
"extra": { | ||
"branch-alias": { | ||
"dev-master": "1.2-dev" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
|
||
$rootDir = __DIR__ . '/..'; | ||
$testsDir = __DIR__; | ||
|
||
if (getenv('NETTE') !== 'default') { | ||
$composerFile = $testsDir . '/composer-' . getenv('NETTE') . '.json'; | ||
|
||
unlink($rootDir . '/composer.json'); | ||
copy($composerFile, $rootDir . '/composer.json'); | ||
|
||
echo "Using tests/", basename($composerFile); | ||
|
||
} else { | ||
echo "Using default composer.json"; | ||
} |