Added Rakefile, added Windows packaging config

This commit is contained in:
2020-06-28 07:59:46 -05:00
parent f85426780b
commit 1f37be3604
4 changed files with 30 additions and 2 deletions

19
Rakefile Executable file
View File

@@ -0,0 +1,19 @@
require "releasy"
require 'bundler/setup' # Releasy requires that your application uses bundler.
require_relative "lib/version"
Releasy::Project.new do
name TAC::NAME
version TAC::VERSION
executable "timecrafters_configuration_tool.rb"
files ["lib/**/*.*", "media/**/*.*", "data"]
exclude_encoding # Applications that don't use advanced encoding (e.g. Japanese characters) can save build size with this.
verbose
add_build :windows_folder do
icon "media/icon.ico"
executable_type :console # Assuming you don't want it to run with a console window.
add_package :exe # Windows self-extracting archive.
end
end