rules_quickjs
v0.0.0
published 1 year ago
1 stars
0 forks
0 watchers
GNU Lesser General Public License v3.0
public
1 assets
992 downloads
14 KB
Maintained byMarc Redemske
v0.0.0
December 29, 2023
[expand for release notes]

Bazel Rules for QuickJS

Test Release

This project brings quickjs-ng/quickjs to Bazel! Inspired by (and based on) rules_js, it lets you run JavaScript with qjs under Bazel.

Installation

See install instructions on the release page.

Usage

In a BUILD.bazel file:

load("@bzlparty_rules_quickjs//quickjs:defs.bzl", "qjs_binary")

qjs_binary(
    name = "index",
    entry_point = ":index.js",
)

See the rules documentation for more details.

Run qjs from Bazel:

bazel run @bzlparty_quickjs//:qjs

License

Copyright Contributors to the bzlparty project.

Unless otherwise specified, source code in this repository is licensed under the GNU Lesser General Public License, Version 3 or later (LGPL-3.0-or-later). A copy is included in the LICENSE file.

Other licenses may be specified as well for certain files or where third-party components are used.