added a build.sh because i'm lazy
This commit is contained in:
parent
f20df85f31
commit
21e2cf6881
2 changed files with 6 additions and 4 deletions
2
build.sh
Executable file
2
build.sh
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
mcs -pkg:gtk-sharp-3.0 -resource:ui.glade *.cs
|
|
@ -5,12 +5,12 @@ i figured, may as well try and learn c#
|
|||
|
||||
0uo
|
||||
|
||||
## installing
|
||||
## installing prerequisites
|
||||
you will need either:
|
||||
- [mono](https://www.mono-project.com/download/stable/) and [gtk sharp 3](https://github.com/GtkSharp/GtkSharp/)
|
||||
- [dotnet core sdk](https://dotnet.microsoft.com/)
|
||||
|
||||
### installing on debian
|
||||
### debian
|
||||
#### mono
|
||||
the packages you'll need are `mono-devel` and `gtk-sharp3`, so:
|
||||
```
|
||||
|
@ -19,7 +19,7 @@ sudo apt install mono-devel gtk-sharp3
|
|||
#### dotnet
|
||||
follow [these instructions](https://docs.microsoft.com/en-us/dotnet/core/install/linux-debian) to add the dotnet repo and install dotnet-sdk.
|
||||
|
||||
### installing on arch
|
||||
### arch linux
|
||||
#### mono
|
||||
```
|
||||
sudo pacman -S mono gtk-sharp-3
|
||||
|
@ -29,7 +29,7 @@ sudo pacman -S mono gtk-sharp-3
|
|||
sudo pacman -S dotnet-sdk
|
||||
```
|
||||
|
||||
### installing on windows
|
||||
### windows
|
||||
- download and install ".NET Core SDK" from [this page](https://dotnet.microsoft.com/download)
|
||||
- run `dotnet build` - this *should* pull in gtk3 automatically - if not, you'll need to [install it yourself](https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer/releases/latest)
|
||||
|
||||
|
|
Loading…
Reference in a new issue