Skip to content

Commit

Permalink
Added scripts for supporting TFD
Browse files Browse the repository at this point in the history
  • Loading branch information
roveri-marco committed Nov 26, 2021
1 parent 07398a1 commit 626f01c
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 0 deletions.
14 changes: 14 additions & 0 deletions planutils/packages/tfd/install
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash

# No need to install planutils dependencies
# No need to check if already installed
# The install script will be run from the package's directory

# To use if root is required
#[ "$UID" -eq 0 ] || (echo "installation requires root access"; exec sudo "$0" "$@")

# Recipe for singularity images
## Fetch the image
#singularity pull --name <image name> <singularity shub url>

singularity pull --name tfd.sif https://github.com/roveri-marco/tfd/releases/download/0.4/roveri-marco-tfd.latest.sif
6 changes: 6 additions & 0 deletions planutils/packages/tfd/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "The TFD temporal planner",
"description": "The TFD temporal planner (see https://github.com/roveri-marco/tfd)",
"install-size": "145MB",
"dependencies": []
}
5 changes: 5 additions & 0 deletions planutils/packages/tfd/run
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

# whatever command-line method needs to be used to run this package

singularity run -e $(dirname $0)/tfd.sif $@
3 changes: 3 additions & 0 deletions planutils/packages/tfd/uninstall
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

rm tfd.sif

0 comments on commit 626f01c

Please sign in to comment.