1
0
mirror of https://github.com/kremalicious/blowfish.git synced 2024-12-26 14:47:53 +01:00
This commit is contained in:
Matthias Kretschmann 2020-10-10 17:36:39 +02:00
parent e8f9d57f4e
commit a6ba4f071b
Signed by: m
GPG Key ID: 606EEEF3C479A91F
3 changed files with 3 additions and 32 deletions

View File

@ -1,30 +0,0 @@
#!/bin/bash
rm -rf {dist,build,src/renderer/.next,src/renderer/out}/ && \
npm run build:react && \
npm run build:electron:mac
# && \
# if [ -x "$(command -v docker)" ]; then
# docker run --rm \
# --env-file <(env | grep -iE 'DEBUG|NODE_|ELECTRON_|YARN_|NPM_|CI|CIRCLE|TRAVIS_TAG|TRAVIS|TRAVIS_REPO_|TRAVIS_BUILD_|TRAVIS_BRANCH|TRAVIS_PULL_REQUEST_|APPVEYOR_|CSC_|GH_|GITHUB_|BT_|AWS_|STRIP|BUILD_') \
# --env ELECTRON_CACHE="/root/.cache/electron" \
# --env ELECTRON_BUILDER_CACHE="/root/.cache/electron-builder" \
# -v ${PWD}:/project \
# -v ${PWD##*/}-node-modules:/project/node_modules \
# -v ~/.cache/electron:/root/.cache/electron \
# -v ~/.cache/electron-builder:/root/.cache/electron-builder \
# electronuserland/builder:wine \
# /bin/bash -c "npm i && npm run build:react && npm run build:electron:win"
# docker run --rm \
# --env-file <(env | grep -iE 'DEBUG|NODE_|ELECTRON_|YARN_|NPM_|CI|CIRCLE|TRAVIS_TAG|TRAVIS|TRAVIS_REPO_|TRAVIS_BUILD_|TRAVIS_BRANCH|TRAVIS_PULL_REQUEST_|APPVEYOR_|CSC_|GH_|GITHUB_|BT_|AWS_|STRIP|BUILD_') \
# --env ELECTRON_CACHE="/root/.cache/electron" \
# --env ELECTRON_BUILDER_CACHE="/root/.cache/electron-builder" \
# -v ${PWD}:/project \
# -v ${PWD##*/}-node-modules:/project/node_modules \
# -v ~/.cache/electron:/root/.cache/electron \
# -v ~/.cache/electron-builder:/root/.cache/electron-builder \
# electronuserland/builder:12 \
# /bin/bash -c "npm i && npm run build:react && npm run build:electron:linux"
# fi

View File

@ -1,3 +1,4 @@
module.exports = {
has: () => jest.fn()
has: () => jest.fn(),
get: () => jest.fn()
}

View File

@ -14,7 +14,7 @@ module.exports = {
'<rootDir>/src/renderer/.next',
'<rootDir>/src/renderer/out',
'<rootDir>/node_modules',
'<rootDir>/build',
'<rootDir>/app',
'<rootDir>/dist',
'<rootDir>/coverage'
],