made a few updates for testing this stuff
This commit is contained in:
parent
b77959a6be
commit
49f4c36bc2
16
build.xml
16
build.xml
|
@ -206,6 +206,7 @@
|
|||
<delete dir="build/magento" includeemptydirs="true" />
|
||||
<mkdir dir="build/magento/app/etc/" />
|
||||
<copy file="build/n98-magerun.yaml" tofile="build/magento/app/etc/n98-magerun.yaml" />
|
||||
<phingcall target="plugin:symlink" />
|
||||
<exec executable="bin/n98-magerun" passthru="true">
|
||||
<arg value="install" />
|
||||
<arg value="-n" />
|
||||
|
@ -235,7 +236,6 @@
|
|||
<arg value="payment/Bitcoins/api_key" />
|
||||
<arg value="GArM63Kab9ahw2muesTWptJneXFoxUZoFXrAKWs5c" />
|
||||
</exec>
|
||||
<phingcall target="plugin:symlink" />
|
||||
</target>
|
||||
|
||||
<!--
|
||||
|
@ -243,9 +243,15 @@
|
|||
environment. This should closely follow the `modman` file.
|
||||
-->
|
||||
<target name="plugin:symlink" hidden="true">
|
||||
<mkdir dir="${project.basedir}/build/magento/app/code/community/Bitpay" />
|
||||
<mkdir dir="${project.basedir}/build/magento/app/design/frontend/base/default/layout" />
|
||||
<mkdir dir="${project.basedir}/build/magento/app/design/frontend/base/default/template" />
|
||||
<mkdir dir="${project.basedir}/build/magento/app/etc/modules" />
|
||||
<mkdir dir="${project.basedir}/build/magento/lib" />
|
||||
<mkdir dir="${project.basedir}/build/magento/shell" />
|
||||
<symlink
|
||||
target="${project.basedir}/app/code/community/Bitpay"
|
||||
link="${project.basedir}/build/magento/app/code/community/Bitpay"
|
||||
target="${project.basedir}/app/code/community/Bitpay/Bitcoins"
|
||||
link="${project.basedir}/build/magento/app/code/community/Bitpay/Bitcoins"
|
||||
overwrite="true" />
|
||||
<symlink
|
||||
target="${project.basedir}/app/design/frontend/base/default/layout/bitcoins.xml"
|
||||
|
@ -263,5 +269,9 @@
|
|||
target="${project.basedir}/lib/bitpay"
|
||||
link="${project.basedir}/build/magento/lib/bitpay"
|
||||
overwrite="true" />
|
||||
<symlink
|
||||
target="${project.basedir}/shell/bitpay.php"
|
||||
link="${project.basedir}/build/magento/shell/bitpay.php"
|
||||
overwrite="true" />
|
||||
</target>
|
||||
</project>
|
||||
|
|
|
@ -46,7 +46,10 @@
|
|||
<filter>
|
||||
<whitelist>
|
||||
<directory>../app/code/community/Bitpay/Bitcoins/</directory>
|
||||
<directory>../lib/bitpay</directory>
|
||||
<directory>../shell</directory>
|
||||
<exclude>
|
||||
<directory>../app/code/community/Bitpay/Bitcoins/sql</directory>
|
||||
</exclude>
|
||||
</whitelist>
|
||||
</filter>
|
||||
|
||||
|
|
|
@ -22,7 +22,8 @@
|
|||
"pdepend/pdepend" : "1.1.0",
|
||||
"squizlabs/php_codesniffer": "*",
|
||||
"phpunit/phpunit": "*",
|
||||
"phploc/phploc": "*"
|
||||
"phploc/phploc": "*",
|
||||
"fzaninotto/faker": "*"
|
||||
},
|
||||
"config": {
|
||||
"bin-dir": "bin"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
/**
|
||||
* The MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2011-2014 BitPay
|
||||
* Copyright (c) 2011-2014 BitPay, Inc.
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
|
@ -31,3 +31,9 @@ if ($mage = realpath(__DIR__ . '/../build/magento/app/Mage.php')) {
|
|||
} else {
|
||||
exit('Could not find Mage.php');
|
||||
}
|
||||
|
||||
if ($composer = realpath(__DIR__ . '/../vendor/autoload.php')) {
|
||||
require_once $composer;
|
||||
} else {
|
||||
exit('Composer not found');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue