Skip to content

Commit 7db19b1

Browse files
committed
Merge pull request #202 from hmalphettes/master
Elasticsearch-2.0 refactoring
2 parents ffb6b3a + 7b42f4f commit 7db19b1

25 files changed

+37
-33
lines changed

Gruntfile.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,26 @@ module.exports = function(grunt) {
55
// Project configuration.
66
grunt.initConfig({
77
clean: {
8-
dist: {
9-
src: ['dist']
8+
_site: {
9+
src: ['_site']
1010
}
1111
},
1212
concat: {
1313
vendorjs: {
1414
src: fileSets.vendorJs,
15-
dest: 'dist/vendor.js'
15+
dest: '_site/vendor.js'
1616
},
1717
vendorcss: {
1818
src: fileSets.vendorCss,
19-
dest: 'dist/vendor.css'
19+
dest: '_site/vendor.css'
2020
},
2121
appjs: {
2222
src: fileSets.srcJs,
23-
dest: 'dist/app.js'
23+
dest: '_site/app.js'
2424
},
2525
appcss: {
2626
src: fileSets.srcCss,
27-
dest: 'dist/app.css'
27+
dest: '_site/app.css'
2828
}
2929
},
3030

@@ -33,23 +33,23 @@ module.exports = function(grunt) {
3333
expand: true,
3434
cwd: 'src/app/base/',
3535
src: [ '*.gif', '*.png', '*.css' ],
36-
dest: 'dist/base/'
36+
dest: '_site/base/'
3737
},
3838
iconFonts: {
3939
expand: true,
4040
cwd: 'src/vendor/font-awesome/fonts/',
4141
src: '**',
42-
dest: 'dist/fonts'
42+
dest: '_site/fonts'
4343
},
4444
i18n: {
4545
src: 'src/vendor/i18n/i18n.js',
46-
dest: 'dist/i18n.js'
46+
dest: '_site/i18n.js'
4747
},
4848
lang: {
4949
expand: true,
5050
cwd: 'src/app/lang/',
5151
src: '**',
52-
dest: 'dist/lang/'
52+
dest: '_site/lang/'
5353
}
5454
},
5555

README.textile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Then
6161
# @npm install@ # downloads node dev dependencies
6262
# @grunt dev@ # builds the distribution files, then watches the src directory for changes
6363

64-
Changes to both dist and src directories *must* be committed, to allow people to run head without running dev tools
64+
Changes to both _site and src directories *must* be committed, to allow people to run head without running dev tools
6565
and folllow existing dev patterns, such as indenting with tabs
6666

6767
h5. Contributing an Internationalisation
@@ -76,7 +76,7 @@ To contribute an internationalisation
7676

7777
# Follow "Contributing" instructions above
7878
# Find your 2-character "ISO 639-1 language code":http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
79-
# edit index.html to add your 2 letter language code to the data-langs attribute of this line @<script src="dist/i18n.js" data-baseDir="dist/lang" data-langs="en,fr,your_lang_here"></script>@
79+
# edit _site/index.html to add your 2 letter language code to the data-langs attribute of this line @<script src="_site/i18n.js" data-baseDir="_site/lang" data-langs="en,fr,your_lang_here"></script>@
8080
# make a copy of @src/app/langs/en_strings.js@ prefixed with your langugae code
8181
# convert english strings and fragments to your language. "Formatting Rules":http://docs.oracle.com/javase/tutorial/i18n/format/messageintro.html
8282
# Submit a pull request
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.

0 commit comments

Comments
 (0)