Skip to content

Commit

Permalink
Remove duplicate help target
Browse files Browse the repository at this point in the history
And reformat for using existing help-text helper

Fixes #1979
  • Loading branch information
hexylena committed Mar 22, 2016
1 parent 67b7294 commit 3a1c846
Showing 1 changed file with 7 additions and 16 deletions.
23 changes: 7 additions & 16 deletions Makefile
Expand Up @@ -15,34 +15,25 @@ GRUNT_DOCKER_NAME:=galaxy/client-builder:16.01
all: help
@echo "This makefile is primarily used for building Galaxy's JS client. A sensible all target is not yet implemented."

help:
@echo "client - rebuild all client artifacts"
@echo "docs - generate Sphinx HTML documentation, including API docs"
@echo "open-docs - generate Sphinx HTML documentation and open in browser"
@echo "open-project - open project on github"
@echo "lint - check style using tox and flake8 for Python 2 and Python 3"
@echo "release-check-metadata - check github PR metadata for target release"
@echo "release-bootstrap-history - bootstrap history for a new release"

docs:
docs: ## generate Sphinx HTML documentation, including API docs
$(IN_VENV) $(MAKE) -C docs clean
$(IN_VENV) $(MAKE) -C docs html

_open-docs:
open docs/_build/html/index.html || xdg-open docs/_build/html/index.html

open-docs: docs _open-docs
open-docs: docs _open-docs ## generate Sphinx HTML documentation and open in browser

open-project:
open-project: ## open project on github
open $(PROJECT_URL) || xdg-open $(PROJECT_URL)

lint:
lint: ## check style using tox and flake8 for Python 2 and Python 3
$(IN_VENV) tox -e py27-lint && tox -e py34-lint

release-issue:
$(IN_VENV) python scripts/bootstrap_history.py --create-release-issue $(RELEASE_CURR)

release-check-metadata:
release-check-metadata: ## check github PR metadata for target release
$(IN_VENV) python scripts/bootstrap_history.py --check-release $(RELEASE_CURR)

release-check-blocking-issues:
Expand All @@ -51,7 +42,7 @@ release-check-blocking-issues:
release-check-blocking-prs:
$(IN_VENV) python scripts/bootstrap_history.py --check-blocking-prs $(RELEASE_CURR)

release-bootstrap-history:
release-bootstrap-history: ## bootstrap history for a new release
$(IN_VENV) python scripts/bootstrap_history.py --release $(RELEASE_CURR)

npm-deps:
Expand All @@ -66,7 +57,7 @@ style: npm-deps ## Calls the style task of Grunt
webpack: npm-deps ## Pack javascript
cd client && node_modules/webpack/bin/webpack.js -p

client: grunt style webpack ## Process all client-side tasks
client: grunt style webpack ## Rebuild all client-side artifacts

grunt-docker-image: ## Build docker image for running grunt
docker build -t ${GRUNT_DOCKER_NAME} client
Expand Down

0 comments on commit 3a1c846

Please sign in to comment.