From bbde5fe3ba611a648e975190e270325b7dc60dd0 Mon Sep 17 00:00:00 2001 From: Vitali Semianiaka Date: Thu, 1 Jan 2026 23:42:32 +0300 Subject: [PATCH] update template --- S8N_Workflow_Template.csproj | 3 ++- build.sh | 2 ++ workflow.json => data/workflow.json | 0 run-compiler.sh | 6 +++--- run.sh | 2 ++ 5 files changed, 9 insertions(+), 4 deletions(-) create mode 100755 build.sh rename workflow.json => data/workflow.json (100%) mode change 100644 => 100755 run-compiler.sh create mode 100755 run.sh diff --git a/S8N_Workflow_Template.csproj b/S8N_Workflow_Template.csproj index f43bb99..65c9139 100644 --- a/S8N_Workflow_Template.csproj +++ b/S8N_Workflow_Template.csproj @@ -8,7 +8,8 @@ - + + diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..96375e5 --- /dev/null +++ b/build.sh @@ -0,0 +1,2 @@ + docker build -t myworkflow . + \ No newline at end of file diff --git a/workflow.json b/data/workflow.json similarity index 100% rename from workflow.json rename to data/workflow.json diff --git a/run-compiler.sh b/run-compiler.sh old mode 100644 new mode 100755 index cc4076f..562a71a --- a/run-compiler.sh +++ b/run-compiler.sh @@ -1,5 +1,5 @@ # compile (link) your workflow.json and project sources docker run --rm \ - -v ./:/sources \ - -e WORKFLOW_FILE /sources/workflow.json \ - jetframes482/sharp8n-compiler + -v $(pwd):/sources \ + -e WORKFLOW_FILE=/sources/data/workflow.json \ + jetframes482/sharp8n-compiler diff --git a/run.sh b/run.sh new file mode 100755 index 0000000..91094d2 --- /dev/null +++ b/run.sh @@ -0,0 +1,2 @@ + docker run --rm -v ./data:/data -e WORKFLOW_FILE=/data/workflow.json myworkflow + \ No newline at end of file