api-feature/import-per-csv #25
@@ -1,5 +1,20 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
create_css_files() {
|
||||||
|
cd ui/public || exit 2
|
||||||
|
lessc --source-map less/print.less print.css
|
||||||
|
lessc --source-map less/global.less global.css
|
||||||
|
cd ../..
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
install_ui_dependence() {
|
||||||
|
cd ui/ || exit 2
|
||||||
|
npm install
|
||||||
|
cd ..
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
install_api_dependence() {
|
install_api_dependence() {
|
||||||
cd api/ || exit 2
|
cd api/ || exit 2
|
||||||
composer install
|
composer install
|
||||||
@@ -29,4 +44,4 @@ composer_run() {
|
|||||||
docker-compose up -d
|
docker-compose up -d
|
||||||
}
|
}
|
||||||
|
|
||||||
install_api_dependence && build_ui && test_unit && composer_run && test_api
|
create_css_files && install_ui_dependence && install_api_dependence && build_ui && test_unit && composer_run && test_api
|
||||||
Reference in New Issue
Block a user