equal
deleted
inserted
replaced
580 force = true) |
580 force = true) |
581 |
581 |
582 |
582 |
583 // application archive |
583 // application archive |
584 |
584 |
585 val archive_name = isabelle_name + "_macos.tar.xz" |
585 val archive_name = isabelle_name + "_macos.tar.gz" |
586 progress.echo("Packaging " + archive_name + " ...") |
586 progress.echo("Packaging " + archive_name + " ...") |
587 execute_tar(tmp_dir, |
587 execute_tar(tmp_dir, |
588 "-cJf " + File.bash_path(release.dist_dir + Path.explode(archive_name)) + " " + |
588 "-czf " + File.bash_path(release.dist_dir + Path.explode(archive_name)) + " " + |
589 File.bash_path(isabelle_app)) |
589 File.bash_path(isabelle_app)) |
590 |
590 |
591 |
591 |
592 case Platform.Family.windows => |
592 case Platform.Family.windows => |
593 File.write(isabelle_target + jedit_props, |
593 File.write(isabelle_target + jedit_props, |
723 progress.echo_warning("Library archive already exists: " + release.isabelle_library_archive) |
723 progress.echo_warning("Library archive already exists: " + release.isabelle_library_archive) |
724 } |
724 } |
725 else { |
725 else { |
726 Isabelle_System.with_tmp_dir("build_release")(tmp_dir => |
726 Isabelle_System.with_tmp_dir("build_release")(tmp_dir => |
727 { |
727 { |
|
728 if (!Platform.is_linux) error("Linux platform required for library archive") |
|
729 |
728 val bundle = |
730 val bundle = |
729 release.dist_dir + Path.explode(release.dist_name + "_" + Platform.family + ".tar.xz") |
731 release.dist_dir + Path.explode(release.dist_name + "_linux.tar.xz") |
730 execute_tar(tmp_dir, "-xJf " + File.bash_path(bundle)) |
732 execute_tar(tmp_dir, "-xJf " + File.bash_path(bundle)) |
731 |
733 |
732 val other_isabelle = release.other_isabelle(tmp_dir) |
734 val other_isabelle = release.other_isabelle(tmp_dir) |
733 |
735 |
734 Isabelle_System.mkdirs(other_isabelle.etc) |
736 Isabelle_System.mkdirs(other_isabelle.etc) |