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

How do I reference destination in icing? #23

Open
gotoplanb opened this issue Jan 22, 2018 · 0 comments
Open

How do I reference destination in icing? #23

gotoplanb opened this issue Jan 22, 2018 · 0 comments
Assignees

Comments

@gotoplanb
Copy link
Contributor

I’m trying to make an icing script. Assume I’m generating a file called html/third.html, I then want to copy to the clipboard. Easy enough from terminal using cat html/third.html | pbcopy

Trying to do this as icing, closest I can get is:

cmd: ['cat', `<%= destination %>"/"<%= filename %>`]

which barks at me that "destination is not defined"

  1. How should I be referencing destination in an icing script?
  2. Is it possible to chain commands in an icing script with either && or |?
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

No branches or pull requests

2 participants