mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-22 04:56:30 +02:00
pkg(file-0.0.1): Run executable
This commit is contained in:
parent
85cba0d89d
commit
64833a0408
8 changed files with 34 additions and 11 deletions
3
packages/file/0.0.1/build.sh
vendored
Executable file
3
packages/file/0.0.1/build.sh
vendored
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Nothing to do here
|
3
packages/file/0.0.1/environment
vendored
Normal file
3
packages/file/0.0.1/environment
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
export PATH=$PWD:$PATH
|
5
packages/file/0.0.1/metadata.json
vendored
Normal file
5
packages/file/0.0.1/metadata.json
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"language": "file",
|
||||
"version": "0.0.1",
|
||||
"aliases": ["executable", "elf", "binary"]
|
||||
}
|
6
packages/file/0.0.1/run
vendored
Normal file
6
packages/file/0.0.1/run
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
filename="$1"
|
||||
chmod +x "$filename"
|
||||
shift
|
||||
./"$filename" "$@"
|
BIN
packages/file/0.0.1/test.file
vendored
Executable file
BIN
packages/file/0.0.1/test.file
vendored
Executable file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue