Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

custom yaml file #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

pedro-nonfree
Copy link

@pedro-nonfree pedro-nonfree commented Nov 18, 2018

allow changing the yaml file when executing the make command

I put this here for commenting, what do you think? Is a way of saving the invoice in both formats: yaml and pdf. Without this I feel a little bit of chaos, copying the yaml I want from invoice1111.yml to details.yml and so on

example with the default usage (but output would be details.pdf)

make with yml=details.yml

example of another random yml file (output would be invoice111.pdf)

make with yml=invoice111.yml

@bibz
Copy link

bibz commented Jan 12, 2020

Thank you for this patch, very useful!

Worth noting that the new recipe is indented with spaces and not tabs. Some Make implementations are on the conservative side by default and won't accept that with the following error:

% make
makefile:17: *** missing separator.  Stop.

allow changing the yaml file when executing the make command
@pedro-nonfree
Copy link
Author

pedro-nonfree commented Jan 13, 2020

Glad you liked, @bibz

Commit fixed as you said

looks like this project is dead, check it out my fork to get even more inspiration: https://gitlab.com/pedrolab/invoice-boilerplate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants