Skip to content

Commit

Permalink
Debug make tx-en
Browse files Browse the repository at this point in the history
  • Loading branch information
parente committed May 5, 2019
1 parent 77a770f commit 5755b81
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -68,22 +68,19 @@ n-docs-diff: ## number of docs/ files changed since branch from master
n-other-diff: ## number of files outside docs/ changed since branch from master
@git diff --name-only $(DIFF_RANGE) -- ':!docs/' | wc -l | awk '{print $$1}'

tx-en: ## rebuild en locale strings and push to master
git config --global user.email "travis@travis-ci.org"
git config --global user.name "Travis CI"
tx-en: ## rebuild en locale strings and push to master (req: GH_TOKEN)
@git config --global user.email "travis@travis-ci.org"
@git config --global user.name "Travis CI"
@git checkout master

git checkout master
@make -C docs clean gettext
@cd docs && sphinx-intl update -p _build/gettext -l en

pushd docs
make clean gettext
sphinx-intl build -p _build/gettext -l en
popd
@git add docs/locale/en
@git commit -m "Update en source strings for $$TRAVIS_COMMIT"

git add docs/locale/en
git commit -m "Update en source strings for $$TRAVIS_COMMIT"

git remote add origin-tx https://$${GH_TOKEN}@github.com/jupyter/docker-stacks.git
git push -u origin-tx master
@git remote add origin-tx https://$${GH_TOKEN}@github.com/jupyter/docker-stacks.git
@git push -u origin-tx master


test/%: ## run tests against a stack
Expand Down

0 comments on commit 5755b81

Please sign in to comment.