Makefile: Add a standalone recipe for building only the addon .zip #104239
No reviewers
Labels
No Label
Good First Issue
Priority
High
Priority
Low
Priority
Normal
Status
Archived
Status
Confirmed
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Job Type
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: studio/flamenco#104239
Loading…
Reference in New Issue
No description provided.
Delete Branch "ZedDB/flamenco:plugin"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This option makes it easier to only build and distribute the addon.
Before this change, the only way to generate the addon .zip via
make
was to also build the manager.LGTM, just one small nag
@ -75,1 +75,4 @@
.PHONY: flamenco-addon
flamenco-addon: addon-packer
./addon-packer -filename ./flamenco3-addon.zip
Since this produces a file called
flamenco3-addon.zip
, I think it's better to also name the receipeflamenco3-addon.zip
.Maybe a bit off-topic, but I would suggest to drop the "3" from Flamenco moving forward. Enough time has passed since the new release, and it should be distributed just as Flamenco.
I agree as well to just drop "3". From grepping the code in the repo, it doesn't seem to be too hard to do:
We could, but that's for a different PR, then. For this PR I still feel that the Make rule should match the filename that's being produced by it.
5c8b43a3eb
to7fa43c836e
Updated the make rule to produce a zip file with the same name as the rule.
As this in a new recipe and doesn't touch any of the existing code, I think this is for the better.
But it might not be what you meant?
I think this gets super confusing, when there's multiple ways in which the add-on is packed. It's the opposite of what I meant: the rule should match the filename, and not the other way around.
To simplify the discussion, I've just committed
100e8e404e
to rename the add-on toflamenco-addon.zip
.The rule still doesn't match the filename. The rule is
flamenco-addon
, the filename isflamenco-addon.zip
.7fa43c836e
tod6abf0c5e0
Updated the make file so the rule is named
flamenco-addon.zip
.Because the filename now matches, I removed "phony" as it now conforms to regular makefile rules.
👍