From c33471ac9487dabd2eb0f8b1100ca30a480f232d Mon Sep 17 00:00:00 2001 From: Brian Porter Date: Wed, 9 Jul 2014 12:14:48 -0500 Subject: [PATCH] WIP commit to get this stuff out of my working copy. --- Config/variables.php | 67 ++++++++++++++++++++++++++++++++++ Console/Command/SpawnShell.php | 9 +++++ 2 files changed, 76 insertions(+) create mode 100644 Config/variables.php create mode 100644 Console/Command/SpawnShell.php diff --git a/Config/variables.php b/Config/variables.php new file mode 100644 index 0000000..d90b554 --- /dev/null +++ b/Config/variables.php @@ -0,0 +1,67 @@ + array( + 'PROJECT_TITLE' => 'Project Name', // Proper project title. Used in: README.md, phpdoc.xml + 'PROJECT_NAME' => 'project-name', // Composer-compatible lowercase-dashed name (no vendor!) Used in: composer.json, package.json, core.php, phpdoc.xml + 'PROJECT_DESCRIPTION' => 'App does something.', // Short description of app. Used in: composer.json + 'PROJECT_CLIENT_NAME' => '', // Proper name of the app's owner. Used in: README.md + 'PROJECT_PRODUCTION_URL' => '', // Full URL to production website. Used in: README.md + 'PROJECT_STAGING_URL' => '', // Full URL to staging website. Used in: README.md + 'PROJECT_MANAGEMENT_URL' => '', // Full URL to Basecamp project. Used in: README.md + 'PROJECT_DOCUMENT_URL' => '', // Full URL to internal passwords document. Used in: README.md + 'PROJECT_REPO_URL' => '', // Full URL to the git repo (NOT Github webpage). Used in: README.md + 'PROJECT_NOTIFY_EMAILS' => '', // Space separated list of email addresses to "notify". Used in: `bin/update` + 'VAGRANT_HOSTNAME' => 'loadsys-vagrant', // Hostname for the vagrant VM. Used in: puphpet/config.yaml + 'VAGRANT_APACHE_PORT' => 8080, // Port forward Apache will be exposed on. Used in: puphpet/config.yaml + 'VAGRANT_MYSQL_PORT' => 3307, // Port forward MySQL will be exposed on. Used in: puphpet/config.yaml + ), + + // Will only be used when running tests under Travis. The 'cfg' key is set up to completely build the necessary .travis.yml file. + 'travis' => array( + 'cfg' => array( + 'language' => 'php', + 'php' => array( + '5.3', + ), + 'env' => array( + 'global' => array( + 'secure' => '', + 'APP_ENV=travis', + ), + ), + 'services' => array(), + 'branches' => array( + 'except' => array( + 'gh-pages', + ), + ), + 'before_install' => array( + 'git submodule update --init --recursive', + ), + 'install' => array( + 'sudo apt-get -y install pypy python-sphinx graphviz', + 'composer install', + ), + //'before_script' => array(), + 'script' => array( + 'sh -c "./bin/travis-test-run;"', + ), + //'after_success' => array(), + //'after_failure' => array(), + 'after_script' => array( + 'vendor/bin/phpdoc.php -d app --configuration=Config/phpdoc.xml', + 'sh -c "./bin/woodhouse-publish;"', + ), + 'notifications' => array( + 'email' => false, + ), + ), + ), +); diff --git a/Console/Command/SpawnShell.php b/Console/Command/SpawnShell.php new file mode 100644 index 0000000..f9c2206 --- /dev/null +++ b/Console/Command/SpawnShell.php @@ -0,0 +1,9 @@ +