forked from MTSR/mapserver
add jshint to docker build step
This commit is contained in:
parent
c97e8f8c4f
commit
7b7884456d
2
Makefile
2
Makefile
@ -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)/
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user