Add initial command skeleton

* Update dependencies
* Add twig formatters
* Update version command and add version to the package.json
* Update package.json with other project details
This commit is contained in:
Craig Davis
2014-01-12 08:05:09 -07:00
parent 7b909c6cf1
commit b403d712a1
12 changed files with 383 additions and 164 deletions

View File

@@ -45,8 +45,8 @@ function run_version() {
}
function run_version_file() {
$composer = json_decode(file_get_contents('composer.json'));
file_put_contents('./version', $composer->version);
$version = trim(shell_exec('git describe --abbrev=0 --tags'));
file_put_contents('./version', $version);
}
function run_lint() {