41 lines
960 B
Markdown
41 lines
960 B
Markdown
# saferm
|
||
Safely runs ```rm -rf``` so you don´t make an oopsie
|
||
|
||
# Dependencies
|
||
You need to have haxe along with hxcpp and g++ installed to compile.
|
||
Earliest tested working haxe version is 4.1.5
|
||
|
||
|
||
# Installation
|
||
|
||
Either follow the instructions below to build it yourself or download the binary from latest release
|
||
|
||
## Linux
|
||
### Step 1. Install haxe and Dependencies
|
||
#### Debian, Ubuntu and derivatives:
|
||
```
|
||
sudo apt update && sudo apt install haxe g++ make
|
||
mkdir ~/haxelib && haxelib setup ~/haxelib
|
||
```
|
||
#### Fedora
|
||
```
|
||
sudo dnf install haxe gcc-c++ make
|
||
mkdir ~/haxelib && haxelib setup ~/haxelib
|
||
```
|
||
#### Arch
|
||
```
|
||
sudo pacman -S haxe gcc make
|
||
mkdir ~/haxelib && haxelib setup ~/haxelib
|
||
```
|
||
|
||
### Step 2. Compile and install
|
||
Make sure you have haxe installed then run the following commands
|
||
```
|
||
haxelib install hxcpp
|
||
git clone https://git.subsonics.nl/andreas/saferm.git
|
||
cd saferm
|
||
make && sudo make install
|
||
```
|
||
|
||
## Windows
|
||
 |