# jiwonz/multitarget

v0.4.0-rc.20 Â· published ...

Customizable and flexible build script for multiple pesde targets

Target

Lune

# [pesde-multitarget](https://pesde.dev/packages/jiwonz/multitarget)

Customizable and flexible build script for multiple pesde targets

Build your pure pesde project easier targeting both `luau` and `roblox` targets at the same time.

No more annoying package build scripts manually! (But this doesn't support `wally`)

## How to use

### `pesde add` (recommended)

Add & Install this pesde package and darklua as a dev_dependency:

    pesde add pesde/darklua --dev -t lune # Pass if darklua is installed already.

    pesde add jiwonz/multitarget --dev -t lune

    pesde install

Use as a binary:

    multitarget --help

Use a library with pesde scripts(runtime is lune actually):

    -- scripts/build.luau

    local multitarget = require("../lune_packages/multitarget")

    multitarget.build(
        "pesde.toml", -- defaults to "pesde.toml"
        { -- pesde project file path defaults to "pesde.toml"
            luau = true,
            roblox = true,
        },
        "./path/to/output", -- defaults to "dist"
            "build files path" -- files/directories to be built
        },
        "LUA_ENV", -- defaults to "LUA_ENV"
        "pkg" -- defaults to "pkg"
    )

`pesde.toml`

    [scripts]
    build = "scripts/build.luau"

    pesde run build

### `pesde x`

Execute directly without installation:

    pesde x jiwonz/multitarget -- --help

## Usage

