AdamsLair / duality

a 2D Game Development Framework
https://adamslair.github.io/duality
MIT License
1.41k stars 290 forks source link

Introduce a Build Pipeline #514

Open ilexp opened 7 years ago

ilexp commented 7 years ago

Summary

Building a Duality game ("Publish Game") is currently a very hardcoded process. Replace this with an extensible, modular build process that is configurable via the editor.

Analysis

YMRYMR commented 7 years ago

I'd vote for this one. The possibility of merging all assemblies and plugins would be very useful. Also, there could be an option to remove the documentation to reduce the output size, or an asset packer to have only 2 files (exe & pak).

Barsonax commented 6 years ago

Iam not really experienced with the editor UI itself but I could see if I can refactor the steps in PublishGameDialog to separate classes that each implement a 'IPublishStep' interface as a first step

ilexp commented 6 years ago

Actually, I'd be kinda interested to deal with this issue myself when I get around to it 🙂 That said, if this becomes a blocker or pain point for you or others before that happens, feel free to post a design proposal for this as a comment and we can start discussing it.

Barsonax commented 6 years ago

Nah just looking for things to help with

BobGneu commented 6 years ago

Has there been work on this front?

ilexp commented 6 years ago

Not yet, would have posted here otherwise. Caught up too much in other things and v3.0 so far, but definitely have it on my radar, and not with the lowest priority either. Having a proper, extensible build pipeline would be awesome.

Barsonax commented 6 years ago

I havent done anything with this.

ChristianGreiner commented 6 years ago

I've found an open source alternative to ILMerge for merging all assemblie into one file. Maybe it can be useful at some point.

https://github.com/gluck/il-repack

ilexp commented 6 years ago

Nice. Thanks for the link!