Difference between revisions of "Hbcxmlgen-bash"
Jump to navigation
Jump to search
Mcpancakes (talk | contribs) (New page: {{Infobox homebrewapp | title = hbcxmlgen | image = | desc = Bash script for meta.xml creation. | type = PC utility | license = GPLv3 | author = [[User:...) |
Mcpancakes (talk | contribs) (noted small bug) |
||
Line 2: | Line 2: | ||
| title = hbcxmlgen | | title = hbcxmlgen | ||
| image = | | image = | ||
− | | desc = Bash script for meta.xml creation. | + | | desc = Bash script for >meta.xml creation. |
| type = PC utility | | type = PC utility | ||
| license = GPLv3 | | license = GPLv3 | ||
Line 23: | Line 23: | ||
Along with just making the meta.xml file, it also | Along with just making the meta.xml file, it also | ||
− | * can be installed to /usr/bin so you can run it from anywhere just by typing | + | * can be installed to <code>/usr/bin</code> so you can run it from anywhere just by typing <code>hbcxmlgen</code> |
* checks if meta.xml already exists in the current directory, and asks if you want to overwrite it | * checks if meta.xml already exists in the current directory, and asks if you want to overwrite it | ||
* notifies you if you need write permissions to write in the current directory ''before'' you enter all the meta.xml information | * notifies you if you need write permissions to write in the current directory ''before'' you enter all the meta.xml information | ||
+ | * enforces the entering of the release date by making sure you input 14 characteres (YYYYmmddMMDDSS) | ||
+ | |||
+ | Also, a bug: You must run install.sh from the directory that hbcxmlgen.sh is in. Otherwise: | ||
+ | <pre> | ||
+ | mcpancakes@desktop:/$ /usbhdd/Programming/hbcxmlgen/install.sh -i | ||
+ | Copying to /usr/bin/hbcxmlgen ... | ||
+ | [sudo] password for mcpancakes: | ||
+ | cp: cannot stat `hbcxmlgen.sh': No such file or directory | ||
+ | Installed! | ||
+ | mcpancakes@desktop:/$ | ||
+ | </pre> | ||
+ | |||
+ | It won't really be installed. They come together in the same archive anyway, and are extracted to the same place, so just take the time to <code>cd</code> to the directed you unpacked it in and run <code>./install.sh</code> from there. | ||
== README == | == README == |
Revision as of 06:57, 26 January 2009
hbcxmlgen | |
General | |
---|---|
Author(s) | mcpancakes |
Type | PC utility |
Version | r1 |
License | GPLv3 |
Links | |
[[hbcxmlgen-r1.tar.gz|Download]] | |
Source |
hbcxmlgen is a Bash script for creating the Homebrew Channel's meta.xml files.
Along with just making the meta.xml file, it also
- can be installed to
/usr/bin
so you can run it from anywhere just by typinghbcxmlgen
- checks if meta.xml already exists in the current directory, and asks if you want to overwrite it
- notifies you if you need write permissions to write in the current directory before you enter all the meta.xml information
- enforces the entering of the release date by making sure you input 14 characteres (YYYYmmddMMDDSS)
Also, a bug: You must run install.sh from the directory that hbcxmlgen.sh is in. Otherwise:
mcpancakes@desktop:/$ /usbhdd/Programming/hbcxmlgen/install.sh -i Copying to /usr/bin/hbcxmlgen ... [sudo] password for mcpancakes: cp: cannot stat `hbcxmlgen.sh': No such file or directory Installed! mcpancakes@desktop:/$
It won't really be installed. They come together in the same archive anyway, and are extracted to the same place, so just take the time to cd
to the directed you unpacked it in and run ./install.sh
from there.
README
+---------------+ | hbcxmlgen | ---> by mcpancakes +---------------+ hbcxmlgen is a bash script for assisting in the creation of the Homebrew Channel's "meta.xml" files. If you run the installer, you get easy access to it no matter what your current working directory may be. +------------------+ | (Un)Installation | +------------------+ install.sh parameters: -i = install -u = uninstall $ sh install.sh -i |-u OR $ bash install.sh -i | -u +---------+ | Running | +---------+ Once installed: $ hbcxmlgen If not installed: $ ./hbcxmlgen.sh OR $ [dir of script]/hbcxmlgen.sh +----------+ | Feedback | +----------+ mc@mcpancakes.com This is the first "formal" release of any programming I've ever done, so feedback would be appreciated!
Note
HBCXMLGen is Pinecone's Java-based program that serves the same purpose as hbcxmlgen.
Pinecone: If you want me to change the name, just say so. It was yours first, after all ;)