pkg(mono-6.12.0): filename fixes (#230)

* pkg(mono-6.12.0): filename fixes

* pkg(mono-6.12.0): compile cs files

* pkg(mono-6.12.0): add provides in metadata
This commit is contained in:
Dan Vargas 2021-04-24 23:21:57 -05:00 committed by GitHub
parent 7e1960302d
commit 09e347a098
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 5 deletions

View File

@ -1,3 +1,4 @@
#!/bin/bash
csc "$@"
rename 's/$/\.cs/' "$@" # Add .cs extension
csc -out:out *.cs

View File

@ -1 +1 @@
export PATH=$PWD/mono-6.12.0:$PATH
export PATH=$PWD/bin:$PATH

View File

@ -1,5 +1,10 @@
{
"language": "mono",
"version": "6.12.0",
"aliases": ["csharp", "cs"]
"provides": [
{
"language": "csharp",
"aliases": ["mono", "mono-csharp", "mono-c#", "mono-cs", "c#", "cs"]
}
]
}

View File

@ -1,5 +1,4 @@
#!/bin/bash
CODE=${1/cs/exe}
shift
mono $CODE "$@"
mono out "$@"