Skip to content

Commit

Permalink
[EXT-6] add ability to build Magento Connect package
Browse files Browse the repository at this point in the history
  • Loading branch information
Haydn Dufrene committed Jul 24, 2014
1 parent 1ea0b3f commit 992ff06
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/vendor/
/var/
composer.lock
.DS_Store
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,8 @@ test:
.PHONY : dependencies
dependencies:
$(COMPOSER) update --dev

package:
mkdir -p ./var/
tar -cvf ./var/Affirm_Magento.tar ./extension/*
cd ./build && ./magento-tar-to-connect.phar affirm_tar_to_connect_config.php
23 changes: 23 additions & 0 deletions build/affirm_tar_to_connect_config.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php
return array(
'base_dir' => realpath('../var/'),
'archive_files' => 'Affirm_Magento.tar',
'extension_name' => 'Affirm_Magento',
'skip_version_compare' => true,
'extension_version' => '0.5.0',
'archive_connect' => 'Affirm_Magento-0.5.0.tgz',
'path_output' => realpath('../var/'),

'stability' => 'stable',
'license' => 'MIT',
'channel' => 'community',
'summary' => 'Affirm provides instant, flexible financing for your customers at checkout',
'description' => 'Affirm provides flexible financing for your customers at checkout to increase sales and conversion. Your customers will be instantly approved for a loan with Affirm during checkout and will use Affirm as their form of payment. They can then pay off their balance in easy monthly payments with a low interest rate. Affirm assumes all credit risk and will settle full payment with you right away. You will need an Affirm account to use this extension. For more information and to sign up for an Affirm account, please visit https://www.affirm.com/merchants/',
'notes' => 'Initial Release',

'author_name' => 'Brian Holder-Chow Lin On',
'author_user' => 'brian_at_affirm',
'author_email' => '[email protected]',
'php_min' => '5.2.0',
'php_max' => '6.0.0',
);
Binary file added build/magento-tar-to-connect.phar
Binary file not shown.

0 comments on commit 992ff06

Please sign in to comment.