mimetypes: adding mimetype for scons scripts

Carnë Draug carandraug+dev at gmail.com
Tue Jan 20 09:58:53 PST 2015


Hi

scons [1] is a build system and I was thinking of adding it to
shared-mime-info.  Its files are very simple to identify, they are
always named SConstruct or SConscript.  These files are also valid
python scripts.

Should shared-mime-info identify them (I can submit a git patch, no
problem) or should SCons itself add a rule when they are installed?
I am guessing that a SCons mimetype would be "text/x-scons" is that
correct? Or should they be identified only as python scripts?

I saw there are rules for make and cmake so I thought that adding
to shared-mime-info would be the way to go.

Thank you
Carnë

[1] http://www.scons.org/


More information about the xdg mailing list