Skip to content

Commit

Permalink
Fix package.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseBSX committed Mar 26, 2019
1 parent 5185f66 commit 61f41fd
Show file tree
Hide file tree
Showing 3 changed files with 298 additions and 28 deletions.
14 changes: 8 additions & 6 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
if [ -f Compropago_Payment_Extension-3.0.0.tgz ]; then
echo Delete old file
rm Compropago_Payment_Extension-3.0.0.tgz
#!/bin/bash

if [ -f Compropago_Payment_Extension-3.0.0.1.tgz ]; then
echo -e "\033[1;31mDeleting old file\033[0m"
rm Compropago_Payment_Extension-3.0.0.1.tgz
fi

echo Remove .DS_Store files
echo -e "\033[1;33mRemove .DS_Store files\033[0m"
find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatch

echo "Building tgz module for Magento"
tar -cvzf Compropago_Payment_Extension-3.0.0.tgz app lib LICENSE package.xml README.md
echo -e "\033[1;32mBuilding tgz module for Magento\033[0m"
tar -cvzf Compropago_Payment_Extension-3.0.0.1.tgz app lib LICENSE package.xml README.md
20 changes: 15 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
{
"name": "compropago/magento1",
"description": "A Magento module for ComproPago, cash and SPEI payments",
"homepage": "https://www.compropago.com",
"license": "OSL V3.0",
"readme": "README.md",
"type": "magento-module",
"version": "3.0.1",
"homepage": "https://www.compropago.com",
"readme": "README.md",
"authors": [
{
"name": "Eduardo Aguilar",
"email": "[email protected]"
},
{
"name": "José Beltrán Solís",
"email": "josebsx@live.com.mx"
"email": "j.beltran@live.com.mx"
}
],
"keywords": [
Expand All @@ -29,11 +33,17 @@
},
"scripts": {
"build": [
"composer install"
"composer install",
"./build.sh"
],
"clean": [
"rm -r lib/compropago/",
"rm Compropago_Payment_Extension-3.0.1.tgz"
]
},
"scripts-descriptions": {
"build": ""
"build": "",
"clean": ""
},
"support": {
"docs": "http://demo.compropago.com/plugins/magento1",
Expand Down
Loading

0 comments on commit 61f41fd

Please sign in to comment.