From 6d1221164b96a8197011d5817594b3801b5f1a7e Mon Sep 17 00:00:00 2001
From: Deluan <deluan@deluan.com>
Date: Mon, 6 Apr 2020 00:39:35 -0400
Subject: [PATCH] Download and install latest Jamstash when calling `make
 Jamstash-master`

---
 Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Makefile b/Makefile
index 2dcb60631..a13d97315 100644
--- a/Makefile
+++ b/Makefile
@@ -54,6 +54,8 @@ Jamstash-master:
 	wget -N https://github.com/tsquillario/Jamstash/archive/master.zip
 	unzip -o master.zip
 	rm master.zip
+	(cd Jamstash-master && npm ci && npx bower install && npx grunt build)
+	rm -rf Jamstash-master/node_modules Jamstash-master/bower_components
 
 check_env: check_go_env check_node_env
 .PHONE: check_env