make clean
This commit is contained in:
parent
6b9611576d
commit
031c0f86f7
3
Makefile
3
Makefile
@ -11,6 +11,9 @@ package:
|
||||
mnml:
|
||||
./bin/build.sh
|
||||
|
||||
clean:
|
||||
./bin/clean.sh
|
||||
|
||||
# test: test-unit test-integration
|
||||
|
||||
# test-unit:
|
||||
|
||||
@ -10,7 +10,7 @@ if [ ! -f $MNML_PATH/etc/mnml.env ]; then
|
||||
echo "-----------------------------------------------"
|
||||
|
||||
echo "export MNML_USER=\"$(whoami)\"" >> $MNML_PATH/etc/mnml.env
|
||||
echo "export MNML_PG_PASSWORD=\"$(openssl rand -base64 16)\"" >> $MNML_PATH/etc/mnml.env
|
||||
echo "export MNML_PG_PASSWORD=\"$(openssl rand -hex 16)\"" >> $MNML_PATH/etc/mnml.env
|
||||
echo "export MNML_PG_HOST=\"localhost\"" >> $MNML_PATH/etc/mnml.env
|
||||
fi
|
||||
|
||||
|
||||
8
bin/clean.sh
Executable file
8
bin/clean.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
# bless you chris and andy <3
|
||||
DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||
MNML_PATH=$(realpath "$DIR/../")
|
||||
|
||||
rm $MNML_PATH/etc/mnml.env
|
||||
rm $MNML_PATH/server/.env
|
||||
Loading…
x
Reference in New Issue
Block a user