Skip to content

wowjeeez/spacker

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

spacker

A CLI tool to bundle all files found in an fxmanifest.lua file into a zip file, for easy distribution.

Installation

  • Download the latest release from the Releases section
  • Add the spacker binary path to your PATH enviromental variable

Usage

  • Invoke the program like: spacker resource/fxmanifest.lua, or just spacker if the manifest file is in the current directory.

Adding files to the archive, without including them in the Cfx runtime

  • Spacker exposes a custom directive called spacker_keep, which will add the files to the archive.
  • Example:
 fx_version 'cerulean'

 game 'gta5'

 name 'awesome-resource'

--snip--
 spacker_keep { --this won't affect your cfx runtime, but will include the files in the archive
     "typedefs/types.lua",
 }

Building from source

  • You have to have the Rust toolchain installed
  • In the spacker directory, run cargo build --release

About

A CLI tool to bundle all files found in an fxmanifest.lua file into a zip file, for easy distribution.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published