gss/engine

can't build from source

Opened this issue · 2 comments

du5t commented

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.

I 2nd this request.

Inviz commented

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.