define debug or release on build system commandline
This commit is contained in:
10
scripts/update-release
Executable file
10
scripts/update-release
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
systemctl stop aboba.service
|
||||
./build clean
|
||||
cc -DMY_DEBUG=0 -o build build.c
|
||||
./build make
|
||||
cp ./aboba /usr/local/bin/aboba
|
||||
sudo systemctl start aboba.service
|
||||
sudo systemctl status aboba.service
|
||||
|
Reference in New Issue
Block a user