File tree Expand file tree Collapse file tree 5 files changed +11
-10
lines changed Expand file tree Collapse file tree 5 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ before_script:
22
22
- export DB_PASSWORD=
23
23
24
24
install :
25
- - travis_retry composer create-project jadjoubran/laravel5-angular-material-starter=dev-master --no-interaction --prefer-source
25
+ - composer install && npm install -g gulp bower && npm install && bower install
26
26
27
- script : cd laravel5-angular-material-starter && npm install -g gulp bower && npm install && bower install && php artisan migrate --force && gulp && vendor/bin/phpunit
27
+ script :
28
+ - php artisan migrate --force && gulp && vendor/bin/phpunit
File renamed without changes.
Original file line number Diff line number Diff line change 33
33
]
34
34
},
35
35
"scripts" : {
36
- "post-root-package- install" : [
36
+ "pre- install-cmd " : [
37
37
" php -r \" copy('.env.example', '.env');\" "
38
38
],
39
- "post-create-project -cmd" : [
39
+ "post-install -cmd" : [
40
40
" php -r \" unlink('code_of_conduct.md');\" " ,
41
41
" php -r \" unlink('CHANGELOG.md');\" " ,
42
42
" php -r \" unlink('.codeclimate.yml');\" " ,
43
43
" php -r \" unlink('.travis.yml');\" " ,
44
+ " php artisan clear-compiled" ,
45
+ " php artisan optimize" ,
44
46
" php artisan key:generate" ,
45
47
" php artisan jwt:generate"
46
48
],
47
- "post-install-cmd" : [
48
- " php artisan clear-compiled" ,
49
- " php artisan optimize"
50
- ],
51
49
"pre-update-cmd" : [
52
50
" php artisan clear-compiled"
53
51
],
Original file line number Diff line number Diff line change @@ -44,7 +44,8 @@ elixir(function(mix) {
44
44
. angular ( './angular/' )
45
45
. ngHtml2Js ( './angular/**/*.html' )
46
46
. concatScripts ( scripts , 'final.js' )
47
- . sass ( './angular/**/*.scss' , 'public/css' )
47
+ . sass ( [ './angular/**/*.scss' , '!./angular/critical.scss' ] , 'public/css' )
48
+ . sass ( './angular/critical.scss' , 'public/css/critical.css' )
48
49
. styles ( styles , './public/css/final.css' )
49
50
. version ( assets )
50
51
. swPrecache ( ) ;
Original file line number Diff line number Diff line change 14
14
<script type="text/javascript">document.location.href = '/unsupported-browser'</script>
15
15
<![endif]-->
16
16
17
- <style ><?php require (" ../angular/critical.css" ) ? > </style >
17
+ <style ><?php require ( public_path ( " css/critical.css" ) ) ? > </style >
18
+
18
19
</head >
19
20
<body >
20
21
You can’t perform that action at this time.
0 commit comments