Skip to content

Commit

Permalink
Removed installer scripts, added a makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobMisirian committed Aug 24, 2017
1 parent 1c11ad2 commit bcf880c
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 33 deletions.
17 changes: 17 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.PHONY: clean all

all:
xbuild ./src/Hassium.sln

clean:
cd ~ && rm .Hassium -rf
rm /usr/bin/Hassium.exe -rf
rm /usr/bin/hassium -rf
rm ./src/Hassium/bin/Debug/Hassium.exe -rf

install:
mkdir -p ~/.Hassium
cp ./src/Hassium/bin/Debug/Hassium.exe /usr/bin/Hassium.exe
echo "#! /bin/bash" > /usr/bin/hassium
echo "/usr/bin/mono /usr/bin/Hassium.exe \$$@" >> /usr/bin/hassium
chmod +x /usr/bin/hassium
3 changes: 0 additions & 3 deletions hassium.sh

This file was deleted.

16 changes: 0 additions & 16 deletions install.sh

This file was deleted.

4 changes: 2 additions & 2 deletions src/Hassium/Hassium.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
Expand Down Expand Up @@ -185,4 +185,4 @@
<Compile Include="Runtime\HassiumFunction.cs" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
</Project>
12 changes: 0 additions & 12 deletions uninstall.sh

This file was deleted.

0 comments on commit bcf880c

Please sign in to comment.