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\
|
-v mapserver-volume:/root/go\
|
||||||
-w /app\
|
-w /app\
|
||||||
mapserver-builder\
|
mapserver-builder\
|
||||||
make test all VERSION=$(VERSION)
|
make test jshint all VERSION=$(VERSION)
|
||||||
# copy generated files to output dir
|
# copy generated files to output dir
|
||||||
cp server/output/* $(OUT_DIR)/
|
cp server/output/* $(OUT_DIR)/
|
||||||
|
|
||||||
|
@ -13,3 +13,7 @@ RUN add-apt-repository ppa:longsleep/golang-backports &&\
|
|||||||
# luacheck
|
# luacheck
|
||||||
RUN apt-get install -y luarocks liblua5.1-dev
|
RUN apt-get install -y luarocks liblua5.1-dev
|
||||||
RUN luarocks install luacheck
|
RUN luarocks install luacheck
|
||||||
|
|
||||||
|
# jshint
|
||||||
|
RUN apt-get install -y nodejs npm
|
||||||
|
RUN npm install -g jshint
|
||||||
|
Loading…
x
Reference in New Issue
Block a user