LeaVerou / inspire.js

Lean, hackable, extensible slide deck framework. Previously known as CSSS.
https://inspirejs.org
MIT License
1.73k stars 254 forks source link

Prefixfree as git submodule #22

Closed jorgecasar closed 12 years ago

jorgecasar commented 12 years ago

I follow this steps with the Lea's private URL as a remote repository. http://help.github.com/submodules/

LeaVerou commented 12 years ago

Niceee, thanks!

As a submodules n00b, I have a few questions:

LeaVerou commented 12 years ago

Oh, btw, prefixfree isn't a plugin, it's absolutely needed for CSSS, as it's used by its stylesheets too. So, it should probably be on a separate folder (/prefixfree instead of /plugins/prefixfree)

jorgecasar commented 12 years ago

In theory is like a soft link, then it's like the original one. You can change in prefixfree repository and the changes will update in CSSS. And if you change in CSS/prefixfree, you can push directly from here because I mark as remote repository prefixfree repository with your's private URL.

I'll change the path and pull again. If you want to try clone my fork (https://github.com/jorgecasar/CSSS).

LeaVerou commented 12 years ago

Merged. Lets see how it goes. Thanks!

It's not on gh-pages yet though, as I have to do that locally and then push, so it will take a while. I wish I could do that through github's web interface.

jorgecasar commented 12 years ago

You are welcome!

To do that you have to follow the same steps in the gh-pages brach, don't you? I'm trying to find how keep sync both branches. If I get it I'll tell you.

LeaVerou commented 12 years ago

I have to pull it locally, rebase the gh-pages branch to make it the same as master and then push to gh-pages. I know how to do it, but it's tedious so I'll probably just do it next time I work on CSSS myself.

Good luck finding a way to keep them in sync automatically. I've looked A LOT but couldn't find anything that doesn't involve any manual intervention. The best way so far seems this: http://oli.jp/2011/github-pages-workflow/ which suggests only having a gh-pages branch, but I'm not feeling very comfortable with not having a master branch at all. I wish github allowed people to specify the master branch to be used by Github Pages. :(

Munter commented 12 years ago

If you make prefixfree an npm module and link it locally you can work on your live prefixfree updates inside CSSS. That would require people using CSSS to install npm of course. It's a rather nice workflow to publish things on npm and depend on them though