mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
828f565290
This is going to be the v4. Expected improvements: - More reliable due to static typing. - Bump of performance. - Improvement of logging. - Authelia can be shipped as a single binary. - Will likely work on ARM architecture.
20 lines
241 B
Bash
Executable File
20 lines
241 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -x
|
|
set -e
|
|
|
|
DIST_DIR=dist
|
|
|
|
rm -rf $DIST_DIR
|
|
mkdir -p $DIST_DIR
|
|
|
|
GOOS=linux GOARCH=amd64 CGO_ENABLED=1 go build -o $DIST_DIR/authelia
|
|
|
|
# Build the client
|
|
pushd client
|
|
npm run build
|
|
popd
|
|
|
|
mv client/build $DIST_DIR/public_html
|
|
|