Skip to content

Cussa/fvtt-boilerplate-initializator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

  _____                     _                        
 |  ___|__  _   _ _ __   __| |_ __ _   _             
 | |_ / _ \| | | | '_ \ / _` | '__| | | |            
 |  _| (_) | |_| | | | | (_| | |  | |_| |            
 |_|__\___/ \__,_|_| |_|\__,_|_|  _\__, | _          
 | __ )  ___ (_) | ___ _ __ _ __ | |___/_| |_ ___    
 |  _ \ / _ \| | |/ _ \ '__| '_ \| |/ _` | __/ _ \   
 | |_) | (_) | | |  __/ |  | |_) | | (_| | ||  __/   
 |____/ \___/|_|_|\___|_|  | .__/|_|\__,_|\__\___|   
  ___       _ _   _       _|_|         _             
 |_ _|_ __ (_) |_(_) __ _| (_)______ _| |_ ___  _ __ 
  | || '_ \| | __| |/ _` | | |_  / _` | __/ _ \| '__|
  | || | | | | |_| | (_| | | |/ / (_| | || (_) | |   
 |___|_| |_|_|\__|_|\__,_|_|_/___\__,_|\__\___/|_|   

A Foundry VTT initializator for the Boilerplate system!

How to use:

  • Copy the startBoilerplate.py to your repository
  • Run python startBoilerplate.py true|false
    • The argument passed is the Dry Run configuration.
      • If passed true, it will execute the process as a "Dry Run" not changing the files
      • If passed false, it will execute the process as a "Wet Run", changing files
      • If the argument is ommited, it wil execute the process as a "Wet Run", changing files
  • Choose your system name
    • The script will replace using the following pattern:
      • boilerplate => your system name in lower case
      • BOILERPLATE => your system name in upper case
      • Boilerplate => your system name capitalized

What does it does?

  • Checks if the system.json file exists. If not download and extract the latest version of the boilerplate system, and then deletes the zip file
  • Asks for the system name. Because it will replace in several places, including classes names, using special characters can cause issues.
  • Renames all the files that have the boilerplate in the name
  • Changes all files' content using the patterns mentioned above
  • Deletes this file

Changelog

v1.1.0

  • ✨ Handles if the repository already contains README, LICENSE and CHANGELOG

v1.0.0

  • 🎉 Begin the project!

About

A Foundry VTT initializator for the Boilerplate system!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages