Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Rename generated XPI file instead of creating a sym-link? #17
Comments
|
@gregglind , correct me if I am wrong, but I believe one copy (the symlink) is for development, and the other copy is for publishing. There's a naming convention that is adhered to (for tracking in telemetry I assume!), so it's easier to generate this XPI programmatically from details in |
|
Correct. It makes a real one, and a symlink (that always has a predicatble name 'linked-addon.xpi'. I could change it to be 'copied-addon.xpi' |
|
(this belongs in https://github.com/mozilla/shield-studies-addon-template though :) |
pdehaan
referenced this issue
in mozilla/shield-studies-addon-template
Dec 11, 2017
Open
Rename generated XPI file instead of creating a sym-link? #42
|
Filed upstream as mozilla/shield-studies-addon-template#42 |
pdehaan commentedDec 7, 2017
Instead of generating a symbolic link to the generated XPI, why not just do a
mv "${XPI_NAME}" addon.xpi? (Or evenmv *.xpi addon.xpi, if the /dist/ directory only has one XPI file)https://github.com/gregglind/addon-wr/blob/526535ea04ce79f59a79381ab71b8c9be61b9af8/bin/xpi.sh#L39-L49