mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
update assets location
This commit is contained in:
parent
f9ae9f2619
commit
18afaeb093
@ -8,11 +8,11 @@ module.exports = function(grunt) {
|
|||||||
grunt.initConfig({
|
grunt.initConfig({
|
||||||
watch: {
|
watch: {
|
||||||
sass: {
|
sass: {
|
||||||
files: ['assets/public_src/css/**/*.css'],
|
files: ['src/css/**/*.css'],
|
||||||
tasks: ['concat', 'cssmin']
|
tasks: ['concat', 'cssmin']
|
||||||
},
|
},
|
||||||
js: {
|
js: {
|
||||||
files: ['assets/public_src/js/**/*.js'],
|
files: ['src/js/**/*.js'],
|
||||||
tasks: ['uglify:main']
|
tasks: ['uglify:main']
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@ -24,7 +24,7 @@ module.exports = function(grunt) {
|
|||||||
'node_modules/animate.css/source/bouncing_entrances/bounceInRight.css',
|
'node_modules/animate.css/source/bouncing_entrances/bounceInRight.css',
|
||||||
'node_modules/animate.css/source/fading_entrances/fadeIn.css',
|
'node_modules/animate.css/source/fading_entrances/fadeIn.css',
|
||||||
'node_modules/animate.css/source/fading_exits/fadeOut.css',
|
'node_modules/animate.css/source/fading_exits/fadeOut.css',
|
||||||
'assets/public_src/css/main.css'
|
'src/css/main.css'
|
||||||
],
|
],
|
||||||
dest: 'temp/css/main.css',
|
dest: 'temp/css/main.css',
|
||||||
},
|
},
|
||||||
@ -35,7 +35,7 @@ module.exports = function(grunt) {
|
|||||||
expand: true,
|
expand: true,
|
||||||
flatten: true,
|
flatten: true,
|
||||||
src: ['node_modules/font-awesome/fonts/**'],
|
src: ['node_modules/font-awesome/fonts/**'],
|
||||||
dest: 'assets/public/fonts'
|
dest: 'assets/dist/public/fonts'
|
||||||
}],
|
}],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@ -56,7 +56,7 @@ module.exports = function(grunt) {
|
|||||||
uglify: {
|
uglify: {
|
||||||
plugins: {
|
plugins: {
|
||||||
files: {
|
files: {
|
||||||
'assets/public/js/plugins.min.js': ['node_modules/jquery/dist/jquery.min.js',
|
'assets/dist/public/js/plugins.min.js': ['node_modules/jquery/dist/jquery.min.js',
|
||||||
'node_modules/perfect-scrollbar/dist/js/min/perfect-scrollbar.jquery.min.js',
|
'node_modules/perfect-scrollbar/dist/js/min/perfect-scrollbar.jquery.min.js',
|
||||||
'node_modules/showdown/dist/showdown.min.js',
|
'node_modules/showdown/dist/showdown.min.js',
|
||||||
'node_modules/noty/js/noty/packaged/jquery.noty.packaged.min.js',
|
'node_modules/noty/js/noty/packaged/jquery.noty.packaged.min.js',
|
||||||
@ -67,7 +67,7 @@ module.exports = function(grunt) {
|
|||||||
},
|
},
|
||||||
main: {
|
main: {
|
||||||
files: {
|
files: {
|
||||||
'assets/public/js/app.min.js': ['assets/public_src/js/**/*.js']
|
'assets/dist/public/js/app.min.js': ['src/js/**/*.js']
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Before Width: | Height: | Size: 357 KiB After Width: | Height: | Size: 357 KiB |
2
hugo.go
2
hugo.go
@ -1,6 +1,6 @@
|
|||||||
//go:generate go get github.com/jteeuwen/go-bindata
|
//go:generate go get github.com/jteeuwen/go-bindata
|
||||||
//go:generate go install github.com/jteeuwen/go-bindata/go-bindata
|
//go:generate go install github.com/jteeuwen/go-bindata/go-bindata
|
||||||
//go:generate go-bindata -prefix assets/ -pkg assets -o routes/assets/assets.go assets/templates/ assets/public/...
|
//go:generate go-bindata -prefix assets/dist -pkg assets -o routes/assets/assets.go assets/dist/...
|
||||||
|
|
||||||
// Package hugo makes the bridge between the static website generator Hugo
|
// Package hugo makes the bridge between the static website generator Hugo
|
||||||
// and the webserver Caddy, also providing an administrative user interface.
|
// and the webserver Caddy, also providing an administrative user interface.
|
||||||
|
Loading…
Reference in New Issue
Block a user