From 69ecb4bed5ff671abbc0a6600cfd6bc9f8559e25 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jo=C3=A3o=20Victor=20Tozatti=20Risso?= <jvtr12@inf.ufpr.br>
Date: Wed, 14 Sep 2016 13:27:40 -0300
Subject: [PATCH] Add build as dependency of rule test in Gulpfile
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: João Victor Tozatti Risso <jvtr12@inf.ufpr.br>
---
 gulpfile.babel.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gulpfile.babel.js b/gulpfile.babel.js
index cecae587..37ab19c3 100644
--- a/gulpfile.babel.js
+++ b/gulpfile.babel.js
@@ -36,7 +36,7 @@ function compile() {
 
 gulp.task('build', compile);
 
-gulp.task('test', () => {
+gulp.task('test', ['build'], () => {
   gulp.src('test/test.js', {read: false})
     .pipe(mocha())
     .once('error', () => {
-- 
GitLab