Check the [example code](https://pesde.dev/packages/jiwonz/multitarget/0.4.0-rc.20/lune/example.luau) out. and run `multitarget --help` for more information about commands and arguments.

### `setup`

Setups your project before building.

With a binary:

    multitarget setup

With `pesde x`:

    pesde x jiwonz/multitarget -- setup

### `build`

Builds your pesde project targeting to `luau` and `roblox`.

With a binary:

    multitarget build --output ./path/to/output --roblox --luau --lune --build-files [..build_files] # You can set targets manually. Roblox target with luau project will require `darklua` to convert requires.

    multitarget build --output ./path/to/output --build-files [..build_files] # If none of target argument is given, This will set available targets automatically.

    multitarget build -o ./path/to/output --build-files [..build_files] # Shorter arguments are supported.

    multitarget build ./path/to/pesde.toml -o ./path/to/output --build-files [..build_files] # You can pass pesde.toml optionally.

    multitarget build -w -a --build-files src # Build for every(-a --all) targets with workspace(-w --workspace) pesde project (luau, lune, roblox)

With `pesde x`:

    pesde x jiwonz/multitarget -- build ...


# jiwonz/multitarget

v0.4.0-rc.1 Â· published ...

Customizable build script for multiple pesde targets

Target

Lune

# pesde-multitarget

Build your pure pesde project easier targeting both `luau` and `roblox` targets at the same time

No more annoying package build scripts manually! (But this doesn't support `wally`)

## How to use

### `pesde add` (recommended)

Add & Install this pesde package and darklua as a dev_dependency:

    pesde add pesde/darklua --dev -t lune # Pass if darklua is installed already.

    pesde add jiwonz/multitarget --dev -t lune

    pesde install

Use as a binary:

    multitarget --help

Use a library with pesde scripts(runtime is lune actually):

    -- scripts/build.luau

    local multitarget = require("../lune_packages/multitarget")

    multitarget.build(
        "pesde.toml",
        "./path/to/output",
        { -- pesde project file path defaults to "pesde.toml"
            luau = true,
            roblox = true,
        },
            "build files path" -- files/directories to be built
        },
        "LUA_ENV",
        true -- if this is true, it will create a pesde workspace project in dist folder (this is helpful when publish them at the same time faster)
    )

`pesde.toml`

    [scripts]
    build = "scripts/build.luau"

    pesde run build

### `pesde x`

Execute directly without installation:

    pesde x jiwonz/multitarget -- --help

## Usage

Check the [example code](https://pesde.dev/packages/jiwonz/multitarget/0.4.0-rc.1/lune/example.luau) out. and run `multitarget --help` for more information about commands and arguments.

### `setup`

Setups your project before building.

With a binary:

    multitarget setup

With `pesde x`:

    pesde x jiwonz/multitarget -- setup

### `build`

Builds your pesde project targeting to `luau` and `roblox`.

With a binary:

    multitarget build --output ./path/to/output --roblox --luau --lune --build-files [..build_files] # You can set targets manually. Roblox target with luau project will require `darklua` to convert requires.

    multitarget build --output ./path/to/output --build-files [..build_files] # If none of target argument is given, This will set available targets automatically.

    multitarget build -o ./path/to/output --build-files [..build_files] # Shorter arguments are supported.

    multitarget build ./path/to/pesde.toml -o ./path/to/output --build-files [..build_files] # You can pass pesde.toml optionally.

    multitarget build -w -a --build-files src # Build for every(-a --all) targets with workspace(-w --workspace) pesde project (luau, lune, roblox)

With `pesde x`:

    pesde x jiwonz/multitarget -- build ...


# jiwonz/multitarget

v0.4.0-rc.2 Â· published ...

Customizable and flexible build script for multiple pesde targets

Target

Lune

# [pesde-multitarget](https://pesde.dev/packages/jiwonz/multitarget)

Customizable and flexible build script for multiple pesde targets

Build your pure pesde project easier targeting both `luau` and `roblox` targets at the same time.

No more annoying package build scripts manually! (But this doesn't support `wally`)

## How to use

### `pesde add` (recommended)

Add & Install this pesde package and darklua as a dev_dependency:

    pesde add pesde/darklua --dev -t lune # Pass if darklua is installed already.

    pesde add jiwonz/multitarget --dev -t lune

    pesde install

Use as a binary:

    multitarget --help

Use a library with pesde scripts(runtime is lune actually):

    -- scripts/build.luau

    local multitarget = require("../lune_packages/multitarget")

    multitarget.build(
        "pesde.toml", -- defaults to "pesde.toml"
        { -- pesde project file path defaults to "pesde.toml"
            luau = true,
            roblox = true,
        },
        "./path/to/output", -- defaults to "dist"
            "build files path" -- files/directories to be built
        },
        "LUA_ENV", -- defaults to "LUA_ENV"
        "pkg" -- defaults to "pkg"
    )

`pesde.toml`

    [scripts]
    build = "scripts/build.luau"

    pesde run build

### `pesde x`

Execute directly without installation:

    pesde x jiwonz/multitarget -- --help

## Usage

Check the [example code](https://pesde.dev/packages/jiwonz/multitarget/0.4.0-rc.2/lune/example.luau) out. and run `multitarget --help` for more information about commands and arguments.

### `setup`

Setups your project before building.

With a binary:

    multitarget setup

With `pesde x`:

    pesde x jiwonz/multitarget -- setup

### `build`

Builds your pesde project targeting to `luau` and `roblox`.

With a binary:

    multitarget build --output ./path/to/output --roblox --luau --lune --build-files [..build_files] # You can set targets manually. Roblox target with luau project will require `darklua` to convert requires.

    multitarget build --output ./path/to/output --build-files [..build_files] # If none of target argument is given, This will set available targets automatically.

    multitarget build -o ./path/to/output --build-files [..build_files] # Shorter arguments are supported.

    multitarget build ./path/to/pesde.toml -o ./path/to/output --build-files [..build_files] # You can pass pesde.toml optionally.

    multitarget build -w -a --build-files src # Build for every(-a --all) targets with workspace(-w --workspace) pesde project (luau, lune, roblox)

With `pesde x`:

    pesde x jiwonz/multitarget -- build ...


# jiwonz/multitarget

v0.4.0-rc.24 Â· published ...

Customizable and flexible build script for multiple pesde targets

Target

Lune

# [pesde-multitarget](https://pesde.dev/packages/jiwonz/multitarget)

Customizable and flexible build script for multiple pesde targets

Build your pure pesde project easier targeting both `luau` and `roblox` targets at the same time.

No more annoying package build scripts manually! (But this doesn't support `wally`)

## How to use

### `pesde add` (recommended)

Add & Install this pesde package and darklua as a dev_dependency:

    pesde add pesde/darklua --dev -t lune # Pass if darklua is installed already.

    pesde add jiwonz/multitarget --dev -t lune

    pesde install

Use as a binary:

    multitarget --help

Use a library with pesde scripts(runtime is lune actually):

    -- scripts/build.luau

    local multitarget = require("../lune_packages/multitarget")

    multitarget.build(
        "pesde.toml", -- defaults to "pesde.toml"
        { -- pesde project file path defaults to "pesde.toml"
            luau = true,
            roblox = true,
        },
        "./path/to/output", -- defaults to "dist"
            "build files path" -- files/directories to be built
        },
        "LUA_ENV", -- defaults to "LUA_ENV"
        "pkg" -- defaults to "pkg"
    )

`pesde.toml`

    [scripts]
    build = "scripts/build.luau"

    pesde run build

### `pesde x`

Execute directly without installation:

    pesde x jiwonz/multitarget -- --help

## Usage

Check the [example code](https://pesde.dev/packages/jiwonz/multitarget/0.4.0-rc.24/lune/example.luau) out. and run `multitarget --help` for more information about commands and arguments.

### `setup`

Setups your project before building.

With a binary:

    multitarget setup

With `pesde x`:

    pesde x jiwonz/multitarget -- setup

### `build`

Builds your pesde project targeting to `luau` and `roblox`.

With a binary:

    multitarget build --output ./path/to/output --roblox --luau --lune --build-files [..build_files] # You can set targets manually. Roblox target with luau project will require `darklua` to convert requires.

    multitarget build --output ./path/to/output --build-files [..build_files] # If none of target argument is given, This will set available targets automatically.

    multitarget build -o ./path/to/output --build-files [..build_files] # Shorter arguments are supported.

    multitarget build ./path/to/pesde.toml -o ./path/to/output --build-files [..build_files] # You can pass pesde.toml optionally.

    multitarget build -w -a --build-files src # Build for every(-a --all) targets with workspace(-w --workspace) pesde project (luau, lune, roblox)

With `pesde x`:

    pesde x jiwonz/multitarget -- build ...


# jiwonz/multitarget

v0.2.5 Â· published ...

Customizable build script for multiple pesde targets

Target

Lune

# pesde-multitarget

Build your pure pesde project easier targeting both `luau` and `roblox` targets at the same time

No more annoying package build scripts manually! (But this doesn't support `wally`)

## How to use

### `pesde add` (recommended)

Add & Install this pesde package and darklua as a dev_dependency:

    pesde add pesde/darklua --dev -t lune # Pass if darklua is installed already.

    pesde add jiwonz/multitarget --dev -t lune

    pesde install

Use as a binary:

    multitarget --help

Use a library in a lune script:

    -- lune/build.luau

    local multitarget = require("../lune_packages/multitarget")

    multitarget.build(nil, "./path/to/output", { -- pesde project file path defaults to "pesde.toml"
        luau = true,
        roblox = true,
    }, {
        "build files path" -- files/directories to be built
    }, true) -- if this is true, it will create a pesde workspace project in dist folder (this is helpful when publish them at the same time faster)

### `pesde x`

Execute directly without installation:

    pesde x jiwonz/multitarget -- --help

## Usage

Check the [example code](https://pesde.dev/packages/jiwonz/multitarget/0.2.5/lune/example.luau) out.

### `setup`

Setups your project before building.

With a binary:

    multitarget setup

With `pesde x`:

    pesde x jiwonz/multitarget -- setup

### `build`

Builds your pesde project targeting to `luau` and `roblox`.

With a binary:

    multitarget build --output ./path/to/output --roblox --luau --lune --build-files [..build_files] # You can set targets manually. Roblox target with luau project will require `darklua` to convert requires.

    multitarget build --output ./path/to/output --build-files [..build_files] # If none of target argument is given, This will set available targets automatically.

    multitarget build -o ./path/to/output --build-files [..build_files] # Shorter arguments are supported.

    multitarget build ./path/to/pesde.toml -o ./path/to/output --build-files [..build_files] # You can pass pesde.toml optionally.

With `pesde x`:

    pesde x jiwonz/multitarget -- build ...


# jiwonz/multitarget

v0.4.0-rc.26 Â· published ...

Customizable and flexible build script for multiple pesde targets

Target

Lune

# [pesde-multitarget](https://pesde.dev/packages/jiwonz/multitarget)

Customizable and flexible build script for multiple pesde targets

Build your pure pesde project easier targeting both `luau` and `roblox` targets at the same time.

No more annoying package build scripts manually! (But this doesn't support `wally`)

## How to use

### `pesde add` (recommended)

Add & Install this pesde package and darklua as a dev_dependency:

    pesde add pesde/darklua --dev -t lune # Pass if darklua is installed already.

    pesde add jiwonz/multitarget --dev -t lune

    pesde install

Use as a binary:

    multitarget --help

Use a library with pesde scripts(runtime is lune actually):

    -- scripts/build.luau

    local multitarget = require("../lune_packages/multitarget")

    multitarget.build(
        "pesde.toml", -- defaults to "pesde.toml"
        { -- pesde project file path defaults to "pesde.toml"
            luau = true,
            roblox = true,
        },
        "./path/to/output", -- defaults to "dist"
            "build files path" -- files/directories to be built
        },
        "LUA_ENV", -- defaults to "LUA_ENV"
        "pkg" -- defaults to "pkg"
    )

`pesde.toml`

    [scripts]
    build = "scripts/build.luau"

    pesde run build

### `pesde x`

Execute directly without installation:

    pesde x jiwonz/multitarget -- --help

## Usage

Check the [example code](https://pesde.dev/packages/jiwonz/multitarget/0.4.0-rc.26/lune/example.luau) out. and run `multitarget --help` for more information about commands and arguments.

### `setup`

Setups your project before building.

With a binary:

    multitarget setup

With `pesde x`:

    pesde x jiwonz/multitarget -- setup

### `build`

Builds your pesde project targeting to `luau` and `roblox`.

With a binary:

    multitarget build --output ./path/to/output --roblox --luau --lune --build-files [..build_files] # You can set targets manually. Roblox target with luau project will require `darklua` to convert requires.

    multitarget build --output ./path/to/output --build-files [..build_files] # If none of target argument is given, This will set available targets automatically.

    multitarget build -o ./path/to/output --build-files [..build_files] # Shorter arguments are supported.

    multitarget build ./path/to/pesde.toml -o ./path/to/output --build-files [..build_files] # You can pass pesde.toml optionally.

    multitarget build -w -a --build-files src # Build for every(-a --all) targets with workspace(-w --workspace) pesde project (luau, lune, roblox)

With `pesde x`:

    pesde x jiwonz/multitarget -- build ...


# jiwonz/multitarget

v0.4.0-rc.17 Â· published ...

Customizable and flexible build script for multiple pesde targets

Target

Lune

# [pesde-multitarget](https://pesde.dev/packages/jiwonz/multitarget)

Customizable and flexible build script for multiple pesde targets

Build your pure pesde project easier targeting both `luau` and `roblox` targets at the same time.

No more annoying package build scripts manually! (But this doesn't support `wally`)

## How to use

### `pesde add` (recommended)

Add & Install this pesde package and darklua as a dev_dependency:

    pesde add pesde/darklua --dev -t lune # Pass if darklua is installed already.

    pesde add jiwonz/multitarget --dev -t lune

    pesde install

Use as a binary:

    multitarget --help

Use a library with pesde scripts(runtime is lune actually):

    -- scripts/build.luau

    local multitarget = require("../lune_packages/multitarget")

    multitarget.build(
        "pesde.toml", -- defaults to "pesde.toml"
        { -- pesde project file path defaults to "pesde.toml"
            luau = true,
            roblox = true,
        },
        "./path/to/output", -- defaults to "dist"
            "build files path" -- files/directories to be built
        },
        "LUA_ENV", -- defaults to "LUA_ENV"
        "pkg" -- defaults to "pkg"
    )

`pesde.toml`

    [scripts]
    build = "scripts/build.luau"

    pesde run build

### `pesde x`

Execute directly without installation:

    pesde x jiwonz/multitarget -- --help

## Usage

Check the [example code](https://pesde.dev/packages/jiwonz/multitarget/0.4.0-rc.17/lune/example.luau) out. and run `multitarget --help` for more information about commands and arguments.

### `setup`

Setups your project before building.

With a binary:

    multitarget setup

With `pesde x`:

    pesde x jiwonz/multitarget -- setup

### `build`

Builds your pesde project targeting to `luau` and `roblox`.

With a binary:

    multitarget build --output ./path/to/output --roblox --luau --lune --build-files [..build_files] # You can set targets manually. Roblox target with luau project will require `darklua` to convert requires.

    multitarget build --output ./path/to/output --build-files [..build_files] # If none of target argument is given, This will set available targets automatically.

    multitarget build -o ./path/to/output --build-files [..build_files] # Shorter arguments are supported.

    multitarget build ./path/to/pesde.toml -o ./path/to/output --build-files [..build_files] # You can pass pesde.toml optionally.

    multitarget build -w -a --build-files src # Build for every(-a --all) targets with workspace(-w --workspace) pesde project (luau, lune, roblox)

With `pesde x`:

    pesde x jiwonz/multitarget -- build ...


# jiwonz/multitarget

v0.4.0-rc.3 Â· published ...

Customizable and flexible build script for multiple pesde targets

Target

Lune

# [pesde-multitarget](https://pesde.dev/packages/jiwonz/multitarget)

Customizable and flexible build script for multiple pesde targets

Build your pure pesde project easier targeting both `luau` and `roblox` targets at the same time.

No more annoying package build scripts manually! (But this doesn't support `wally`)

## How to use

### `pesde add` (recommended)

Add & Install this pesde package and darklua as a dev_dependency:

    pesde add pesde/darklua --dev -t lune # Pass if darklua is installed already.

    pesde add jiwonz/multitarget --dev -t lune

    pesde install

Use as a binary:

    multitarget --help

Use a library with pesde scripts(runtime is lune actually):

    -- scripts/build.luau

    local multitarget = require("../lune_packages/multitarget")

    multitarget.build(
        "pesde.toml", -- defaults to "pesde.toml"
        { -- pesde project file path defaults to "pesde.toml"
            luau = true,
            roblox = true,
        },
        "./path/to/output", -- defaults to "dist"
            "build files path" -- files/directories to be built
        },
        "LUA_ENV", -- defaults to "LUA_ENV"
        "pkg" -- defaults to "pkg"
    )

`pesde.toml`

    [scripts]
    build = "scripts/build.luau"

    pesde run build

### `pesde x`

Execute directly without installation:

    pesde x jiwonz/multitarget -- --help

## Usage

Check the [example code](https://pesde.dev/packages/jiwonz/multitarget/0.4.0-rc.3/lune/example.luau) out. and run `multitarget --help` for more information about commands and arguments.

### `setup`

Setups your project before building.

With a binary:

    multitarget setup

With `pesde x`:

    pesde x jiwonz/multitarget -- setup

### `build`

Builds your pesde project targeting to `luau` and `roblox`.

With a binary:

    multitarget build --output ./path/to/output --roblox --luau --lune --build-files [..build_files] # You can set targets manually. Roblox target with luau project will require `darklua` to convert requires.

    multitarget build --output ./path/to/output --build-files [..build_files] # If none of target argument is given, This will set available targets automatically.

    multitarget build -o ./path/to/output --build-files [..build_files] # Shorter arguments are supported.

    multitarget build ./path/to/pesde.toml -o ./path/to/output --build-files [..build_files] # You can pass pesde.toml optionally.

    multitarget build -w -a --build-files src # Build for every(-a --all) targets with workspace(-w --workspace) pesde project (luau, lune, roblox)

With `pesde x`:

    pesde x jiwonz/multitarget -- build ...


# jiwonz/multitarget

v0.4.0-rc.15 Â· published ...

Customizable and flexible build script for multiple pesde targets

Target

Lune

# [pesde-multitarget](https://pesde.dev/packages/jiwonz/multitarget)

Customizable and flexible build script for multiple pesde targets

Build your pure pesde project easier targeting both `luau` and `roblox` targets at the same time.

No more annoying package build scripts manually! (But this doesn't support `wally`)

## How to use

### `pesde add` (recommended)

Add & Install this pesde package and darklua as a dev_dependency:

    pesde add pesde/darklua --dev -t lune # Pass if darklua is installed already.

    pesde add jiwonz/multitarget --dev -t lune

    pesde install

Use as a binary:

    multitarget --help

Use a library with pesde scripts(runtime is lune actually):

    -- scripts/build.luau

    local multitarget = require("../lune_packages/multitarget")

    multitarget.build(
        "pesde.toml", -- defaults to "pesde.toml"
        { -- pesde project file path defaults to "pesde.toml"
            luau = true,
            roblox = true,
        },
        "./path/to/output", -- defaults to "dist"
            "build files path" -- files/directories to be built
        },
        "LUA_ENV", -- defaults to "LUA_ENV"
        "pkg" -- defaults to "pkg"
    )

`pesde.toml`

    [scripts]
    build = "scripts/build.luau"

    pesde run build

### `pesde x`

Execute directly without installation:

    pesde x jiwonz/multitarget -- --help

## Usage

Check the [example code](https://pesde.dev/packages/jiwonz/multitarget/0.4.0-rc.15/lune/example.luau) out. and run `multitarget --help` for more information about commands and arguments.

### `setup`

Setups your project before building.

With a binary:

    multitarget setup

With `pesde x`:

    pesde x jiwonz/multitarget -- setup

### `build`

Builds your pesde project targeting to `luau` and `roblox`.

With a binary:

    multitarget build --output ./path/to/output --roblox --luau --lune --build-files [..build_files] # You can set targets manually. Roblox target with luau project will require `darklua` to convert requires.

    multitarget build --output ./path/to/output --build-files [..build_files] # If none of target argument is given, This will set available targets automatically.

    multitarget build -o ./path/to/output --build-files [..build_files] # Shorter arguments are supported.

    multitarget build ./path/to/pesde.toml -o ./path/to/output --build-files [..build_files] # You can pass pesde.toml optionally.

    multitarget build -w -a --build-files src # Build for every(-a --all) targets with workspace(-w --workspace) pesde project (luau, lune, roblox)

With `pesde x`:

    pesde x jiwonz/multitarget -- build ...


# jiwonz/multitarget

v0.4.0-rc.30 Â· published ...

Customizable and flexible build script for multiple pesde targets

Target

Lune

# [pesde-multitarget](https://pesde.dev/packages/jiwonz/multitarget)

Customizable and flexible build script for multiple pesde targets

Build your pure pesde project easier targeting both `luau` and `roblox` targets at the same time.

No more annoying package build scripts manually! (But this doesn't support `wally`)

## How to use

### `pesde add` (recommended)

Add & Install this pesde package and darklua as a dev_dependency:

    pesde add pesde/darklua --dev -t lune # Pass if darklua is installed already.

    pesde add jiwonz/multitarget --dev -t lune

    pesde install

Use as a binary:

    multitarget --help

Use a library with pesde scripts(runtime is lune actually):

    -- scripts/build.luau

    local multitarget = require("../lune_packages/multitarget")

    multitarget.build(
        "pesde.toml", -- defaults to "pesde.toml"
        { -- pesde project file path defaults to "pesde.toml"
            luau = true,
            roblox = true,
        },
        "./path/to/output", -- defaults to "dist"
            "build files path" -- files/directories to be built
        },
        "LUA_ENV", -- defaults to "LUA_ENV"
        "pkg", -- defaults to "pkg"
        "luau_pkg", -- defaults to "luau_pkg"
        true -- defaults to true
    )

`pesde.toml`

    [scripts]
    build = "scripts/build.luau"

    pesde run build

### `pesde x`

Execute directly without installation:

    pesde x jiwonz/multitarget -- --help

## Usage

Check the [example code](https://pesde.dev/packages/jiwonz/multitarget/0.4.0-rc.30/lune/example.luau) out. and run `multitarget --help` for more information about commands and arguments.

### `setup`

Setups your project before building.

With a binary:

    multitarget setup

With `pesde x`:

    pesde x jiwonz/multitarget -- setup

### `build`

Builds your pesde project targeting to `luau` and `roblox`.

With a binary:

    multitarget build --output ./path/to/output --roblox --luau --lune --build-files [..build_files] # You can set targets manually. Roblox target with luau project will require `darklua` to convert requires.

    multitarget build --output ./path/to/output --build-files [..build_files] # If none of target argument is given, This will set available targets automatically.

    multitarget build -o ./path/to/output --build-files [..build_files] # Shorter arguments are supported.

    multitarget build ./path/to/pesde.toml -o ./path/to/output --build-files [..build_files] # You can pass pesde.toml optionally.

    multitarget build -w -a --build-files src # Build for every(-a --all) targets with workspace(-w --workspace) pesde project (luau, lune, roblox)

With `pesde x`:

    pesde x jiwonz/multitarget -- build ...


# jiwonz/multitarget

v0.4.0-rc.28 Â· published ...

Customizable and flexible build script for multiple pesde targets

Target

Lune

# [pesde-multitarget](https://pesde.dev/packages/jiwonz/multitarget)

Customizable and flexible build script for multiple pesde targets

Build your pure pesde project easier targeting both `luau` and `roblox` targets at the same time.

No more annoying package build scripts manually! (But this doesn't support `wally`)

## How to use

### `pesde add` (recommended)

Add & Install this pesde package and darklua as a dev_dependency:

    pesde add pesde/darklua --dev -t lune # Pass if darklua is installed already.

    pesde add jiwonz/multitarget --dev -t lune

    pesde install

Use as a binary:

    multitarget --help

Use a library with pesde scripts(runtime is lune actually):

    -- scripts/build.luau

    local multitarget = require("../lune_packages/multitarget")

    multitarget.build(
        "pesde.toml", -- defaults to "pesde.toml"
        { -- pesde project file path defaults to "pesde.toml"
            luau = true,
            roblox = true,
        },
        "./path/to/output", -- defaults to "dist"
            "build files path" -- files/directories to be built
        },
        "LUA_ENV", -- defaults to "LUA_ENV"
        "pkg" -- defaults to "pkg"
    )

`pesde.toml`

    [scripts]
    build = "scripts/build.luau"

    pesde run build

### `pesde x`

Execute directly without installation:

    pesde x jiwonz/multitarget -- --help

## Usage

Check the [example code](https://pesde.dev/packages/jiwonz/multitarget/0.4.0-rc.28/lune/example.luau) out. and run `multitarget --help` for more information about commands and arguments.

### `setup`

Setups your project before building.

With a binary:

    multitarget setup

With `pesde x`:

    pesde x jiwonz/multitarget -- setup

### `build`

Builds your pesde project targeting to `luau` and `roblox`.

With a binary:

    multitarget build --output ./path/to/output --roblox --luau --lune --build-files [..build_files] # You can set targets manually. Roblox target with luau project will require `darklua` to convert requires.

    multitarget build --output ./path/to/output --build-files [..build_files] # If none of target argument is given, This will set available targets automatically.

    multitarget build -o ./path/to/output --build-files [..build_files] # Shorter arguments are supported.

    multitarget build ./path/to/pesde.toml -o ./path/to/output --build-files [..build_files] # You can pass pesde.toml optionally.

    multitarget build -w -a --build-files src # Build for every(-a --all) targets with workspace(-w --workspace) pesde project (luau, lune, roblox)

With `pesde x`:

    pesde x jiwonz/multitarget -- build ...


# jiwonz/multitarget

v0.4.0-rc.27 Â· published ...

Customizable and flexible build script for multiple pesde targets

Target

Lune

# [pesde-multitarget](https://pesde.dev/packages/jiwonz/multitarget)

Customizable and flexible build script for multiple pesde targets

Build your pure pesde project easier targeting both `luau` and `roblox` targets at the same time.

No more annoying package build scripts manually! (But this doesn't support `wally`)

## How to use

### `pesde add` (recommended)

Add & Install this pesde package and darklua as a dev_dependency:

    pesde add pesde/darklua --dev -t lune # Pass if darklua is installed already.

    pesde add jiwonz/multitarget --dev -t lune

    pesde install

Use as a binary:

    multitarget --help

Use a library with pesde scripts(runtime is lune actually):

    -- scripts/build.luau

    local multitarget = require("../lune_packages/multitarget")

    multitarget.build(
        "pesde.toml", -- defaults to "pesde.toml"
        { -- pesde project file path defaults to "pesde.toml"
            luau = true,
            roblox = true,
        },
        "./path/to/output", -- defaults to "dist"
            "build files path" -- files/directories to be built
        },
        "LUA_ENV", -- defaults to "LUA_ENV"
        "pkg" -- defaults to "pkg"
    )

`pesde.toml`

    [scripts]
    build = "scripts/build.luau"

    pesde run build

### `pesde x`

Execute directly without installation:

    pesde x jiwonz/multitarget -- --help

## Usage

Check the [example code](https://pesde.dev/packages/jiwonz/multitarget/0.4.0-rc.27/lune/example.luau) out. and run `multitarget --help` for more information about commands and arguments.

### `setup`

Setups your project before building.

With a binary:

    multitarget setup

With `pesde x`:

    pesde x jiwonz/multitarget -- setup

### `build`

Builds your pesde project targeting to `luau` and `roblox`.

With a binary:

    multitarget build --output ./path/to/output --roblox --luau --lune --build-files [..build_files] # You can set targets manually. Roblox target with luau project will require `darklua` to convert requires.

    multitarget build --output ./path/to/output --build-files [..build_files] # If none of target argument is given, This will set available targets automatically.

    multitarget build -o ./path/to/output --build-files [..build_files] # Shorter arguments are supported.

    multitarget build ./path/to/pesde.toml -o ./path/to/output --build-files [..build_files] # You can pass pesde.toml optionally.

    multitarget build -w -a --build-files src # Build for every(-a --all) targets with workspace(-w --workspace) pesde project (luau, lune, roblox)

With `pesde x`:

    pesde x jiwonz/multitarget -- build ...


# jiwonz/multitarget

v0.2.1-rc.3 Â· published ...

Customizable build script for multiple pesde targets

Target

Lune

# pesde-multitarget

Build your pure pesde project easier targeting both `luau` and `roblox` targets at the same time

No more annoying package build scripts manually! (But this doesn't support `wally`)

## How to use

### `pesde add` (recommended)

Add & Install this pesde package and darklua as a dev_dependency:

    pesde add pesde/darklua --dev -t lune # Pass if darklua is installed already.

    pesde add jiwonz/multitarget --dev -t lune

    pesde install

Use as a binary:

    multitarget help

Use a library in a lune script:

    -- lune/build.luau

    local multitarget = require("../lune_packages/multitarget")

    multitarget.build(nil, "./path/to/output", { -- pesde project file path defaults to "pesde.toml"
        luau = true,
        roblox = true,
    }, {
        "build files path" -- files/directories to be built
    }, true) -- if this is true, it will create a pesde workspace project in dist folder (this is helpful when publish them at the same time faster)

### `pesde x`

Execute directly without installation:

    pesde x jiwonz/multitarget -- --help

## Usage

Check the [example code](https://pesde.dev/packages/jiwonz/multitarget/0.2.1-rc.3/lune/example.luau) out.

### `setup`

Setups your project before building.

With a binary:

    multitarget setup

With `pesde x`:

    pesde x jiwonz/multitarget setup

### `build`

Builds your pesde project targeting to `luau` and `roblox`.

With a binary:

    multitarget build --output ./path/to/output --roblox --luau --lune --build-files [..build_files] # You can set targets manually. Roblox target with luau project will require `darklua` to convert requires.

    multitarget build --output ./path/to/output --build-files [..build_files] # If none of target argument is given, This will set available targets automatically.

    multitarget build -o ./path/to/output --build-files [..build_files] # Shorter arguments are supported.

    multitarget build ./path/to/pesde.toml -o ./path/to/output --build-files [..build_files] # You can pass pesde.toml optionally.

With `pesde x`:

    pesde x jiwonz/multitarget -- build ...


# jiwonz/multitarget

v0.2.1-rc.4 Â· published ...

Customizable build script for multiple pesde targets

Target

Lune

# pesde-multitarget

Build your pure pesde project easier targeting both `luau` and `roblox` targets at the same time

No more annoying package build scripts manually! (But this doesn't support `wally`)

## How to use

### `pesde add` (recommended)

Add & Install this pesde package and darklua as a dev_dependency:

    pesde add pesde/darklua --dev -t lune # Pass if darklua is installed already.

    pesde add jiwonz/multitarget --dev -t lune

    pesde install

Use as a binary:

    multitarget help

Use a library in a lune script:

    -- lune/build.luau

    local multitarget = require("../lune_packages/multitarget")

    multitarget.build(nil, "./path/to/output", { -- pesde project file path defaults to "pesde.toml"
        luau = true,
        roblox = true,
    }, {
        "build files path" -- files/directories to be built
    }, true) -- if this is true, it will create a pesde workspace project in dist folder (this is helpful when publish them at the same time faster)

### `pesde x`

Execute directly without installation:

    pesde x jiwonz/multitarget -- --help

## Usage

Check the [example code](https://pesde.dev/packages/jiwonz/multitarget/0.2.1-rc.4/lune/example.luau) out.

### `setup`

Setups your project before building.

With a binary:

    multitarget setup

With `pesde x`:

    pesde x jiwonz/multitarget setup

### `build`

Builds your pesde project targeting to `luau` and `roblox`.

With a binary:

    multitarget build --output ./path/to/output --roblox --luau --lune --build-files [..build_files] # You can set targets manually. Roblox target with luau project will require `darklua` to convert requires.

    multitarget build --output ./path/to/output --build-files [..build_files] # If none of target argument is given, This will set available targets automatically.

    multitarget build -o ./path/to/output --build-files [..build_files] # Shorter arguments are supported.

    multitarget build ./path/to/pesde.toml -o ./path/to/output --build-files [..build_files] # You can pass pesde.toml optionally.

With `pesde x`:

    pesde x jiwonz/multitarget -- build ...


# jiwonz/multitarget

v0.4.0-rc.11 Â· published ...

Customizable and flexible build script for multiple pesde targets

Target

Lune

# [pesde-multitarget](https://pesde.dev/packages/jiwonz/multitarget)

Customizable and flexible build script for multiple pesde targets

Build your pure pesde project easier targeting both `luau` and `roblox` targets at the same time.

No more annoying package build scripts manually! (But this doesn't support `wally`)

## How to use

### `pesde add` (recommended)

Add & Install this pesde package and darklua as a dev_dependency:

    pesde add pesde/darklua --dev -t lune # Pass if darklua is installed already.

    pesde add jiwonz/multitarget --dev -t lune

    pesde install

Use as a binary:

    multitarget --help

Use a library with pesde scripts(runtime is lune actually):

    -- scripts/build.luau

    local multitarget = require("../lune_packages/multitarget")

    multitarget.build(
        "pesde.toml", -- defaults to "pesde.toml"
        { -- pesde project file path defaults to "pesde.toml"
            luau = true,
            roblox = true,
        },
        "./path/to/output", -- defaults to "dist"
            "build files path" -- files/directories to be built
        },
        "LUA_ENV", -- defaults to "LUA_ENV"
        "pkg" -- defaults to "pkg"
    )

`pesde.toml`

    [scripts]
    build = "scripts/build.luau"

    pesde run build

### `pesde x`

Execute directly without installation:

    pesde x jiwonz/multitarget -- --help

## Usage

Check the [example code](https://pesde.dev/packages/jiwonz/multitarget/0.4.0-rc.11/lune/example.luau) out. and run `multitarget --help` for more information about commands and arguments.

### `setup`

Setups your project before building.

With a binary:

    multitarget setup

With `pesde x`:

    pesde x jiwonz/multitarget -- setup

### `build`

Builds your pesde project targeting to `luau` and `roblox`.

With a binary:

    multitarget build --output ./path/to/output --roblox --luau --lune --build-files [..build_files] # You can set targets manually. Roblox target with luau project will require `darklua` to convert requires.

    multitarget build --output ./path/to/output --build-files [..build_files] # If none of target argument is given, This will set available targets automatically.

    multitarget build -o ./path/to/output --build-files [..build_files] # Shorter arguments are supported.

    multitarget build ./path/to/pesde.toml -o ./path/to/output --build-files [..build_files] # You can pass pesde.toml optionally.

    multitarget build -w -a --build-files src # Build for every(-a --all) targets with workspace(-w --workspace) pesde project (luau, lune, roblox)

With `pesde x`:

    pesde x jiwonz/multitarget -- build ...


# jiwonz/multitarget

v0.4.0-rc.12 Â· published ...

Customizable and flexible build script for multiple pesde targets

Target

Lune

# [pesde-multitarget](https://pesde.dev/packages/jiwonz/multitarget)

Customizable and flexible build script for multiple pesde targets

Build your pure pesde project easier targeting both `luau` and `roblox` targets at the same time.

No more annoying package build scripts manually! (But this doesn't support `wally`)

## How to use

### `pesde add` (recommended)

Add & Install this pesde package and darklua as a dev_dependency:

    pesde add pesde/darklua --dev -t lune # Pass if darklua is installed already.

    pesde add jiwonz/multitarget --dev -t lune

    pesde install

Use as a binary:

    multitarget --help

Use a library with pesde scripts(runtime is lune actually):

    -- scripts/build.luau

    local multitarget = require("../lune_packages/multitarget")

    multitarget.build(
        "pesde.toml", -- defaults to "pesde.toml"
        { -- pesde project file path defaults to "pesde.toml"
            luau = true,
            roblox = true,
        },
        "./path/to/output", -- defaults to "dist"
            "build files path" -- files/directories to be built
        },
        "LUA_ENV", -- defaults to "LUA_ENV"
        "pkg" -- defaults to "pkg"
    )

`pesde.toml`

    [scripts]
    build = "scripts/build.luau"

    pesde run build

### `pesde x`

Execute directly without installation:

    pesde x jiwonz/multitarget -- --help

## Usage

Check the [example code](https://pesde.dev/packages/jiwonz/multitarget/0.4.0-rc.12/lune/example.luau) out. and run `multitarget --help` for more information about commands and arguments.

### `setup`

Setups your project before building.

With a binary:

    multitarget setup

With `pesde x`:

    pesde x jiwonz/multitarget -- setup

### `build`

Builds your pesde project targeting to `luau` and `roblox`.

With a binary:

    multitarget build --output ./path/to/output --roblox --luau --lune --build-files [..build_files] # You can set targets manually. Roblox target with luau project will require `darklua` to convert requires.

    multitarget build --output ./path/to/output --build-files [..build_files] # If none of target argument is given, This will set available targets automatically.

    multitarget build -o ./path/to/output --build-files [..build_files] # Shorter arguments are supported.

    multitarget build ./path/to/pesde.toml -o ./path/to/output --build-files [..build_files] # You can pass pesde.toml optionally.

    multitarget build -w -a --build-files src # Build for every(-a --all) targets with workspace(-w --workspace) pesde project (luau, lune, roblox)

With `pesde x`:

    pesde x jiwonz/multitarget -- build ...


# jiwonz/multitarget

v0.1.0 Â· published ...

Build your pure pesde project easier targeting both `luau` and `roblox` targets at the same time

Target

Lune

# pesde-multitarget

Build your pure pesde project easier targeting both `luau` and `roblox` targets at the same time

## How to use

### `pesde add` (recommended)

Add & Install this pesde package and darklua as a dev_dependency:

    pesde add pesde/darklua --dev -t lune # Pass if darklua is installed already.

    pesde add jiwonz/multitarget --dev -t lune

    pesde install

Use as a binary:

    multitarget help

Use a library in a lune script:

    -- lune/build.luau

    local multitarget = require("../lune_packages/multitarget")

    multitarget.build(nil, "./path/to/output", { -- pesde project file path defaults to "pesde.toml"
        luau = true,
        roblox = true,
    })

### `pesde x`

Execute directly without installation:

    pesde x jiwonz/multitarget --help

## Usage

### `build`

Builds your pesde project targeting to `luau` and `roblox`.

With a binary:

    multitarget build --output ./path/to/output --roblox --luau --lune # You can set targets manually. Roblox target with luau project will require `darklua` to convert requires.

    multitarget build --output ./path/to/output # If none of target argument is given, This will set available targets automatically.

    multitarget build -o ./path/to/output # Shorter arguments are supported.

    multitarget build ./path/to/pesde.toml -o ./path/to/output # You can pass pesde.toml optionally.

With `pesde x`:

    pesde x jiwonz/multitarget build ...


# jiwonz/multitarget

v0.2.2 Â· published ...

Customizable build script for multiple pesde targets

Target

Lune

# pesde-multitarget

Build your pure pesde project easier targeting both `luau` and `roblox` targets at the same time

No more annoying package build scripts manually! (But this doesn't support `wally`)

## How to use

### `pesde add` (recommended)

Add & Install this pesde package and darklua as a dev_dependency:

    pesde add pesde/darklua --dev -t lune # Pass if darklua is installed already.

    pesde add jiwonz/multitarget --dev -t lune

    pesde install

Use as a binary:

    multitarget help

Use a library in a lune script:

    -- lune/build.luau

    local multitarget = require("../lune_packages/multitarget")

    multitarget.build(nil, "./path/to/output", { -- pesde project file path defaults to "pesde.toml"
        luau = true,
        roblox = true,
    }, {
        "build files path" -- files/directories to be built
    }, true) -- if this is true, it will create a pesde workspace project in dist folder (this is helpful when publish them at the same time faster)

### `pesde x`

Execute directly without installation:

    pesde x jiwonz/multitarget -- --help

## Usage

Check the [example code](https://pesde.dev/packages/jiwonz/multitarget/0.2.2/lune/example.luau) out.

### `setup`

Setups your project before building.

With a binary:

    multitarget setup

With `pesde x`:

    pesde x jiwonz/multitarget setup

### `build`

Builds your pesde project targeting to `luau` and `roblox`.

With a binary:

    multitarget build --output ./path/to/output --roblox --luau --lune --build-files [..build_files] # You can set targets manually. Roblox target with luau project will require `darklua` to convert requires.

    multitarget build --output ./path/to/output --build-files [..build_files] # If none of target argument is given, This will set available targets automatically.

    multitarget build -o ./path/to/output --build-files [..build_files] # Shorter arguments are supported.

    multitarget build ./path/to/pesde.toml -o ./path/to/output --build-files [..build_files] # You can pass pesde.toml optionally.

With `pesde x`:

    pesde x jiwonz/multitarget -- build ...


# jiwonz/multitarget

v0.4.0-rc.21 Â· published ...

Customizable and flexible build script for multiple pesde targets

Target

Lune

# [pesde-multitarget](https://pesde.dev/packages/jiwonz/multitarget)

Customizable and flexible build script for multiple pesde targets

Build your pure pesde project easier targeting both `luau` and `roblox` targets at the same time.

No more annoying package build scripts manually! (But this doesn't support `wally`)

## How to use

### `pesde add` (recommended)

Add & Install this pesde package and darklua as a dev_dependency:

    pesde add pesde/darklua --dev -t lune # Pass if darklua is installed already.

    pesde add jiwonz/multitarget --dev -t lune

    pesde install

Use as a binary:

    multitarget --help

Use a library with pesde scripts(runtime is lune actually):

    -- scripts/build.luau

    local multitarget = require("../lune_packages/multitarget")

    multitarget.build(
        "pesde.toml", -- defaults to "pesde.toml"
        { -- pesde project file path defaults to "pesde.toml"
            luau = true,
            roblox = true,
        },
        "./path/to/output", -- defaults to "dist"
            "build files path" -- files/directories to be built
        },
        "LUA_ENV", -- defaults to "LUA_ENV"
        "pkg" -- defaults to "pkg"
    )

`pesde.toml`

    [scripts]
    build = "scripts/build.luau"

    pesde run build

### `pesde x`

Execute directly without installation:

    pesde x jiwonz/multitarget -- --help

## Usage

Check the [example code](https://pesde.dev/packages/jiwonz/multitarget/0.4.0-rc.21/lune/example.luau) out. and run `multitarget --help` for more information about commands and arguments.

### `setup`

Setups your project before building.

With a binary:

    multitarget setup

With `pesde x`:

    pesde x jiwonz/multitarget -- setup

### `build`

Builds your pesde project targeting to `luau` and `roblox`.

With a binary:

    multitarget build --output ./path/to/output --roblox --luau --lune --build-files [..build_files] # You can set targets manually. Roblox target with luau project will require `darklua` to convert requires.

    multitarget build --output ./path/to/output --build-files [..build_files] # If none of target argument is given, This will set available targets automatically.

    multitarget build -o ./path/to/output --build-files [..build_files] # Shorter arguments are supported.

    multitarget build ./path/to/pesde.toml -o ./path/to/output --build-files [..build_files] # You can pass pesde.toml optionally.

    multitarget build -w -a --build-files src # Build for every(-a --all) targets with workspace(-w --workspace) pesde project (luau, lune, roblox)

With `pesde x`:

    pesde x jiwonz/multitarget -- build ...


# jiwonz/multitarget

v0.4.0-rc.4 Â· published ...

Customizable and flexible build script for multiple pesde targets

Target

Lune

# [pesde-multitarget](https://pesde.dev/packages/jiwonz/multitarget)

Customizable and flexible build script for multiple pesde targets

Build your pure pesde project easier targeting both `luau` and `roblox` targets at the same time.

No more annoying package build scripts manually! (But this doesn't support `wally`)

## How to use

### `pesde add` (recommended)

Add & Install this pesde package and darklua as a dev_dependency:

    pesde add pesde/darklua --dev -t lune # Pass if darklua is installed already.

    pesde add jiwonz/multitarget --dev -t lune

    pesde install

Use as a binary:

    multitarget --help

Use a library with pesde scripts(runtime is lune actually):

    -- scripts/build.luau

    local multitarget = require("../lune_packages/multitarget")

    multitarget.build(
        "pesde.toml", -- defaults to "pesde.toml"
        { -- pesde project file path defaults to "pesde.toml"
            luau = true,
            roblox = true,
        },
        "./path/to/output", -- defaults to "dist"
            "build files path" -- files/directories to be built
        },
        "LUA_ENV", -- defaults to "LUA_ENV"
        "pkg" -- defaults to "pkg"
    )

`pesde.toml`

    [scripts]
    build = "scripts/build.luau"

    pesde run build

### `pesde x`

Execute directly without installation:

    pesde x jiwonz/multitarget -- --help

## Usage

Check the [example code](https://pesde.dev/packages/jiwonz/multitarget/0.4.0-rc.4/lune/example.luau) out. and run `multitarget --help` for more information about commands and arguments.

### `setup`

Setups your project before building.

With a binary:

    multitarget setup

With `pesde x`:

    pesde x jiwonz/multitarget -- setup

### `build`

Builds your pesde project targeting to `luau` and `roblox`.

With a binary:

    multitarget build --output ./path/to/output --roblox --luau --lune --build-files [..build_files] # You can set targets manually. Roblox target with luau project will require `darklua` to convert requires.

    multitarget build --output ./path/to/output --build-files [..build_files] # If none of target argument is given, This will set available targets automatically.

    multitarget build -o ./path/to/output --build-files [..build_files] # Shorter arguments are supported.

    multitarget build ./path/to/pesde.toml -o ./path/to/output --build-files [..build_files] # You can pass pesde.toml optionally.

    multitarget build -w -a --build-files src # Build for every(-a --all) targets with workspace(-w --workspace) pesde project (luau, lune, roblox)

With `pesde x`:

    pesde x jiwonz/multitarget -- build ...


# jiwonz/multitarget

v0.4.0-rc.25 Â· published ...

Customizable and flexible build script for multiple pesde targets

Target

Lune

# [pesde-multitarget](https://pesde.dev/packages/jiwonz/multitarget)

Customizable and flexible build script for multiple pesde targets

Build your pure pesde project easier targeting both `luau` and `roblox` targets at the same time.

No more annoying package build scripts manually! (But this doesn't support `wally`)

## How to use

### `pesde add` (recommended)

Add & Install this pesde package and darklua as a dev_dependency:

    pesde add pesde/darklua --dev -t lune # Pass if darklua is installed already.

    pesde add jiwonz/multitarget --dev -t lune

    pesde install

Use as a binary:

    multitarget --help

Use a library with pesde scripts(runtime is lune actually):

    -- scripts/build.luau

    local multitarget = require("../lune_packages/multitarget")

    multitarget.build(
        "pesde.toml", -- defaults to "pesde.toml"
        { -- pesde project file path defaults to "pesde.toml"
            luau = true,
            roblox = true,
        },
        "./path/to/output", -- defaults to "dist"
            "build files path" -- files/directories to be built
        },
        "LUA_ENV", -- defaults to "LUA_ENV"
        "pkg" -- defaults to "pkg"
    )

`pesde.toml`

    [scripts]
    build = "scripts/build.luau"

    pesde run build

### `pesde x`

Execute directly without installation:

    pesde x jiwonz/multitarget -- --help

## Usage

Check the [example code](https://pesde.dev/packages/jiwonz/multitarget/0.4.0-rc.25/lune/example.luau) out. and run `multitarget --help` for more information about commands and arguments.

### `setup`

Setups your project before building.

With a binary:

    multitarget setup

With `pesde x`:

    pesde x jiwonz/multitarget -- setup

### `build`

Builds your pesde project targeting to `luau` and `roblox`.

With a binary:

    multitarget build --output ./path/to/output --roblox --luau --lune --build-files [..build_files] # You can set targets manually. Roblox target with luau project will require `darklua` to convert requires.

    multitarget build --output ./path/to/output --build-files [..build_files] # If none of target argument is given, This will set available targets automatically.

    multitarget build -o ./path/to/output --build-files [..build_files] # Shorter arguments are supported.

    multitarget build ./path/to/pesde.toml -o ./path/to/output --build-files [..build_files] # You can pass pesde.toml optionally.

    multitarget build -w -a --build-files src # Build for every(-a --all) targets with workspace(-w --workspace) pesde project (luau, lune, roblox)

With `pesde x`:

    pesde x jiwonz/multitarget -- build ...


# jiwonz/multitarget

v0.4.0-rc.23 Â· published ...

Customizable and flexible build script for multiple pesde targets

Target

Lune

# [pesde-multitarget](https://pesde.dev/packages/jiwonz/multitarget)

Customizable and flexible build script for multiple pesde targets

Build your pure pesde project easier targeting both `luau` and `roblox` targets at the same time.

No more annoying package build scripts manually! (But this doesn't support `wally`)

## How to use

### `pesde add` (recommended)

Add & Install this pesde package and darklua as a dev_dependency:

    pesde add pesde/darklua --dev -t lune # Pass if darklua is installed already.

    pesde add jiwonz/multitarget --dev -t lune

    pesde install

Use as a binary:

    multitarget --help

Use a library with pesde scripts(runtime is lune actually):

    -- scripts/build.luau

    local multitarget = require("../lune_packages/multitarget")

    multitarget.build(
        "pesde.toml", -- defaults to "pesde.toml"
        { -- pesde project file path defaults to "pesde.toml"
            luau = true,
            roblox = true,
        },
        "./path/to/output", -- defaults to "dist"
            "build files path" -- files/directories to be built
        },
        "LUA_ENV", -- defaults to "LUA_ENV"
        "pkg" -- defaults to "pkg"
    )

`pesde.toml`

    [scripts]
    build = "scripts/build.luau"

    pesde run build

### `pesde x`

Execute directly without installation:

    pesde x jiwonz/multitarget -- --help

## Usage

Check the [example code](https://pesde.dev/packages/jiwonz/multitarget/0.4.0-rc.23/lune/example.luau) out. and run `multitarget --help` for more information about commands and arguments.

### `setup`

Setups your project before building.

With a binary:

    multitarget setup

With `pesde x`:

    pesde x jiwonz/multitarget -- setup

### `build`

Builds your pesde project targeting to `luau` and `roblox`.

With a binary:

    multitarget build --output ./path/to/output --roblox --luau --lune --build-files [..build_files] # You can set targets manually. Roblox target with luau project will require `darklua` to convert requires.

    multitarget build --output ./path/to/output --build-files [..build_files] # If none of target argument is given, This will set available targets automatically.

    multitarget build -o ./path/to/output --build-files [..build_files] # Shorter arguments are supported.

    multitarget build ./path/to/pesde.toml -o ./path/to/output --build-files [..build_files] # You can pass pesde.toml optionally.

    multitarget build -w -a --build-files src # Build for every(-a --all) targets with workspace(-w --workspace) pesde project (luau, lune, roblox)

With `pesde x`:

    pesde x jiwonz/multitarget -- build ...


# jiwonz/multitarget

v0.2.1 Â· published ...

Customizable build script for multiple pesde targets

Target

Lune

# pesde-multitarget

Build your pure pesde project easier targeting both `luau` and `roblox` targets at the same time

No more annoying package build scripts manually! (But this doesn't support `wally`)

## How to use

### `pesde add` (recommended)

Add & Install this pesde package and darklua as a dev_dependency:

    pesde add pesde/darklua --dev -t lune # Pass if darklua is installed already.

    pesde add jiwonz/multitarget --dev -t lune

    pesde install

Use as a binary:

    multitarget help

Use a library in a lune script:

    -- lune/build.luau

    local multitarget = require("../lune_packages/multitarget")

    multitarget.build(nil, "./path/to/output", { -- pesde project file path defaults to "pesde.toml"
        luau = true,
        roblox = true,
    }, {
        "build files path" -- files/directories to be built
    }, true) -- if this is true, it will create a pesde workspace project in dist folder (this is helpful when publish them at the same time faster)

### `pesde x`

Execute directly without installation:

    pesde x jiwonz/multitarget -- --help

## Usage

Check the [example code](https://pesde.dev/packages/jiwonz/multitarget/0.2.1/lune/example.luau) out.

### `setup`

Setups your project before building.

With a binary:

    multitarget setup

With `pesde x`:

    pesde x jiwonz/multitarget setup

### `build`

Builds your pesde project targeting to `luau` and `roblox`.

With a binary:

    multitarget build --output ./path/to/output --roblox --luau --lune --build-files [..build_files] # You can set targets manually. Roblox target with luau project will require `darklua` to convert requires.

    multitarget build --output ./path/to/output --build-files [..build_files] # If none of target argument is given, This will set available targets automatically.

    multitarget build -o ./path/to/output --build-files [..build_files] # Shorter arguments are supported.

    multitarget build ./path/to/pesde.toml -o ./path/to/output --build-files [..build_files] # You can pass pesde.toml optionally.

With `pesde x`:

    pesde x jiwonz/multitarget -- build ...


# jiwonz/multitarget

v0.4.0-rc.9 Â· published ...

Customizable and flexible build script for multiple pesde targets

Target

Lune

# [pesde-multitarget](https://pesde.dev/packages/jiwonz/multitarget)

Customizable and flexible build script for multiple pesde targets

Build your pure pesde project easier targeting both `luau` and `roblox` targets at the same time.

No more annoying package build scripts manually! (But this doesn't support `wally`)

## How to use

### `pesde add` (recommended)

Add & Install this pesde package and darklua as a dev_dependency:

    pesde add pesde/darklua --dev -t lune # Pass if darklua is installed already.

    pesde add jiwonz/multitarget --dev -t lune

    pesde install

Use as a binary:

    multitarget --help

Use a library with pesde scripts(runtime is lune actually):

    -- scripts/build.luau

    local multitarget = require("../lune_packages/multitarget")

    multitarget.build(
        "pesde.toml", -- defaults to "pesde.toml"
        { -- pesde project file path defaults to "pesde.toml"
            luau = true,
            roblox = true,
        },
        "./path/to/output", -- defaults to "dist"
            "build files path" -- files/directories to be built
        },
        "LUA_ENV", -- defaults to "LUA_ENV"
        "pkg" -- defaults to "pkg"
    )

`pesde.toml`

    [scripts]
    build = "scripts/build.luau"

    pesde run build

### `pesde x`

Execute directly without installation:

    pesde x jiwonz/multitarget -- --help

## Usage

Check the [example code](https://pesde.dev/packages/jiwonz/multitarget/0.4.0-rc.9/lune/example.luau) out. and run `multitarget --help` for more information about commands and arguments.

### `setup`

Setups your project before building.

With a binary:

    multitarget setup

With `pesde x`:

    pesde x jiwonz/multitarget -- setup

### `build`

Builds your pesde project targeting to `luau` and `roblox`.

With a binary:

    multitarget build --output ./path/to/output --roblox --luau --lune --build-files [..build_files] # You can set targets manually. Roblox target with luau project will require `darklua` to convert requires.

    multitarget build --output ./path/to/output --build-files [..build_files] # If none of target argument is given, This will set available targets automatically.

    multitarget build -o ./path/to/output --build-files [..build_files] # Shorter arguments are supported.

    multitarget build ./path/to/pesde.toml -o ./path/to/output --build-files [..build_files] # You can pass pesde.toml optionally.

    multitarget build -w -a --build-files src # Build for every(-a --all) targets with workspace(-w --workspace) pesde project (luau, lune, roblox)

With `pesde x`:

    pesde x jiwonz/multitarget -- build ...


# jiwonz/multitarget

v0.4.0-rc.5 Â· published ...

Customizable and flexible build script for multiple pesde targets

Target

Lune

# [pesde-multitarget](https://pesde.dev/packages/jiwonz/multitarget)

Customizable and flexible build script for multiple pesde targets

Build your pure pesde project easier targeting both `luau` and `roblox` targets at the same time.

No more annoying package build scripts manually! (But this doesn't support `wally`)

## How to use

### `pesde add` (recommended)

Add & Install this pesde package and darklua as a dev_dependency:

    pesde add pesde/darklua --dev -t lune # Pass if darklua is installed already.

    pesde add jiwonz/multitarget --dev -t lune

    pesde install

Use as a binary:

    multitarget --help

Use a library with pesde scripts(runtime is lune actually):

    -- scripts/build.luau

    local multitarget = require("../lune_packages/multitarget")

    multitarget.build(
        "pesde.toml", -- defaults to "pesde.toml"
        { -- pesde project file path defaults to "pesde.toml"
            luau = true,
            roblox = true,
        },
        "./path/to/output", -- defaults to "dist"
            "build files path" -- files/directories to be built
        },
        "LUA_ENV", -- defaults to "LUA_ENV"
        "pkg" -- defaults to "pkg"
    )

`pesde.toml`

    [scripts]
    build = "scripts/build.luau"

    pesde run build

### `pesde x`

Execute directly without installation:

    pesde x jiwonz/multitarget -- --help

## Usage

Check the [example code](https://pesde.dev/packages/jiwonz/multitarget/0.4.0-rc.5/lune/example.luau) out. and run `multitarget --help` for more information about commands and arguments.

### `setup`

Setups your project before building.

With a binary:

    multitarget setup

With `pesde x`:

    pesde x jiwonz/multitarget -- setup

### `build`

Builds your pesde project targeting to `luau` and `roblox`.

With a binary:

    multitarget build --output ./path/to/output --roblox --luau --lune --build-files [..build_files] # You can set targets manually. Roblox target with luau project will require `darklua` to convert requires.

    multitarget build --output ./path/to/output --build-files [..build_files] # If none of target argument is given, This will set available targets automatically.

    multitarget build -o ./path/to/output --build-files [..build_files] # Shorter arguments are supported.

    multitarget build ./path/to/pesde.toml -o ./path/to/output --build-files [..build_files] # You can pass pesde.toml optionally.

    multitarget build -w -a --build-files src # Build for every(-a --all) targets with workspace(-w --workspace) pesde project (luau, lune, roblox)

With `pesde x`:

    pesde x jiwonz/multitarget -- build ...