Skip to content

Commit

Permalink
Add a README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
BGMP committed Jan 14, 2022
1 parent 4c57ac5 commit 7b5b45c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
rva_cars/
===

Re-Volt America's Cars Pack.

## Usage
For developers, the packaging pipeline was built using Rake. The following tasks take care of compressing and versioning
the files included in the cars pack:
- `:clean`: Removes all unnecessary files from cars/, such as paintkits, extra folders, etc. Use it before pushing to this repo!
- `:package`: Packages the whole cars/ directory into a zip file.
- `:version`: Generates a packages.json file, which is later used for distributing the pack via the [RVGL Launcher](https://re-volt.gitlab.io/rvgl-launcher/#download)

Using `rake` on its own will execute all in its intended order: `:clean, :package, :version`.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ task :package do
zipfile_name = "#{RVACars::NAME}.zip"
puts "Packaging into #{zipfile_name} ..."

exclude = %w[. .. Gemfile Gemfile.lock Rakefile .git .gitignore .idea data.rb]
exclude = %w[. .. Gemfile Gemfile.lock Rakefile .git .gitignore .idea data.rb README.md]
zf = ZipFileGenerator.new('.', zipfile_name, exclude)
zf.write

Expand Down

0 comments on commit 7b5b45c

Please sign in to comment.