MooTools Forge / GitHub Plugin Structure Shell Script
One thing I love about the MooTools Forge is that it requires a strict structure for its plugins i.e. requiring a README.md file, Source directory, etc. I've created a shell script that I can run that creates the directory structure and files required to add my plugin to GitHub and then the Forge.
The Shell Script & Usage
The first step is creating the repository at GitHub. Once created at GitHub, I run the script, giving it the name of the plugin and repository (they must be the same):
The script itself looks like:
#!/bin/sh mkdir $1 cd $1 git init touch README.md mkdir Source touch Source/$1.js touch Source/$1-yui-compressed.js mkdir Docs touch Docs/$1.md touch package.yml echo "name: $1 author: davidwalsh current: category: tags:  docs: demo: " >> package.yml; cd $1 git add * git commit -m "First Commit" git remote add origin firstname.lastname@example.org:darkwing/$1.git
Tada! Done! Now I just need to populate each file with the necessary content. MooTools FTW!