From a5462b3c984de36404df1aa58c36e714af529796 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guillaume=20Perr=C3=A9al?= <guillaume.perreal@irstea.fr> Date: Sun, 20 Oct 2019 16:08:36 +0200 Subject: [PATCH] =?UTF-8?q?Change=20la=20commande=20utilis=C3=A9e=20pour?= =?UTF-8?q?=20cconstuire=20reveal.js.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Gruntfile.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index 2d9fc50c..44236b49 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -1,4 +1,5 @@ const loadGruntTasks = require("load-grunt-tasks"); +const { sep } = require("path"); module.exports = grunt => { const BUILD_DIR = "build/"; @@ -46,7 +47,7 @@ module.exports = grunt => { } }, buildRevealJs: { - command: "node_modules/.bin/grunt css jshint", + command: `sh node_modules${sep}.bin${sep}grunt css jshint`, options: { cwd: BUILD_DIR } -- GitLab