-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Splitting project architecture #8
Comments
I second the makefile and man page. I think while it may not be popular now, could very well be an awesome tool for developers to install on their *nix systems. |
Third this! plus I would also like to exclude/ignore some files for some OS (For example compressed textures that work on Android are ignored in the rest of the OSs). This could be done with a configuration file and using a temporary folder (a copy of the game folder) and then deleting the unneeded files (that are in the configuration file) before zipping |
Making an option to exclude files was pne of my greatest wills about this. But I never really understood how zip was understanding filepaths (it's quite special) and I did not make a lot of research about it. Of course, this would be an usefull improvement. For now, you can't really exclude files, but you van choose which ones to include. Splitting all of this is a great idea too. I'm thinking about this, but I can't really work on it right now. |
For HDF I did the following; I created a profile for each deployable OS/Device (e.g. desktop(win,mac,lin) | android tablets | ouya ), and they contained specific defined strings. One such string was: For the OUYA profile: Then each profile would use a different stored zip command:
So basically I deployed both the
Not sure if this helps, but maybe my workflow will spark a few ideas. The best thing to do I suppose would be to create asset folders per profile:
and when you zip, |
Yeah! Exactly that... My code (in LÖVE) already handles things like that but all the files are still there... As I said before, maybe this can be accomplished with a file that contains something like the following:
So when the script reads this file it will ignore the appropriate directories for the OS... When you make a This also means that you need to generate a This file could also handle the configuration for each OS (for example the Activity name in android and so... Maybe even override the |
Hi everyone ! It's nice, because you can see which script runs for what system. They are all independant, you cannot create two executables for two different plateforms at the same time, this way we don't mix options about icons and maintainers and everything. I have also made an install script, but it only run as root.
The script might need to be heavily tested, please test and tell me if you have suggestions or found a bug. About profiles, my first idea was to make love-release as easy as possible for the end user. I didn't want to force him to use a specific naming convention, like |
I tested this on my project, and it looks like it runs well!
I will note that it looks like it's ignoring my |
Well... Now that is is modular, only one system can be generated at a time... So it just create executable for the first and skips the others. If you are on the modules branch, it should not even create zip pkg for osx and windows in the same time... |
Ah! Maybe they're left over from the previous tests I ran. I will test from a clean environment. Perhaps now that "modules" are being introduced, it might behove us to batch the builds depending on the provided flags? |
Yes, but for example OS X and Windows use the same |
I see what you mean. I would vote without a config file, it's only one build at a time; but that ought to be clearly documented. |
On the other hand, the only options that are shared are:
What I mean is for the version we could just assume it will be the same, for the package name I may be able to detect if it is in lowercase-style or in full name style, and for the icons it could be very easy if the user pointed to a location like
|
what about |
Yeah, but same way that with the EDIT: Configuration works ! Will push the changes after full testing. ☕ |
🍇 job! |
What's new: - --config flag to pass a INI config file to parse. See config.ini. - Updated the modules scripts for configuration. Now needs to unset variables passed by CLI or config. - Fix release directory that was added in love file (maybe). - Properly escapes sed arguments. - chmod +x to getopt.sh and read_ini.sh - Fix #12
About Maybe it is time to merge changes in master branch ? With Lundum Dare start, love-release might be useful for someone out there... |
Do you think that we need to split a little more this project ?
I have in my head something a little more like git-extras for example.
Create real
man
and a brand newMakefile
for cleaner installation.I think
love-release
will be bigger every day and we need something more modular.The text was updated successfully, but these errors were encountered: