在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:NHDaly/ApplicationBuilder.jl开源软件地址:https://github.com/NHDaly/ApplicationBuilder.jl开源编程语言:Julia 95.0%开源软件介绍:Deprecation WarningThis package is no longer supported. Almost everything this package did is now supported in PackageCompiler.jl itself, out of the box. If you are still using this package, or want to continue its development, let me know and I can make you a maintainer! :) Julia Application BuilderTurn your julia program into a standalone, distributable, statically-compiled "App"! ApplicationBuilder compiles a julia program and bundles it up into a distributable application, on macOS, Windows and Linux! After building, your users can download your application and run it without having Julia installed. ApplicationBuilderTo compile and bundle your julia program into a distributable app, use julia> using ApplicationBuilder
help?> build_app_bundle()
# 1 method for generic function "build_app_bundle":
build_app_bundle(juliaprog_main; appname, builddir, resources, libraries, verbose, bundle_identifier, app_version, icns_file, certificate, entitlements_file, snoopfile, autosnoop, commandline_app) in ApplicationBuilder at /Users/daly/.julia/v0.6/ApplicationBuilder/src/ApplicationBuilder.jl:47 UsageTo build a julia program into an application, you'll need to do two steps:
Compatibility
Running an example:After cloning the repository, you can build an App out of the example program, julia> build_app_bundle("$(homedir())/.julia/v0.6/ApplicationBuilder/examples/hello.jl", appname="HelloWorld", verbose=true); or like this: $ julia build_app.jl -v examples/hello.jl "HelloWorld" This will produce The simple example HelloWorld.app has no binary dependencies -- that is, it
doesn't need any extra libraries besides Julia. Many Julia packages come bundled
with their own binary dependencies, and if you want to use them in your app,
you'll have to add those dependencies via the More examplesThere are many more examples in the julia> include("$(homedir())/.julia/v0.6/ApplicationBuilder/test/build_examples/commandline_hello.jl") build_app.jl (The command-line tool)There is also a command-line interface, through Run
LicenseThis project is licensed under the terms of the MIT license. ThanksThanks for the help from these contributors and everyone else!: |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论