v0.1 (#8)
Co-authored-by: kjuulh <contact@kjuulh.io> Reviewed-on: kjuulh/kraken#8
This commit is contained in:
15
scripts/run.sh
Executable file
15
scripts/run.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
run_server="cuddle_cli x run_server"
|
||||
|
||||
$run_server &
|
||||
|
||||
sleep 1s
|
||||
|
||||
cuddle_cli x run_client
|
||||
|
||||
sleep 5s
|
||||
|
||||
kill %1
|
8
scripts/run_client.sh
Executable file
8
scripts/run_client.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
current_branch=$(git branch --show-current)
|
||||
|
||||
go run cmd/kraken/kraken.go process --actions-repo "git@git.front.kjuulh.io:kjuulh/kraken.git" --branch "$current_branch" --path "_examples/actions/write_a_readme"
|
||||
go run cmd/kraken/kraken.go process --actions-repo "git@git.front.kjuulh.io:kjuulh/kraken.git" --branch "$current_branch" --path "_examples/queries/scrape_readme"
|
7
scripts/run_server.sh
Executable file
7
scripts/run_server.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
export $(cat .env | xargs)
|
||||
|
||||
go run cmd/server/server.go start
|
Reference in New Issue
Block a user