Giter Club home page Giter Club logo

resourcepackd's Introduction

ResourcepackD (rpd)

An extremely simple CLI utility to watch minecraft data and resource packs for changes and compile them on fly!

RPD supports optional validation of JSON files and stripping comments from JSONC files, however other contents are not checked and are untouched. If you wish to use your pack in production I recommend to further use PackSquash on it.

Usage

Install using cargo or just download release binaries from Github

cargo install resourcepackd

You can then watch your directory for changes

rpd watch <ROOT_DIR> -o <OUT_FILE>

e.g.

rpd watch . -o build/resourcepack.zip

RPD will launch and you will be able to start developing your resourcepack! Whenever a file is changed, pack will be recompiled to provided directory.

You can also do one-time compilation with

rpd compile . -o build/resourcepack.zip

Enabling Validation

To validate JSON files and clean JSONC files you can add the -v flag:

rpd watch . -o build/resourcepack.zip -v

This will automatically perform validation on all .json and .mcmeta files, as well as JSONC comment stripping on all .jsonc and .mcmetac files.

resourcepackd's People

Contributors

maxuss avatar

Stargazers

 avatar  avatar

Watchers

 avatar

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.