alex-lawson / sb-automation

A comprehensive system of Starbound mods to automate the movement, production, and storage of materials, liquids, items, energy and data.
MIT License
12 stars 15 forks source link

add deploy script to repository #236

Open krypt-lynx opened 10 years ago

krypt-lynx commented 10 years ago

For new developers would be convenient if a deploy script was in the repository

Something like this, but without hardcoded paths:

rmdir /s /q .\packing
mkdir .\packing
xcopy /S /Y /EXCLUDE:.\exclude.txt .\sb-automation .\packing
"D:\Program Files (x86)\Steam\steamapps\common\Starbound\win32\asset_packer" .\packing .\starfoundry.modpak
rmdir /s /q .\packing
move .\starfoundry.modpak "D:\Program Files (x86)\Steam\steamapps\common\Starbound\mods\starfoundry.modpak"
@echo finished

pause

alex-lawson commented 10 years ago

I have a build script that I can upload (basically what you wrote there), but for development you can safely leave the repo in the mods folder rather than repacking for each change.