raulghm / Font-Awesome-Stylus

Stylus port for font-awesome 4.7.0
https://github.com/raulghm/Font-Awesome-Stylus
GNU General Public License v2.0
78 stars 26 forks source link

bower support #1

Closed vizo closed 10 years ago

vizo commented 10 years ago

is it possible to add bower support?

Thanks

raulghm commented 10 years ago

No officially, but I don't know about build package for bower...

Any help is welcome?

vizo commented 10 years ago

First install bower globally: npm install -g bower

Then you can simply do: bower register font-awesome-stylus git://github.com/raulghm/Font-Awesome-Stylus That's all.

But if there is any dependency, you should do .bower.json with more details about your package. More info under answer on: http://stackoverflow.com/questions/13114781/bower-registering-local-git-package

I never did that before also, but i hope i am right ;)

UPDATE:

It works.. I already added it to bower ...

Output was: Package font-awesome-stylus registered successfully! All valid semver tags on git://github.com/raulghm/Font-Awesome-Stylus will be available as versions. To publish a new version, just release a valid semver tag.

Now you can get Master by: bower install font-awesome-stylus

or to list all version/branches (at the moment is just master) bower info font-awesome-stylus

Looks like all you need to do, is to register git repository :)

raulghm commented 10 years ago

Error:

bower Font-Awesome-Stylus register git://github.com/raulghm/Font-Awesome-Stylus bower EDUPLICATE Duplicate package

:S

vizo commented 10 years ago

Sorry i already did it for you.. So it's already registered ... so all changes that you will made to github it will reflect ....

You can now do: bower install font-awesome-stylus

Use lowercase.. because all others do ...

raulghm commented 10 years ago

Ok, thanks!!

vizo commented 10 years ago

You are welcome :) Now you know how to do it for your future projects and thank you for your awesome work ! :)