Skip to content
This repository has been archived by the owner on Mar 31, 2020. It is now read-only.

Commit

Permalink
Remove scanners
Browse files Browse the repository at this point in the history
Annotations were removed Laravel 5. They’re now a package.
  • Loading branch information
JeffreyWay committed Jan 11, 2015
1 parent c9a2695 commit fe1a931
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 86 deletions.
26 changes: 0 additions & 26 deletions ingredients/event-scan.js

This file was deleted.

26 changes: 0 additions & 26 deletions ingredients/route-scan.js

This file was deleted.

38 changes: 4 additions & 34 deletions readme.md
Expand Up @@ -135,32 +135,16 @@ Within your views, you may use the `elixir()` function to load the appropriately

Behind the scenes, the `elixir()` function will determine the name of the hashed file that should be included.

#### Scan For Routes

elixir(function(mix) {
mix.routes();
});

This will automatically monitor your controllers for changes (and route annotations), and re-generate the cached routes file.
The same is true for events.

#### Scan For Events

elixir(function(mix) {
mix.events();
});

#### Copy a File
#### Copy a File to a New Location

elixir(function(mix) {
// from, to
mix.copy("vendor/jquery.js", "public/css/jquery.js");
mix.copy('vendor/foo/bar.css', 'public/css/bar.css');
});

#### Copy a Directory of Files
#### Copy an Entire Directory to a New Location

elixir(function(mix) {
mix.copy("path/to/folder", "path/to/destination/folder");
mix.copy('vendor/package/views', 'resources/views');
});

#### Put It All Together
Expand All @@ -172,20 +156,6 @@ This will automatically monitor your controllers for changes (and route annotati
.version("css/bootstrap.css");
});

#### Copy a File to a New Location

elixir(function(mix) {
mix.copy('vendor/foo/bar.css', 'public/css/bar.css');
});

#### Copy an Entire Directory to a New Location

elixir(function(mix) {
mix.copy('vendor/package/views', 'resources/views');
});




<a name="gulp"></a>
## Gulp
Expand Down

0 comments on commit fe1a931

Please sign in to comment.