Created
August 11, 2012 20:32
-
-
Save possibilities/3327056 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Setup dir and repo | |
mkdir underscore-string | |
cd underscore-string | |
git init | |
# Make some files we'll need | |
touch README.md package.js smart.json | |
# Add the submodule and checkout the desired branch | |
git submodule add git://github.com/epeli/underscore.string.git lib/underscore.string | |
cd lib/underscore.string | |
git co v.2.2.0rc | |
[EDIT THE FILES CREATED ABOVE, SEE REPO: https://github.com/possibilities/meteor-underscore-string] | |
[CREATE THE REMOTE REPO ON GITHUB (or wherever)] | |
# Setup the remote | |
git remote add origin https://github.com/possibilities/meteor-underscore-string.git | |
# Commit and release | |
cd - | |
git add . && git ci -am'init' && git push origin master | |
mrt release . # Publishes to https://atmosphere.meteor.com |
echo @limeyd's question. Does meteor add have plans for dependency management ala npm install?
meteor standard packaged (e.g. jquery) don't need to be declared, but Atmosphere packages are listed in smart.json
.
Just a note for those who don't know, the "co" in "git co v.2.2.0rc" means "checkout". So you can safely replace it, like "git checkout v.2.2.0rc" if you see any errors.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
how does one handle things like require if the package you want has dependencies?