Git Product home page Git Product logo

pzpw-compiler's Introduction

PZPW Compiler

Lint Build npm version


NPM PZPW Template Donation

Requirements

To install and use PZPW Compiler you need NodeJS and NPM.


Installation

Install globally using npm:

npm install -g pzpw-compiler

Commands

Compile all mods.

Optionally specify the mod ids to compile.

pzpw-compiler mods <mod1> <mod2>

Compile mods into workshop.

Optionally specify the mod ids to compile.

pzpw-compiler workshop <mod1> <mod2>

Get, set or unset game cachedir.

pzpw-compiler cachedir <get|set|unset> <path>

Update PZPW Compiler.

pzpw-compiler update

Get help about commands.

pzpw-compiler help <command>

Clean cachedir generated files.

pzpw-compiler clean <all|mods|workshop>

Print the current version.

pzpw-compiler version

Apache License Version 2.0
Copyright 2022 Konijima

pzpw-compiler's People

Contributors

jabdoesthings avatar konijima avatar memoraike avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

memoraike

pzpw-compiler's Issues

Error when compile mods

Hi! First very very very mush thanks for this awesome tool!
I got error when try compile my mod
trace:

TypeError: Cannot read properties of undefined (reading 'fileName')
    at file:///home/meow/.volta/tools/image/node/16.18.0/lib/node_modules/pzpw-compiler/dist/lib/transpiler.js:61:133
    at Array.forEach (<anonymous>)
    at file:///home/meow/.volta/tools/image/node/16.18.0/lib/node_modules/pzpw-compiler/dist/lib/transpiler.js:58:28
    at new Promise (<anonymous>)
    at transpile (file:///home/meow/.volta/tools/image/node/16.18.0/lib/node_modules/pzpw-compiler/dist/lib/transpiler.js:52:12)
    at ModsCompiler (file:///home/meow/.volta/tools/image/node/16.18.0/lib/node_modules/pzpw-compiler/dist/lib/compilers/mods-compiler.js:99:35)
    at Compiler.compileMods (file:///home/meow/.volta/tools/image/node/16.18.0/lib/node_modules/pzpw-compiler/dist/lib/compiler.js:97:15)
    at async Compiler.exec (file:///home/meow/.volta/tools/image/node/16.18.0/lib/node_modules/pzpw-compiler/dist/lib/compiler.js:66:13)
    at async Compiler.run (file:///home/meow/.volta/tools/image/node/16.18.0/lib/node_modules/pzpw-compiler/dist/lib/compiler.js:24:9)
    at async file:///home/meow/.volta/tools/image/node/16.18.0/lib/node_modules/pzpw-compiler/dist/index.js:29:9

PZPW Compiler terminated! (2.347s)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.