Commit 5e5a770f authored by ILPONSE Bruno's avatar ILPONSE Bruno
Browse files

Added build script

parent b6d606bf
......@@ -23,4 +23,4 @@ Site Web
[![](https://t2594656.p.clickup-attachments.com/t2594656/02a2acc8-fd84-4d24-9e1a-299262ff2ce0/HybridmeterWebsite.png)](https://online.isae-supaero.fr/hybridmeter)
Visitez le site Web principal de HybridMeter : [https://online.isae-supaero.fr/hybridmete](https://online.isae-supaero.fr/hybridmeter)
Visitez le site Web principal de HybridMeter : [https://online.isae-supaero.fr/hybridmeter](https://online.isae-supaero.fr/hybridmeter)
#!/bin/bash
set -e
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
export HYBRIDMETER=$DIR/../hybridmeter
export VUE=$HYBRIDMETER/vue
export TMP=/tmp
export TMP_HYBRIDMETER=$TMP/hybridmeter
cd $VUE
npm install && npm run build
rm -rf $TMP/$TMP_HYBRIDMETER
rm -rf $TMP/$TMP_HYBRIDMETER.zip
cp -r $HYBRIDMETER $TMP_HYBRIDMETER
rm -rf $TMP/hybridmeter/vue
zip -r $TMP/report_hybridmeter.zip $TMP_HYBRIDMETER/*
<?php
$plugin->component = "report_hybridmeter";
$plugin->version = 2022092303;
$plugin->version = 2022092600;
$plugin->requires = 2018051700; // Moodle 3.5.7 minimum
$plugin->release = "1.1.3";
$plugin->maturity = MATURITY_BETA;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment