Skip to content

Commit

Permalink
Extra params for generators
Browse files Browse the repository at this point in the history
  • Loading branch information
ericbusboom committed Nov 25, 2017
1 parent 2bbd015 commit 254cb8f
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ on the source directory. This is done automatically from the Makefile in appurl/

.. code-block:: bash
$ cd appurl/test
$ cd ./docker
$ make build # to create the container image
$ make shell # to run bash the container
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion appurl/test/Makefile → appurl/docker/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ DOCKER ?= docker
.PHONY: test build push shell run start stop restart reload rm rmf release
CWD = $(notdir $(shell pwd))

VOLUMES=-v $(abspath $(CWD)/../../..):/code
VOLUMES=-v $(abspath $(CWD)/..):/code

test:
$(DOCKER) run --rm --name $(NAME) $(PORTS) $(VOLUMES) $(ENV) $(NS)/$(REPO):$(VERSION) tox
Expand Down
2 changes: 1 addition & 1 deletion appurl/url.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ def generator(self):
r = self.get_resource()
t = r.get_target()

return get_generator(t.get_target())
return get_generator(t.get_target(), source_url=self)


#
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setup(
name='appurl',
version='0.2.3',
version='0.2.4',
url='https://github.com/Metatab/appurl',
license='MIT',
author='Eric Busboom',
Expand Down

0 comments on commit 254cb8f

Please sign in to comment.