ページ "Compiling and Releasing"
が削除されます。ご確認ください。
This is a guide on how to compile freeShop for a release + an explanation for how to release freeShop.
This guide is written under the assumption that the OS you want to compile freeShop on is a UNIX based OS. This guide makes no attempt to guide you on how to do this on a Windows system.
This guide was written with the intention of being useful, as releasing freeShop is a slightly involved process. Read the entire guide before following it.
Compiling freeShop consists of roughly two steps, as described below.
The following software tools are required on your OS to compile freeShop. These should be installable through your package manager (depends on the distro. If you are on macOS, use brew.sh as your package manager)
git
- VCS required for working with git.vagrant
- Vagrant provides an easy to use portable developer environment through the use of Virtual Machines.virtualbox
- The vagrant machine used to compile freeShop is made for virtualbox.You will also need to have some terminal knowledge, some disk space and at least 2GB of RAM free.
While a detailed guide can be found at the dedicated Vagrant page, the steps remain similar. For a full explanation on what these commands do, check out that page. Otherwise just run the commands below.
git clone --recursive https://notabug.org/evi/freeShop.git
cd freeShop
vagrant up
- This command will pull in the vagrant box, copy it to .vagrant and set it up for you.vagrant ssh
- This will ssh you in the vagrant machine.cd /vagrant
After doing these steps, continue to step 2.
This assumes that you currently are in the /vagrant
directory in the vagrant machine.
CMakeLists.txt
. You will need to bump the value behind APP_VERSION by 1 and change FREESHOP_VERSION to the next version.build
directory (we are doing a clean build as otherwise you may run into errors from a clean build later): rm -rf build
mkdir -p /vagrant/build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_EMULATOR=OFF -DBUILD_TESTS=OFF ..
. These flags compile freeShop for a release. If you want to compile a debug version of freeShop (prints additional debug text to the bottom screen, change Release to Debug). -DBUILD_EMULATOR
can be set to ON if you want to compile the cpp3ds emulator as well. -DBUILD_TESTS
can be set to on if you want to run unit tests.make
. This command will take a long time. Expect it to take upwards of 20 minutes./vagrant/bin
or freeShop/build
on your main OS.exit
out of the VM.vagrant stop
. This will prevent the machine from taking up RAM.vagrant destroy
. Note that this will make the next vagrant up
take longer.This is a guide on how to release a new version of freeShop.
You will need the following to make a freeShop release.
news/x.y.z.txt
, where x.y.z
is the version you gave in FREESHOP_VERSION. Write your release notes in this file. These release notes are show by the auto-updater.x.y.z
, where x.y.z
is the version you gave in FREESHOP_VERSION. Copy this file again and rename it to x.y.z.cia
. Rename freeShop.3dsx to x.y.z.3dsx
.src/States/SyncState.cpp
(recompile after changing this line obviously + commit to notabug). Provide the raw URL to this paste there. Otherwise, update your existing paste by the version you gave in FREESHOP_VERSION.ページ "Compiling and Releasing"
が削除されます。ご確認ください。