mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 22:27:26 +01:00
Updated gulpfile
This commit is contained in:
6
.gitignore
vendored
6
.gitignore
vendored
@@ -1,5 +1,5 @@
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
common/public/gen
|
website/public/gen
|
||||||
node_modules
|
node_modules
|
||||||
*.swp
|
*.swp
|
||||||
.idea*
|
.idea*
|
||||||
@@ -7,7 +7,7 @@ config.json
|
|||||||
npm-debug.log
|
npm-debug.log
|
||||||
lib
|
lib
|
||||||
website/public/bower_components
|
website/public/bower_components
|
||||||
common/public/sprites
|
common/dist
|
||||||
build
|
build
|
||||||
newrelic_agent.log
|
newrelic_agent.log
|
||||||
.bower-tmp
|
.bower-tmp
|
||||||
@@ -20,6 +20,6 @@ src/*/*.map
|
|||||||
src/*/*/*.map
|
src/*/*/*.map
|
||||||
test/*.js
|
test/*.js
|
||||||
test/*.map
|
test/*.map
|
||||||
common/public/docs
|
website/public/docs
|
||||||
*.sublime-workspace
|
*.sublime-workspace
|
||||||
coverage.html
|
coverage.html
|
||||||
|
|||||||
14
gulpfile.js
14
gulpfile.js
@@ -22,20 +22,20 @@ var gulp = require('gulp'),
|
|||||||
var paths = {
|
var paths = {
|
||||||
stylus: {
|
stylus: {
|
||||||
src: {
|
src: {
|
||||||
app: './common/public/css/index.styl',
|
app: './website/public/css/index.styl',
|
||||||
staticPage: './common/public/css/static.styl' // static is a 'future' reserved word
|
staticPage: './website/public/css/static.styl' // static is a 'future' reserved word
|
||||||
},
|
},
|
||||||
dest: './build/'
|
dest: './build/'
|
||||||
},
|
},
|
||||||
common: {
|
common: {
|
||||||
src: ['./common/index.js'],
|
src: ['./common/index.js'],
|
||||||
dest: './common/public/'
|
dest: './common/dist/scripts/'
|
||||||
},
|
},
|
||||||
sprites: {
|
sprites: {
|
||||||
src: 'img/sprites/spritesmith/**/*.png',
|
src: './common/img/sprites/spritesmith/**/*.png',
|
||||||
dest: './common/public/sprites/',
|
dest: './common/dist/sprites/',
|
||||||
cssminSrc: './common/public/sprites/*.css',
|
cssminSrc: './common/dist/sprites/*.css',
|
||||||
cssminDest: './common/public/sprites/'
|
cssminDest: './common/dist/sprites/'
|
||||||
},
|
},
|
||||||
copy: {
|
copy: {
|
||||||
src: ['./common/img/sprites/backer-only/*.gif',
|
src: ['./common/img/sprites/backer-only/*.gif',
|
||||||
|
|||||||
Reference in New Issue
Block a user