1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/thelounge_ynh.git synced 2024-09-03 20:35:54 +02:00

[fix] Build

This commit is contained in:
Rafi59 2018-05-01 14:14:20 +02:00 committed by GitHub
parent 42151dff61
commit affd634a6d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -128,13 +128,13 @@ ynh_use_nodejs
npm -g install $final_path npm -g install $final_path
# Install webpack # Install webpack
npm -g install webpack #npm -g install webpack
npm -g install webpack-cli #npm -g install webpack-cli
# Build The Lounge # Build The Lounge
cd $final_path #cd $final_path
NODE_ENV=production npm run build #NODE_ENV=production npm run build
ln -s $final_path/index.js /usr/bin/thelounge/ #ln -s $final_path/index.js /usr/bin/thelounge/
#================================================= #=================================================
# STORE THE CHECKSUM OF THE CONFIG FILE # STORE THE CHECKSUM OF THE CONFIG FILE