Closed amenk closed 7 years ago
This is a feature of the build process which ensures that the final output is clean and doesn't accidentally contain development artifacts which could introduce security issues etc. If you are developing local you could write a script that automates some of that for you.
If you have more time you could move some of the stuff in extensions/nix/chrome-extension.nix
etc to either a Makefile or a bash script and then call that from within chrome-extension.nix
for building a release, and locally for development.
Edit: thanks for the rename.
but how are you working during development? Always re-adding the extension?
And how can I avoid that a new extension ID is created?
Pretty much though I have a shell script somewhere that I can't find right now. Extension development is optimized for a clean release instead of fast iteration ATM . See also #34 for a necessary step before doing any substantial work.
I think we also should have a way for fast iterations ... especially for working on #34 -- or this also dependent on #34 somehow?
It works with just copying to /tmp/chrome-extensions - added info the readme https://github.com/amenk/passopolis-extensions/blob/patch-2/README.md
nix-build nix/build.nix -A chrome-extension
Also a new extension ID is generated, so I have to login again and again and so on...