You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
229 B
Bash

#!/usr/bin/env bash
RUN_NAME="deer-flow-go"
mkdir -p output/bin output/conf
cp conf/* output/conf/
go build -o output/bin/${RUN_NAME}
chmod +x output/bin/${RUN_NAME}
# 将所有参数传递给程序
./output/bin/${RUN_NAME} "$@"