1
0
forked from MTSR/mapserver

add jshint to docker build step

This commit is contained in:
NatureFreshMilk 2019-04-04 10:59:48 +02:00
parent c97e8f8c4f
commit 7b7884456d
2 changed files with 5 additions and 1 deletions

View File

@ -10,7 +10,7 @@ all: builder_image $(OUT_DIR) $(MOD_ZIP)
-v mapserver-volume:/root/go\
-w /app\
mapserver-builder\
make test all VERSION=$(VERSION)
make test jshint all VERSION=$(VERSION)
# copy generated files to output dir
cp server/output/* $(OUT_DIR)/

View File

@ -13,3 +13,7 @@ RUN add-apt-repository ppa:longsleep/golang-backports &&\
# luacheck
RUN apt-get install -y luarocks liblua5.1-dev
RUN luarocks install luacheck
# jshint
RUN apt-get install -y nodejs npm
RUN npm install -g jshint