|
@@ -0,0 +1,17 @@
|
|
|
+#!/bin/bash
|
|
|
+pwd
|
|
|
+
|
|
|
+yarn
|
|
|
+npm run build
|
|
|
+
|
|
|
+rm -rf ~/project/examcloud/static/student-client/dist/*
|
|
|
+cp -r dist ~/project/examcloud/static/student-client/
|
|
|
+
|
|
|
+rm -rf ~/packages/static/student-client/*
|
|
|
+mkdir -p ~/packages/static/student-client
|
|
|
+cp -r dist ~/packages/static/student-client/
|
|
|
+
|
|
|
+cd ~/packages/static/
|
|
|
+rm -rf student-client.tar.gz
|
|
|
+tar -zcvf student-client.tar.gz student-client/
|
|
|
+
|