I’m new to phing, so I may be missing something obvious here, but I have the following that packages a chrome extension
<exec command=""C:\\PortableApps\\GoogleChromePortable\\GoogleChromePortable.exe" --pack-extension="M:\\GIT\\Playground\\my-scripts\\chrome\\my_extension" --pack-extension-key="M:\\GIT\\Playground\\my-scripts\\chrome\\my_extension.pem"" dir="." logoutput="true" />
I’m curious if I can replace the paths that are hard coded with some kind of parameter… Something like %chrome%. The hard coded paths are ugly and won’t cross workstations very well (if I were to ever add another team member).
Two things to note:
- The --pack-extension and --pack-extension-key MUST be Full Paths (I tried relative, it fails to generate the crx files)
- It must create the crx within the my-scripts\chrome folder (which it does now).
Thoughts?