Skip to content

Commit

Permalink
build: move docs to subdir
Browse files Browse the repository at this point in the history
Signed-off-by: He Xian <[email protected]>
  • Loading branch information
hexian000 committed Nov 30, 2024
1 parent 2d43f58 commit fc4a66d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions m.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ case "$1" in
VERSION="${VERSION}+"
fi
fi
mkdir -p build
cp -r neosocksd.lua libruleset.lua agent.lua example build/
sed "s/^Version: dev$/Version: ${VERSION}/g" API.md >build/API.md
mkdir -p build/doc
cp -r neosocksd.lua libruleset.lua agent.lua example build/doc/
sed "s/^Version: dev$/Version: ${VERSION}/g" API.md >build/doc/API.md
;;
"x")
# cross compiling, environment vars need to be set
Expand Down

0 comments on commit fc4a66d

Please sign in to comment.