From 437dda180f6b81f2ce9e9965a25528327cd372e8 Mon Sep 17 00:00:00 2001 From: David Mohl Date: Fri, 6 Nov 2015 10:52:02 +0900 Subject: [PATCH] version bump, shadow-build bump, added linux to release --- node/package.json | 7 ++++--- project.clj | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/node/package.json b/node/package.json index 1dcfd6c..5373daa 100644 --- a/node/package.json +++ b/node/package.json @@ -1,7 +1,7 @@ { "name": "markright", "productName": "MarkRight", - "version": "0.1.2", + "version": "0.1.3", "electronVersion": "0.33.6", "description": "", "main":"app.js", @@ -19,9 +19,10 @@ "start": "electron node/", "release": "npm run clean && npm run compile:prod && npm run build && npm run package", - "clean": "npm run clean:dist && npm run clean:source", + "clean": "npm run clean:dist && npm run clean:source && npm run clean:target", "clean:dist": "rm -rf ./dist", "clean:source": "rm -rf ./node/ui/js/", + "clean:target": "rm -rf ./target/", "compile:dev": "lein run -m build/main-dev && lein run -m build/ui-dev", "compile:prod": "lein run -m build/prod", @@ -31,7 +32,7 @@ "build:win": "electron-packager node/ $npm_package_productName --out=dist --arch=all --platform=win32 --ignore='^/dist$' --prune --asar --overwrite --icon=./resources/icon.ico --version=$npm_package_electronVersion", "build:linux": "electron-packager node/ $npm_package_productName --out=dist --arch=all --platform=linux --ignore='^/dist$' --prune --asar --overwrite --icon=./resources/icon.png --version=$npm_package_electronVersion", - "package": "npm run package:win32 && npm run package:win64 && npm run package:osx", + "package": "npm run package:win32 && npm run package:win64 && npm run package:osx && npm run package:linux", "package:win64": "electron-builder dist/markright-win32-x64/ --platform=win --out=dist --config=config.json && mv 'dist/MarkRight Setup.exe' dist/MarkRight_Windows64.exe", "package:win32": "electron-builder dist/markright-win32-ia32/ --platform=win --out=dist --config=config.json && mv 'dist/MarkRight Setup.exe' dist/MarkRight_Windows32.exe", "package:osx": "hdiutil create -format UDZO -srcfolder dist/MarkRight-darwin-x64/MarkRight.app dist/MarkRight_Mac.dmg", diff --git a/project.clj b/project.clj index 3826e3d..7bb3c61 100644 --- a/project.clj +++ b/project.clj @@ -15,5 +15,5 @@ :profiles {:dev {:source-paths ["src/dev"] :dependencies [[thheller/shadow-devtools "0.1.31"] - [thheller/shadow-build "1.0.160"]]}} + [thheller/shadow-build "1.0.161"]]}} )