Skip to content

Commit

Permalink
[Feat] update apply generator script
Browse files Browse the repository at this point in the history
  • Loading branch information
mistricky committed Mar 17, 2024
1 parent f2d3232 commit 43aa93c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
Binary file removed lua/generator.so
Binary file not shown.
1 change: 0 additions & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ build_generator_debug:

build_generator:
./scripts/build_generator.sh --release
# cd generator && cargo build --release
6 changes: 1 addition & 5 deletions scripts/apply_generator.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
source ./scripts/check_os.sh

function apply_generator {
if [ -f lua/generator.so ]; then
rm lua/generator.so
fi

cp lua/"${1}generator.so" lua/generator.so
cp -rf lua/"${os}generator.so" lua/generator.so
}

apply_generator $os

0 comments on commit 43aa93c

Please sign in to comment.