Skip to content

Instantly share code, notes, and snippets.

@digitarald
Created April 15, 2009 13:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save digitarald/95760 to your computer and use it in GitHub Desktop.
Save digitarald/95760 to your computer and use it in GitHub Desktop.
Inline meta-data and build-information.
package: "digitarald-simpleplugin"
repository: "git@github.com:digitarald/digitarald-simpleplugin.git"
description: "My Simple Plugin"
# the entity structure
source: ["SimplePlugin"]
assets: ["Assets/*"]
docs: ["SimplePlugin.md"]
# specs: ["Specs/*"]
# tests: ["Tests/*"]
require: ["core[gt1.2]/Request"] # Request.js is a file in the package, first found is used
/*=
description: "Short details, one line or multi-line."
license: MIT # shorthand or url
author: "Harald Kirschner <mail@digitarald.de>" # array or single string
require: ["more:Element.Position", "more:Natives/*"] # filename, namespace:*, namespace[version]:folder/filename
provide: ["Assets/close-button.gif"] # more entities
*/
var SimplePlugin= new Class({ ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment