]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - Makefile
Merge pull request #3422 from wallabag/simpleue-2
[github/wallabag/wallabag.git] / Makefile
index 1df4d6327333a06ef399778f16810f413c6e2f24..ffbe102a045c05f09ca3201322592e3ff153a111 100755 (executable)
--- a/Makefile
+++ b/Makefile
@@ -23,12 +23,11 @@ dev: ## Install the latest dev version
 run: ## Run the wallabag built-in server
        @php bin/console server:run --env=$(ENV)
 
-build: ## Run grunt
-       @grunt
+build: ## Run webpack
+       @npm run build:$(ENV)
 
 test: ## Launch wallabag testsuite
-       @if [ ! -d "vendor/phpunit" ]; then composer install; fi
-       @ant prepare && vendor/phpunit/phpunit/phpunit -v
+       @ant prepare && bin/simple-phpunit -v
 
 release: ## Create a package. Need a VERSION parameter (eg: `make release VERSION=master`).
 ifndef VERSION
@@ -41,6 +40,6 @@ travis: ## Make some stuff for Travis-CI
 deploy: ## Deploy wallabag
        @bundle exec cap staging deploy
 
-.PHONY: help clean install update build test release travis deploy
+.PHONY: help clean install update build test release travis deploy run dev
 
 .DEFAULT_GOAL := install