diff options
Diffstat (limited to 'tools/template')
-rw-r--r-- | tools/template/README.md | 2 | ||||
-rw-r--r-- | tools/template/gulpfile.js | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/template/README.md b/tools/template/README.md index 4e2cb348dd7..14d2f91d185 100644 --- a/tools/template/README.md +++ b/tools/template/README.md @@ -14,7 +14,7 @@ Once you have `npm` installed, follow these steps: 2. run `npm install` to install all missing dependencies. 3. run `npm run build` to build the template. -The build script packs everything into a single HTML file and copies it to its parent folder as `./tools/wtstats.html.template`. +The build script packs everything into a single HTML file and copies it to `./tools/template/wtstats.html.template`. ### Usage diff --git a/tools/template/gulpfile.js b/tools/template/gulpfile.js index e03be8dcaf3..d2da47ec388 100644 --- a/tools/template/gulpfile.js +++ b/tools/template/gulpfile.js @@ -135,7 +135,7 @@ gulp.task('styles', function() { /** * 'gulp pack' will build all targets, then run packify to bundle everything into - * a single .html file, and save this template in the tools directory. + * a single .html file, and save this template in the templates directory. */ gulp.task('pack', ['default'], function() { process.chdir('./' + BUILD) @@ -144,7 +144,7 @@ gulp.task('pack', ['default'], function() { } packify(opts, function (err, packed) { if (err) return console.error(err); - fs.writeFileSync('../../wtstats.html.template', packed); + fs.writeFileSync('../wtstats.html.template', packed); }); }); |