mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-24 08:12:24 +02:00
11 lines
348 B
Bash
Executable File
11 lines
348 B
Bash
Executable File
#!/bin/bash
|
|
CLIENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
mkdir -p "$CLIENT_DIR/build"
|
|
rm -f "$CLIENT_DIR/app/lib"
|
|
ln -s "$CLIENT_DIR/../lib" "$CLIENT_DIR/app"
|
|
cp "$CLIENT_DIR/package.json" "$CLIENT_DIR/build"
|
|
|
|
# Always keep this as the last line so that the exit
|
|
# code of build.sh is the same as the build command:
|
|
npm run build |