diff options
Diffstat (limited to 'webapp/Makefile')
-rw-r--r-- | webapp/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/webapp/Makefile b/webapp/Makefile index b0c2c831a..48172273f 100644 --- a/webapp/Makefile +++ b/webapp/Makefile @@ -1,10 +1,15 @@ -.PHONY: build test run clean stop +.PHONY: build test run clean stop check-style run-unit -test: .npminstall +BUILD_SERVER_DIR = .. + +check-style: .npminstall @echo Checking for style guide compliance npm run check +test: .npminstall + cd $(BUILD_SERVER_DIR) && $(MAKE) internal-test-client + .npminstall: package.json @echo Getting dependencies using npm @@ -12,7 +17,7 @@ test: .npminstall touch $@ -build: | .npminstall test +build: .npminstall @echo Building mattermost Webapp npm run build |