Skip to content

ewnd9/cgjs-examples

Repository files navigation

cgjs-examples

Build Status

Intermediate step to ensure correctness of Node.js GTK bindings.

gjs has been around for years and powers Gnome, one of the largest Linux desktop environments.

cgjs is an effort to bring CommonJS and Node.js shims to gjs.

node-gir is an unfinished Node.js bindings library, started in 2011 with many different attempts.

List of Examples

Install

$ yarn install

Usage

$ node_modules/.bin/cgjs examples/optimisme-examples/egAsset.js

Regenerate

$ yarn generate

Tests

$ yarn test

Docker testing

$ docker run -it --rm -v $PWD:/app ewnd9/gjs-examples:ubuntu-17.10 /bin/bash -c "gjs --version && yarn install && yarn test"
$ docker run -it --rm -v $PWD:/app ewnd9/gjs-examples:debian-sid /bin/bash -c "gjs --version && yarn install && yarn test"

License

CC0.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages