You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can install this plugin by adding it on your plugins list on your project.clj.
:plugins [[lein-node-webkit-build "0.1.8"]]
Usage
This project will help you to get from a folder containing a node-webkit application
For a minimum setup, this is what you need to add on your project.clj:
:node-webkit-build {:root"public"}
And then you can run the build with:
lein node-webkit-build
This will lookup at the folder public for your app, will build it up and generate
releases for all available platforms (it will automatic download the nescessary files
for that).
The following options are available to customize the build:
{ :root""; your node-webkit app root directory:namenil; use this to override the application name:versionnil; use this to override the application version:osx {
:iconnil; point to an .icns icon file to be used on the generated mac osx build
}
:platforms #{:osx:osx64:win:linux32:linux64} ; select which platforms to generate the build:nw-version:latest; the node-webkit version to be used:output"releases"; output directory for the generated builds:disable-developer-toolbartrue; this will update your package.json to remove the developer toolbar:use-lein-project-versiontrue; update the project version using your leiningen project version:tmp-path (path-join"tmp""nw-build")} ; temporary path to place intermediate build files
This project still very young and all feedback will be great to improve it.
Build information
After the build process ends, a file is saved at TMP-PATH/build-info.edn, if you need
to get any information generated from the build, you can read this file as: