Skip to content
Permalink
Browse files

Moved PHP dependencies to composer.json

  • Loading branch information...
millinon committed Feb 18, 2017
1 parent 1156cfd commit 4057a62f29689840bd9c6403592197c1dac9275e
Showing with 13 additions and 9 deletions.
  1. +2 −0 .gitignore
  2. +9 −0 composer.json
  3. +0 −2 www/error.hh
  4. +1 −0 www/include/.gitignore
  5. +0 −2 www/include/aws.hh
  6. BIN www/include/aws.phar
  7. +0 −2 www/index.hh
  8. +1 −0 www/main.hh
  9. +0 −2 www/result.hh
  10. +0 −1 www/vendor/facebook/xhp-lib
@@ -2,3 +2,5 @@ credentials.ini
*.swp
.hhconfig
node_modules/
composer.phar
composer.lock
@@ -0,0 +1,9 @@
{
"require": {
"aws/aws-sdk-php": "^3.22",
"facebook/xhp-lib": "2.x"
},
"config": {
"vendor-dir": "www/include/vendor"
}
}
@@ -1,7 +1,5 @@
<?hh

require_once ('vendor/facebook/xhp-lib/init.php');

require_once ('html/header.hh');

require_once ('html/footer.hh');
@@ -0,0 +1 @@
vendor/
@@ -1,7 +1,5 @@
<?hh

require_once ("aws.phar");

if (!include_once('config/aws_config.hh')) {
require_once ('config/aws_config.hh.example');
}
BIN -4.92 MB www/include/aws.phar
Binary file not shown.
@@ -1,7 +1,5 @@
<?hh

require_once ('vendor/facebook/xhp-lib/init.php');

require_once ('html/header.hh');
require_once ('html/footer.hh');

@@ -3,6 +3,7 @@
set_include_path(get_include_path().PATH_SEPARATOR.__DIR__.'/include');

require_once ('helpers.hh');
require_once ('vendor/autoload.php');

function main(): void {

@@ -1,7 +1,5 @@
<?hh

require_once ('vendor/facebook/xhp-lib/init.php');

require_once ('html/header.hh');
require_once ('html/footer.hh');

Submodule xhp-lib deleted from 571674

0 comments on commit 4057a62

Please sign in to comment.
You can’t perform that action at this time.