Skip to content

Commit ab93d1a

Browse files
author
Nelson Zamith
committed
Moved the frontend directory (related to #39)
+ modifying Gruntfile so + now building app dist in the public/ directory + now having no more auto copied .htaccess from generator-angular + having the default .htaccess of Eloquent + will merge what is possible from the readme.md's example in that .htaccess + changing the clean task settings + so that it only deletes the files that will be in fact created by the build phase
1 parent b1122ab commit ab93d1a

File tree

159 files changed

+24
-558
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

159 files changed

+24
-558
lines changed

.gitignore

+12
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,15 @@ api/config.php
1111
/frontend/app/scripts/conf.js
1212
/misc/illuminate_queries.log
1313
.vagrant
14+
/public/404.html
15+
/public/docs
16+
/public/favicon.ico
17+
/public/flags
18+
/public/fonts
19+
/public/images
20+
/public/index.html
21+
/public/robots.txt
22+
/public/scripts
23+
/public/styles
24+
/public/favicon.ico
25+
/public/robots.txt
File renamed without changes.
File renamed without changes.
File renamed without changes.

slimplugindirectory/frontend/.gitignore frontend/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
/.tmp
44
/.sass-cache
55
/bower_components
6+
File renamed without changes.
File renamed without changes.
File renamed without changes.

slimplugindirectory/frontend/Gruntfile.js frontend/Gruntfile.js

+11-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module.exports = function (grunt) {
2222
// Configurable paths for the application
2323
var appConfig = {
2424
app: require('./bower.json').appPath || 'app',
25-
dist: 'dist'
25+
dist: '../public'
2626
};
2727

2828
// Define the configuration for all the tasks
@@ -151,7 +151,16 @@ module.exports = function (grunt) {
151151
dot: true,
152152
src: [
153153
'.tmp',
154-
'<%= yeoman.dist %>/{,*/}*',
154+
'<%= yeoman.dist %>/404.html',
155+
'<%= yeoman.dist %>/docs',
156+
'<%= yeoman.dist %>/favicon.ico',
157+
'<%= yeoman.dist %>/flags',
158+
'<%= yeoman.dist %>/fonts',
159+
'<%= yeoman.dist %>/images',
160+
'<%= yeoman.dist %>/index.html',
161+
'<%= yeoman.dist %>/robots.txt',
162+
'<%= yeoman.dist %>/scripts',
163+
'<%= yeoman.dist %>/styles',
155164
'!<%= yeoman.dist %>/.git{,*/}*'
156165
]
157166
}]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

public/favicon.ico

Whitespace-only changes.

public/robots.txt

-2
This file was deleted.

0 commit comments

Comments
 (0)