processing / p5.js

p5.js is a client-side JS platform that empowers artists, designers, students, and anyone to learn to code and express themselves creatively on the web. It is based on the core principles of Processing. http://twitter.com/p5xjs —
http://p5js.org/
GNU Lesser General Public License v2.1
21.46k stars 3.29k forks source link

Create build/ folder in Github #3948

Closed HenrySkup closed 4 years ago

HenrySkup commented 5 years ago

Nature of issue?

Most appropriate sub-area of p5.js?

Which platform were you using when you encountered this?

Details about the bug:

Feature enhancement details:

Hi,

I was hoping that there could be a build/ folder in the repository which could have the latest build(s). This would be helpful for times when the CDN link is not available (offline) or not ideal, and would be more "git integrated" than the current download option. (I see lib/empty-example/ but the organisation seems to be shifting/changing.)

My use case:

I use the static site generator Hugo -- it is supper fast and has a great core team for development and support. Recently, I was doing some refactoring to allow for some local development (offline). Since I have a cloned version of P5 on my machine, I thought that I could pull p5.min.js et al. and use those. And, if i used a symbolic link the website would stay updated with every git pull of P5.

I think that this might be useful for others who need local access to the latest P5 releases and have basic access to git but are not able/comfortable building from source everytime.

thanks, and, of course, amazing work!

welcome[bot] commented 5 years ago

Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, be sure to follow the issue template if you haven't already.

HenrySkup commented 5 years ago

Just for some context, I'm adding a link to a conversation on the Hugo Forums with the developer. Might not make immediate sense, but it might, again, add context.

https://discourse.gohugo.io/t/hugo-modules-mounting-entire-import/20727

lmccart commented 4 years ago

thanks for the suggestion @HenrySkup. we made a decision not to include these files in the repository a while back, you can see the conversation here. one of the main reasons was, given the number of beginners using this library, we wanted to reduce confusion by having different unreleased versions of the library floating around. so if someone wants a more up to date build, they can build from source.

HenrySkup commented 4 years ago

@lmccart yup, sounds good. I was hoping that the latest release (rather than any sort of nightly build) would be in a 'dist folder (or something similar). I think that this might actually help address some of the concerns that were in the thread (it would offer another, complimentary, way for people to access the latest release; it would parallel many other repos that people would be using; etc.). I think that a good file name might help to smooth out confusion : /distro or /latest-release or /stable-release ?

just a few thoughts, maybe this is better folded into the website?

(thank you for your amazing work, btw 👍 )

-hs