Skip to content

Commit

Permalink
Merge pull request #67 from mentores-digital/develop
Browse files Browse the repository at this point in the history
Lançamento da versão inicial.
  • Loading branch information
MatheusKindrazki committed Jun 22, 2020
2 parents 64ae738 + 757db32 commit fdd34e3
Show file tree
Hide file tree
Showing 84 changed files with 11,700 additions and 588 deletions.
4 changes: 4 additions & 0 deletions .env.example.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?php

define('API_TEST', false);
define('API_TOKEN', '');
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ build/Release

# Dependency directories
node_modules/
node_modules
jspm_packages/

# TypeScript v1 declaration files
Expand Down Expand Up @@ -136,3 +137,9 @@ temp/

# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option)


# Variaveis de ambiente
.env.php

# Compiladores de CSS
config.codekit3
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@

Recurring payment gateway for Wordpress | Woocommerce.

![Banner](./docs/banner.png)

[![Licença do Software][badge-license]](LICENSE)
[![Última Versão no WordPress][badge-version]][link-version]
[![Avaliação do Plugin][badge-rates]][link-rates]
[![Downloads no Total][badge-downloads]][link-downloads]
[![Build Status](https://semaphoreci.com/api/v1/vindi/vindi-woocommerce-subscriptions/branches/master/shields_badge.svg)](https://semaphoreci.com/vindi/vindi-woocommerce-subscriptions)

## Description

Expand Down
11 changes: 7 additions & 4 deletions bin/install-wp-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ WP_VERSION=${5-latest}

WP_TESTS_DIR=${WP_TESTS_DIR-/tmp/wordpress-tests-lib}
WP_CORE_DIR=${WP_CORE_DIR-/tmp/wordpress/}
WC_CORE_DIR=${WC_CORE_DIR-/tmp/woocommerce/}
WC_CORE_DIR=${WC_CORE_DIR-/tmp/woocommerce}

download() {
if [ `which curl` ]; then
Expand Down Expand Up @@ -120,10 +120,13 @@ install_jshint() {
}

install_wc(){
mkdir -p $WC_CORE_DIR

wget https://gist.github.com/MatheusKindrazki/95bdac1c77a1d05b4b3e7694031bad5c/raw/ba91d7b542e86da0aed6b5265c98ff864026997a/woo.tar.gz -O /tmp/woo.tar.gz
tar --strip-components=1 -zxmf /tmp/woo.tar.gz -C $WC_CORE_DIR
wget https://gist.github.com/MatheusKindrazki/46a20f3d386fb2c098fd9f23e564e84d/raw/acce9a9dbd7cc50b127eeddceb7fb2332063cacb/woo.tar.gz -O /tmp/woo.tar.gz

mkdir -p /tmp/woocommerce

# tar --strip-components=1 -zxmf /tmp/woo.tar.gz -C $WC_CORE_DIR
tar --strip-components=1 -zxmf /tmp/woo.tar.gz -C /tmp/woocommerce
}

install_wp
Expand Down

0 comments on commit fdd34e3

Please sign in to comment.