Skip to content

Commit

Permalink
Atualização para versão mais nova do Jigsaw
Browse files Browse the repository at this point in the history
  • Loading branch information
vitormattos committed May 21, 2019
1 parent 2beb7b5 commit 182ac36
Show file tree
Hide file tree
Showing 16 changed files with 11,460 additions and 5,729 deletions.
13 changes: 10 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
/cache/
/vendor/
/node_modules/
/build_local/
/build_production/
/.idea
source/css/main.css
source/css/main.css.map
npm-debug.log
yarn-error.log
/source/assets/build/css/
/source/assets/build/fonts/
/source/assets/build/js/

# Eclipse
.buildpath
Expand All @@ -13,3 +16,7 @@ source/css/main.css.map

# VI
*.swp

# vscode
/.idea
/.vscode/
15 changes: 14 additions & 1 deletion bootstrap.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
<?php

use TightenCo\Jigsaw\Jigsaw;

/** @var $container \Illuminate\Container\Container */
/** @var $jigsaw \TightenCo\Jigsaw\Jigsaw */
/** @var $events \TightenCo\Jigsaw\Events\EventBus */

/**
* You can run custom code at different stages of the build process by
* listening to the 'beforeBuild', 'afterCollections', and 'afterBuild' events.
*
* For example:
*
* $events->beforeBuild(function (Jigsaw $jigsaw) {
* // Your code here
* });
*/
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
"minimum-stability": "dev",
"license": "MIT",
"require": {
"tightenco/jigsaw": "^1.0"
"tightenco/jigsaw": "dev-master"
},
"scripts": {
"post-install-cmd": [
"npm install"
],
"dev": [
"gulp watch"
"npm run watch"
],
"prod": [
"gulp --production",
"npm run production",
"jigsaw build production"
]
}
Expand Down
Loading

0 comments on commit 182ac36

Please sign in to comment.