FBC-JS-APP(1)

NAME
fbc-js-app - build a browser FreeBASIC app directory

SYNOPSIS
fbc-js-app [options] file.bas

DESCRIPTION
fbc-js-app is a convenience wrapper around fbc-js(1). It writes browser output to an application directory, normally as index.html, and can preload an asset directory at the program's virtual current directory.

This is useful for older graphics games that expect files loaded with relative paths to sit beside the executable.

OPTIONS

-o DIR
--out DIR
    Write generated browser files under DIR. The default is the source file name followed by -js.

--assets DIR
    Preload the contents of DIR at the browser program's current directory.

ENVIRONMENT

FBC_JS
    Compiler driver to run. Defaults to fbc-js.

FBJS_ASSETS
    Asset directory to preload when --assets is not given.

SEE ALSO
fbc-js(1), fbc(1)