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({
|
||||
watch: {
|
||||
sass: {
|
||||
files: ['assets/public_src/css/**/*.css'],
|
||||
files: ['src/css/**/*.css'],
|
||||
tasks: ['concat', 'cssmin']
|
||||
},
|
||||
js: {
|
||||
files: ['assets/public_src/js/**/*.js'],
|
||||
files: ['src/js/**/*.js'],
|
||||
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/fading_entrances/fadeIn.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',
|
||||
},
|
||||
@ -35,7 +35,7 @@ module.exports = function(grunt) {
|
||||
expand: true,
|
||||
flatten: true,
|
||||
src: ['node_modules/font-awesome/fonts/**'],
|
||||
dest: 'assets/public/fonts'
|
||||
dest: 'assets/dist/public/fonts'
|
||||
}],
|
||||
},
|
||||
},
|
||||
@ -56,7 +56,7 @@ module.exports = function(grunt) {
|
||||
uglify: {
|
||||
plugins: {
|
||||
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/showdown/dist/showdown.min.js',
|
||||
'node_modules/noty/js/noty/packaged/jquery.noty.packaged.min.js',
|
||||
@ -67,7 +67,7 @@ module.exports = function(grunt) {
|
||||
},
|
||||
main: {
|
||||
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 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
|
||||
// and the webserver Caddy, also providing an administrative user interface.
|
||||
|
Loading…
Reference in New Issue
Block a user