Skip to content

How do/did you even compile this? #12

Description

@Raijinili

I've spent the last hour or two trying to compile it on Windows, so that I can play around with some features.

Here's what I learned:

  • Requires TypeScript installed globally and on the PATH.
  • Requires yuicompressor on the path. NPM global install with NPM's scripts on the PATH works.
    • I got it working with yuicompressor@2.4.8.
  • Requires 7zip's bin folder on the PATH.
  • There's a bug (at least for Windows 10) in the syntax of the batch file.
  • Expects Python 2.
  • TypeScript 2 is too new: Enforces TS17009.
  • TypeScript 1.4. is too old: Does not return 0 if there are no arguments (which the script uses to detect Typescript).
  • The batch script doesn't stop if something goes wrong.
  • The code doesn't properly import all names used. For example, "main.ts" doesn't import MainLoadingType.

At the last step, I give up. I can't easily fix all of the import errors.

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