Skip to content

Java required when making multiple targets #907

Description

@JennaSys

When just making (no --build option) for multiple targets, the compiler tries to load existing target code and ends up running the closure compiler (for minification) jar which requires Java to be installed.

if not javascriptDigest:
minify.run (
self.program.targetDir,
self.targetName,
self.prettyTargetName,
prettify = True,
)
self.prettyTargetCode = open (self.prettyTargetPath, 'r') .read ()
javascriptDigest = utils.digestJavascript (self.prettyTargetCode, self.program.symbols, True, False) # Prettified, so doesn't start with '/'!

There should be a way to avoid having Java installed when the target does not actually exist yet.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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