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:
parent
7e1960302d
commit
09e347a098
|
@ -1,3 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
csc "$@"
|
rename 's/$/\.cs/' "$@" # Add .cs extension
|
||||||
|
csc -out:out *.cs
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
export PATH=$PWD/mono-6.12.0:$PATH
|
export PATH=$PWD/bin:$PATH
|
|
@ -1,5 +1,10 @@
|
||||||
{
|
{
|
||||||
"language": "mono",
|
"language": "mono",
|
||||||
"version": "6.12.0",
|
"version": "6.12.0",
|
||||||
"aliases": ["csharp", "cs"]
|
"provides": [
|
||||||
|
{
|
||||||
|
"language": "csharp",
|
||||||
|
"aliases": ["mono", "mono-csharp", "mono-c#", "mono-cs", "c#", "cs"]
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
CODE=${1/cs/exe}
|
|
||||||
shift
|
shift
|
||||||
mono $CODE "$@"
|
mono out "$@"
|
Loading…
Reference in New Issue