Skip to content
This repository was archived by the owner on Jan 30, 2022. It is now read-only.

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
Luis Montealegre committed Oct 9, 2013
2 parents f893fb1 + 1620fdd commit 08a5e78
Show file tree
Hide file tree
Showing 7 changed files with 88 additions and 9 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,8 @@
.project
doctrine-migrations.phar
box.phar
vendor
/vendor/
/config/app.config.php
/config/services/echalegas.json
/public/index.php
/bin/phing
17 changes: 17 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>

<project name="echalegas" description="Échale Gas (OpenData Puebla 2013)" default="app:reset-dev">
<!-- Initialize configuration files -->
<target name="app:init-config-files" description="Initialize configuration files">
<echo msg="Creating configuration files from .dist files" />
<exec passthru="true" command="cp config/services/echalegas.json.dist config/services/echalegas.json" />
<exec passthru="true" command="cp config/app.config.php.dist config/app.config.php" />
<exec passthru="true" command="cp public/index.php.dist public/index.php" />
</target>

<!-- Install the application for development -->
<target name="app:reset-dev" description="Reset the development environment">
<echo msg="Resetting development environment" />
<phingcall target="app:init-config-files" />
</target>
</project>
8 changes: 7 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,20 @@
"zendframework/zend-i18n": "2.2.3",
"zendframework/zend-session": "2.2.3",
"zendframework/zend-math": "2.2.3",
"slim/slim": "2.3.2",
"slim/slim": "2.3.3",
"slim/views": "0.1.0",
"monolog/monolog": "1.6.0",
"guzzle/guzzle": "v3.7.4"
},
"require-dev": {
"phing/phing": "2.6.1"
},
"autoload": {
"psr-0": {
"EchaleGas": "src"
}
},
"config": {
"bin-dir": "bin"
}
}
65 changes: 58 additions & 7 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions config/app.config.php → config/app.config.php.dist
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
return [
'mode' => 'development',
'log.enabled' => false,
];
File renamed without changes.
File renamed without changes.

0 comments on commit 08a5e78

Please sign in to comment.