1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-26 18:58:21 +02:00
This commit is contained in:
Laurent Cozic 2017-11-04 11:50:58 +00:00
parent 4f831f91f9
commit f1e1db6744
4 changed files with 19 additions and 26 deletions

View File

@ -1,4 +0,0 @@
{
"presets": ["env", "react"],
"plugins": ["syntax-async-functions","transform-runtime"]
}

View File

@ -4,7 +4,6 @@ set -e
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd "$SCRIPT_DIR" cd "$SCRIPT_DIR"
npm version patch npm version patch
#$SCRIPT_DIR/update-package-md5.sh
touch "$SCRIPT_DIR/app/main.js" touch "$SCRIPT_DIR/app/main.js"
bash $SCRIPT_DIR/build.sh bash $SCRIPT_DIR/build.sh
cp "$SCRIPT_DIR/package.json" build/ cp "$SCRIPT_DIR/package.json" build/

View File

@ -1,5 +0,0 @@
#!/bin/bash
ROOT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
MD5="$(cat "$ROOT_DIR/package.json" | md5sum | cut -d' ' -f 1)"
echo -n $MD5 > "$ROOT_DIR/package.json.md5"

View File

@ -4,38 +4,41 @@
{ {
"file_exclude_patterns": "file_exclude_patterns":
[ [
"*.map",
"CliClient/app/src",
"CliClient/app/lib",
"*.jar", "*.jar",
"*.map",
"*.po", "*.po",
"*.pot", "*.pot",
"CliClient/app/lib",
"CliClient/app/src",
"locales/*.json", "locales/*.json",
"log.txt",
"package-lock.json",
"ReactNativeClient/locales/*", "ReactNativeClient/locales/*",
"src/log.txt", "src/log.txt",
"log.txt",
], ],
"folder_exclude_patterns": "folder_exclude_patterns":
[ [
"CliClient/node_modules", "_mydocs/mdtest/Pages/Countries",
"CliClient/build", "_vieux",
"CliClient/tests-build",
"CliClient/app/src",
"CliClient/app/lib", "CliClient/app/lib",
"CliClient/tests/src", "CliClient/app/src",
"CliClient/tests/fuzzing", "CliClient/build",
"CliClient/node_modules",
"CliClient/tests-build",
"CliClient/tests/fuzzing -*", "CliClient/tests/fuzzing -*",
"ReactNativeClient/node_modules", "CliClient/tests/fuzzing",
"CliClient/tests/src",
"CliClient/tests/sync",
"ElectronClient/build",
"node_modules",
"ReactNativeClient/android/.gradle",
"ReactNativeClient/android/.idea",
"ReactNativeClient/android/app/build", "ReactNativeClient/android/app/build",
"ReactNativeClient/android/build", "ReactNativeClient/android/build",
"ReactNativeClient/android/.idea",
"ReactNativeClient/android/.gradle",
"ReactNativeClient/android/local.properties", "ReactNativeClient/android/local.properties",
"ReactNativeClient/ios", "ReactNativeClient/ios",
"node_modules", "ReactNativeClient/node_modules",
"_vieux",
"tests/logs", "tests/logs",
"_mydocs/mdtest/Pages/Countries",
], ],
"path": "." "path": "."
}, },