Commit 0bfc49ab authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

Utilise le grunt fourni avec reveal.js plutôt que grunt-cli.

Evite une erreur si grunt-cli n'est pas installé.
parent e22495f3
...@@ -9,7 +9,6 @@ build: ...@@ -9,7 +9,6 @@ build:
variables: variables:
NPM_CONFIG_CACHE: "$CI_PROJECT_DIR/.npm" NPM_CONFIG_CACHE: "$CI_PROJECT_DIR/.npm"
script: script:
- npm install -g grunt-cli
- npm install - npm install
- npm run build - npm run build
artifacts: artifacts:
......
...@@ -46,7 +46,7 @@ module.exports = grunt => { ...@@ -46,7 +46,7 @@ module.exports = grunt => {
} }
}, },
buildRevealJs: { buildRevealJs: {
command: "grunt css jshint", command: "node_modules/.bin/grunt css jshint",
options: { options: {
cwd: BUILD_DIR cwd: BUILD_DIR
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment