equal
deleted
inserted
replaced
54 /* make distribution */ |
54 /* make distribution */ |
55 |
55 |
56 val jobs_option = " -j" + parallel_jobs.toString |
56 val jobs_option = " -j" + parallel_jobs.toString |
57 |
57 |
58 if (release_info.dist_archive.is_file) |
58 if (release_info.dist_archive.is_file) |
59 progress.echo("Release archive " + release_info.dist_archive + " already exists") |
59 progress.echo("### Release archive already exists: " + release_info.dist_archive) |
60 else { |
60 else { |
61 progress.echo("Producing release archive " + release_info.dist_archive + " ...") |
61 progress.echo("Producing release archive " + release_info.dist_archive + " ...") |
62 progress.bash( |
62 progress.bash( |
63 "isabelle makedist -d " + File.bash_path(base_dir) + jobs_option + |
63 "isabelle makedist -d " + File.bash_path(base_dir) + jobs_option + |
64 (if (official_release) " -O" else "") + |
64 (if (official_release) " -O" else "") + |
76 Path.explode( |
76 Path.explode( |
77 if (platform_family == "macos" && remote_mac.isEmpty) |
77 if (platform_family == "macos" && remote_mac.isEmpty) |
78 release_info.name + "_dmg.tar.gz" |
78 release_info.name + "_dmg.tar.gz" |
79 else platform_bundle) |
79 else platform_bundle) |
80 if (bundle_archive.is_file) |
80 if (bundle_archive.is_file) |
81 progress.echo("Application bundle " + bundle_archive + " already exists") |
81 progress.echo("### Application bundle already exists: " + bundle_archive) |
82 else { |
82 else { |
83 progress.echo("\n*** " + platform_family + ": " + bundle_archive + " ***") |
83 progress.echo("\n*** " + platform_family + ": " + bundle_archive + " ***") |
84 progress.bash( |
84 progress.bash( |
85 "isabelle makedist_bundle " + File.bash_path(release_info.dist_archive) + |
85 "isabelle makedist_bundle " + File.bash_path(release_info.dist_archive) + |
86 " " + File.bash_string(platform_family) + |
86 " " + File.bash_string(platform_family) + |
115 |
115 |
116 /* HTML library */ |
116 /* HTML library */ |
117 |
117 |
118 if (build_library) { |
118 if (build_library) { |
119 if (release_info.dist_library_archive.is_file) |
119 if (release_info.dist_library_archive.is_file) |
120 progress.echo("Library archive " + release_info.dist_library_archive + " already exists") |
120 progress.echo("### Library archive already exists: " + release_info.dist_library_archive) |
121 else { |
121 else { |
122 progress.bash("\"$ISABELLE_HOME/Admin/Release/build_library\"" + jobs_option + " " + |
122 progress.bash("\"$ISABELLE_HOME/Admin/Release/build_library\"" + jobs_option + " " + |
123 File.bash_path(release_info.dist_dir + |
123 File.bash_path(release_info.dist_dir + |
124 Path.explode(release_info.name + "_" + |
124 Path.explode(release_info.name + "_" + |
125 Isabelle_System.getenv_strict("ISABELLE_PLATFORM_FAMILY") + ".tar.gz"))).check |
125 Isabelle_System.getenv_strict("ISABELLE_PLATFORM_FAMILY") + ".tar.gz"))).check |