Add existing sync target#156
Conversation
|
Hey. I'm not completely sold on adding this target-I think it's a bit strange to have a separate one from Cloud that uses the lockfile, which only Cloud uses. Can you let me know what you gain from not checking in your generated asset files? This is the standard workflow and also makes your code typecheckable without needing an extra step. |
My use for this may be a bit specific. Assets are git-ignored and whenever testing locally we use the
If it makes more sense, I can make it an option for the |
Adds
existingsync target that generates from existing lockfile entries without upload any assets. This is useful for CI linux runners to generate a production-ready asset file without uploading.Also if any asset's hash is not found in the lockfile the command fails with an error
usage:
asphalt sync existing