gss / engine

GSS engine
http://gss.github.io
MIT License
2.86k stars 105 forks source link

can't build from source #207

Open du5t opened 8 years ago

du5t commented 8 years ago

is there build documentation? I didn't see any on the README, around the dirtree, or at the website.

what I tried:

  1. git clone
  2. git checkout v2.0.0
  3. grunt clean
  4. grunt build

Grunt produced a 448 byte file, instead of a 1000 KB one. indeed there was nothing of note inside. I tried some other things like grunt browserify and grunt uglify and still couldn't produce anything.

log:

➤ grunt build
Running "browserify:spec" (browserify) task
>> Bundle spec/js/specs.js created.

Running "uglify:engine" (uglify) task
File "./dist/gss.min.js" created.
Original: 454 bytes.
Minified: 448 bytes.

Running "usebanner:dist" (usebanner) task
✔ grunt-banner completed successfully

Done, without errors.
cryptix commented 8 years ago

I 2nd this request.

Inviz commented 8 years ago

You probably want to compile from gss/document endpoint, because gss/engine is a base class for it. Clone gss/document, i think the default branch is set to ranges2. Then compile that. If you want to edit gss/engine, then npm link it into gss/document.