Added build.sh

This commit is contained in:
George Spasov 2019-07-30 21:33:50 +03:00
parent 25bdf2f5cf
commit 1aeb05d9f2
5 changed files with 119 additions and 27 deletions

1
.gitignore vendored
View File

@ -7,6 +7,7 @@ coverage
node_modules
package-lock.json
dist
full-build
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

11
build.sh Normal file
View File

@ -0,0 +1,11 @@
echo "removing old full-build"
rm -rf full-build
echo "creating new full-build"
mkdir full-build
cp -r back-end/* full-build/
echo "building new frontend"
npm run build
echo "copying new frontend"
rm -rf full-build/frontend/*
cp -r build/* full-build/frontend/
echo "Finished. Use your full-build folder"

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,14 +1,10 @@
module.exports = {
Controlled: require('./Controlled').default,
BancorFormula: require('./BancorFormula').default,
ApproveAndCallFallBack: require('./ApproveAndCallFallBack').default,
SafeMath: require('./SafeMath').default,
MiniMeTokenInterface: require('./MiniMeTokenInterface').default,
BancorFormula: require('./BancorFormula').default,
ERC20Token: require('./ERC20Token').default,
TestBancorFormula: require('./TestBancorFormula').default,
MiniMeToken: require('./MiniMeToken').default,
TokenController: require('./TokenController').default,
TokenFactory: require('./TokenFactory').default,
Controlled: require('./Controlled').default,
MiniMeTokenInterface: require('./MiniMeTokenInterface').default,
Discover: require('./Discover').default,
MiniMeTokenFactory: require('./MiniMeTokenFactory').default,
}