diff --git a/build b/build new file mode 100755 index 0000000..01c22e1 --- /dev/null +++ b/build @@ -0,0 +1,10 @@ +#!/bin/bash + +cd sources +npm install + +if [ "$1" == "all" ]; then + npm run all +else + npm run build +fi diff --git a/sources/build b/sources/build deleted file mode 100755 index d4275e3..0000000 --- a/sources/build +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -cd sources -npm run build diff --git a/sources/build-and-test b/sources/build-and-test deleted file mode 100755 index 9b431d0..0000000 --- a/sources/build-and-test +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -cd sources -npm run all