Skip to content

Commit

Permalink
Update Sylius plugin skeleton
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbager committed Feb 2, 2018
1 parent e1171cd commit 5540c0a
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 44 deletions.
13 changes: 1 addition & 12 deletions tests/Application/.gitignore
Original file line number Diff line number Diff line change
@@ -1,21 +1,10 @@
/node_modules/

<<<<<<< HEAD
/var/
!/var/.gitkeep

/web/assets
/web/media
=======
/var/*
!/var/.gitkeep

<<<<<<< HEAD
/web/
=======
/web/*
>>>>>>> 1.0

!/web/app.php
!/web/app_dev.php
!/web/app_test.php
>>>>>>> a234fcdaa31aaea4c11ba6ce577f4f225747cdd2
4 changes: 0 additions & 4 deletions tests/Application/Gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,9 @@ config = [
'--rootPath',
argv.rootPath || '../../../../../../../tests/Application/web/assets/',
'--nodeModulesPath',
<<<<<<< HEAD
argv.nodeModulesPath || '../../../../../../../tests/Application/node_modules/',
'--vendorPath',
argv.vendorPath || '../../../../../../../vendor/'
=======
argv.nodeModulesPath || '../../../../../../../tests/Application/node_modules/'
>>>>>>> a234fcdaa31aaea4c11ba6ce577f4f225747cdd2
];

gulp.task('admin', function() {
Expand Down
9 changes: 0 additions & 9 deletions tests/Application/app/config/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,12 @@ imports:
- { resource: "@SyliusShopBundle/Resources/config/app/config.yml" }
- { resource: "@SyliusAdminApiBundle/Resources/config/app/config.yml" }

<<<<<<< HEAD
- { resource: "@ShippingExportPlugin/Resources/config/config.yml" }

- { resource: "../../../../vendor/sylius/sylius/app/config/security.yml" }

- { resource: "services.yml" }

=======
- { resource: "../../../../vendor/sylius/sylius/app/config/security.yml" }

>>>>>>> a234fcdaa31aaea4c11ba6ce577f4f225747cdd2
framework:
translator: { fallbacks: ["%locale%", "en"] }
secret: "%secret"
Expand All @@ -45,11 +40,7 @@ swiftmailer:
doctrine:
dbal:
driver: "pdo_sqlite"
<<<<<<< HEAD
path: "%kernel.cache_dir%/db.sql"
=======
path: "%kernel.root_dir%/../var/db.sql"
>>>>>>> a234fcdaa31aaea4c11ba6ce577f4f225747cdd2
charset: UTF8

fos_rest:
Expand Down
7 changes: 0 additions & 7 deletions tests/Application/app/config/routing.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
sylius:
resource: "../../../../vendor/sylius/sylius/app/config/routing.yml"

<<<<<<< HEAD
bitbag_shipping_export_plugin:
resource: "@ShippingExportPlugin/Resources/config/routing.yml"
prefix: /admin
=======
# Put your own routes here

acme_sylius_example_shop:
resource: "@AcmeSyliusExamplePlugin/Resources/config/app/shop_routing.yml"
>>>>>>> a234fcdaa31aaea4c11ba6ce577f4f225747cdd2
5 changes: 0 additions & 5 deletions tests/Application/bin/console
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,7 @@ use Symfony\Component\Debug\Debug;

set_time_limit(0);

<<<<<<< HEAD
/** @var Composer\Autoload\ClassLoader $loader */
$loader = require __DIR__.'/../app/autoload.php';
=======
require __DIR__ . '/../../../vendor/autoload.php';
>>>>>>> a234fcdaa31aaea4c11ba6ce577f4f225747cdd2

$input = new ArgvInput();
$env = $input->getParameterOption(['--env', '-e'], getenv('SYMFONY_ENV') ?: 'dev');
Expand Down
7 changes: 0 additions & 7 deletions tests/Application/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
{
"dependencies": {
<<<<<<< HEAD
"jquery": "^2.2.0",
=======
"jquery": "^3.2.0",
>>>>>>> a234fcdaa31aaea4c11ba6ce577f4f225747cdd2
"lightbox2": "^2.9.0",
"semantic-ui-css": "^2.2.0"
},
Expand All @@ -21,10 +17,7 @@
"gulp-uglify": "^1.5.1",
"gulp-uglifycss": "^1.0.5",
"merge-stream": "^1.0.0",
<<<<<<< HEAD
=======
"node-sass": "^4.5.3",
>>>>>>> a234fcdaa31aaea4c11ba6ce577f4f225747cdd2
"yargs": "^6.4.0"
},
"scripts": {
Expand Down

0 comments on commit 5540c0a

Please sign in to comment.