mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-03 09:22:07 +01:00
1.1 KiB
1.1 KiB
Building Smack
Linux
Building Smack is as simple as
git clone git@github.com:igniterealtime/Smack.git
cd Smack
gradle assemble
Mac
Smack requires a case-sensitive file system in order to build. Unfortunately, the macOS operating system is case-insensitive by default. To get around this, you can create a case-sensitive disk image to work from.
- Launch Disk Utility (Applications > Utilities)
- Click the +, or go to Edit > Add APFS Volume
- Give it a name, e.g. "Smack"
- Change the format to "APFS (Case-sensitive)"
- Click Add
It'll auto-mount into /Volumes, e.g. /Volumes/Smack
cd /Volumes/Smack
git clone git@github.com:igniterealtime/Smack.git
cd Smack
gradle assemble
Windows
Smack requires a case-sensitive file system in order to build. Unfortunately, Windows NTFS is case-insensitive by default. To get around this, you can set specific folders as case-sensitive (requires Windows 10 v1803 or higher).
In an Administrator console:
fsutil.exe file SetCaseSensitiveInfo C:\git\Smack enable
cd \git\Smack
git clone git@github.com:igniterealtime/Smack.git
cd Smack
gradle assemble