Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release a non-minimised version of sigma.js on the website #116

Closed
redditstuff opened this issue Jun 28, 2013 · 5 comments
Closed

Release a non-minimised version of sigma.js on the website #116

redditstuff opened this issue Jun 28, 2013 · 5 comments

Comments

@redditstuff
Copy link

Currently I have to build sigma.js from source if I want an unminimised version for development work. It would be much quicker and easier for future web devs if an unminimised file, 'sigma.js', was available on the website as well as sigma.min.js.

@hansifer
Copy link

I've found it easiest to just create a simple batch file to concat the js
files into a file "sigma.js" in the order that the Makefile specifies.
Something like:

*Windows: *

del sigma.js
type {file list} >> sigma.js

UNIX/Mac:

rm -f sigma.js
cat {file list} > sigma.js

On Fri, Jun 28, 2013 at 10:55 PM, redditstuff notifications@github.comwrote:

Currently I have to build sigma.js from source if I want an unminimised
version for development work. It would be much quicker and easier for
future web devs if an unminimised file, 'sigma.js', was available on the
website as well as sigma.min.js.


Reply to this email directly or view it on GitHubhttps://github.com//issues/116
.

@redditstuff
Copy link
Author

Yes, you can just run 'make' on the project and the build/sigma.concat.js file is exactly what you need.

I just think there are a lot of people out there who just want to download that file ready-made and will be put off if they have to check out and build code. It would be very simple to host a sigma.js file on the main project website. Most other javascript projects do this so why not sigma? It would help make it more accessible to users.

@Yomguithereal
Copy link
Collaborator

This is our current philosophy to consider that a build version of sigma has nothing to do in the code repository. However, we are considering the option to serve the minified version of sigma through a cdn and, why not, the latest development version.

I hardly understand why someone would want to have the concatenated but not minified version of sigma as it makes quite hard to know from which file is originating the part you are working on.

However, if you currently need a simple concatenated version of sigma's current code, you can run the grunt concat task and find it under build/sigma.js.

@Risingson
Copy link

I tried to install everything on windows but it is just a pain for somebody (hobby coder) not used to using node and python and grunting etc to build an un-minified version.. so i would greatly appreciate if it was there to download.

@Yomguithereal
Copy link
Collaborator

The built versions of the library can now be found attached to each release. This issue will now be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants