Skip to content
This repository was archived by the owner on Mar 27, 2019. It is now read-only.
This repository was archived by the owner on Mar 27, 2019. It is now read-only.

Feature: check for syntax error on build #478

@airportyh

Description

@airportyh

I'd like to add the feature of syntax error checking to component build. If any of the components have a syntax error, it would error out. Had a look at the code and it seems the proper place to put it would be component-builder. However, component itself isn't linking to the latest version of builder, see here. When I tried to update component to point to builder's latest, I got this error

/Users/airportyh/Home/Code/component/bin/component-build:77
builder.copyAssetsTo(program.out);
        ^
TypeError: Object #<Builder> has no method 'copyAssetsTo'
    at Object.<anonymous> (/Users/airportyh/Home/Code/component/bin/component-build:77:9)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:902:3

Not sure which route to pursue. Please help point me in the right direction.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions