1
0
Fork 0
mirror of https://github.com/codedread/bitjs synced 2025-10-03 09:39:16 +02:00
bitjs/build
2022-10-30 14:26:25 -07:00
..
image/webp-shim A couple typos 2022-10-30 14:26:25 -07:00
io Update to @returns in all jsdoc 2022-04-27 13:31:18 -07:00
Dockerfile Move the build Dockerfile and README to the top build/ directory and adjust scripts 2020-04-01 22:01:48 -07:00
Makefile Start on Issue #16. Make BitStream a module, but provide a Web Worker version of BitStream via a build step 2020-04-01 23:08:09 -07:00
README.md Move the build Dockerfile and README to the top build/ directory and adjust scripts 2020-04-01 22:01:48 -07:00

Build

This folder contains files needed to build various pieces of the library. You only need to worry about this if you intend on patching / modifying the library in some way.

Prerequisites

  • Install Docker
  • git clone this repository

Build Instructions

Assuming you have cloned the repository in /path/to/bitjs:

  • cd /path/to/bitjs/build/
  • Build the Docker image: docker build -f Dockerfile -t wps/0.1 .
  • Run the Docker image: docker run -it --mount type=bind,source=/path/to/bitjs/,target=/out wps/0.1
  • Build the library: make
  • Exit the Docker image: exit

Various library files will be output to /path/to/bitjs/. For example, the /path/to/bitjs/image/webp-shim/ directory will now contain update webp-shim-module.js and webp-shim-module.wasm files.