Sfoglia il codice sorgente

script that prepares dist folder for endtoend tests

Artur Paikin 7 anni fa
parent
commit
8051c71fee
1 ha cambiato i file con 7 aggiunte e 0 eliminazioni
  1. 7 0
      bin/endtoend-build

+ 7 - 0
bin/endtoend-build

@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+
+echo "Preparing for end to end test: copying static HTML and CSS, building JS"
+rm -rf ./test/endtoend/dist && mkdir ./test/endtoend/dist
+cp ./dist/uppy.min.css ./test/endtoend/dist 
+cp ./test/endtoend/src/index.html ./test/endtoend/dist 
+browserify ./test/endtoend/src/main.js -o ./test/endtoend/dist/bundle.js -t babelify