mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-18 01:29:47 +00:00
Remove references to obsolete .rp1 format
This commit is contained in:
parent
9e304e4b1e
commit
a38380ec76
4 changed files with 5 additions and 5 deletions
|
@ -170,7 +170,7 @@ pub fn build_app<'a>() -> Command<'a> {
|
|||
.arg(
|
||||
Arg::new(FLAG_TAR)
|
||||
.long(FLAG_TAR)
|
||||
.help("Create a .rp1 bundle for a package, so others can add it as a HTTPS dependency.")
|
||||
.help("Create a .tar archive of a package, so others can add it as a HTTPS dependency.")
|
||||
.required(false),
|
||||
)
|
||||
.arg(
|
||||
|
@ -532,7 +532,7 @@ pub fn build(
|
|||
let created_path = path.with_file_name(&filename);
|
||||
|
||||
println!(
|
||||
"\nBundled \x1B[33m{}\x1B[39m and its dependent files into the following file in {total_time} ms:\n\n\t\x1B[33m{}\x1B[39m\n\nTo distribute this bundle as a package, upload this to some URL and then add it as a dependency with:\n\n\t\x1B[32m\"https://your-url-goes-here/{filename}\"\x1B[39m\n",
|
||||
"\nBundled \x1B[33m{}\x1B[39m and its dependent files into the following archive in {total_time} ms:\n\n\t\x1B[33m{}\x1B[39m\n\nTo distribute this archive as a package, upload this to some URL and then add it as a dependency with:\n\n\t\x1B[32m\"https://your-url-goes-here/{filename}\"\x1B[39m\n",
|
||||
path.to_string_lossy(),
|
||||
created_path.to_string_lossy()
|
||||
);
|
||||
|
|
|
@ -11,7 +11,7 @@ description = "Functionality for packaging Roc source code - e.g. for distributi
|
|||
roc_parse = { path = "../compiler/parse" }
|
||||
roc_error_macros = { path = "../error_macros" }
|
||||
|
||||
tar = "0.4.38" # used for `roc build --tar` so .rp1 files can hold multiple other files
|
||||
tar = "0.4.38" # used for `roc build --tar`
|
||||
brotli = "3.3.4" # used for decompressing tarballs over HTTPS, if the server supports brotli
|
||||
flate2 = "1.0.24"
|
||||
walkdir = "2.3.2"
|
||||
|
|
|
@ -53,7 +53,7 @@ pub fn build(path_to_main: &Path) -> io::Result<String> {
|
|||
Ok(filename)
|
||||
}
|
||||
|
||||
/// Write an uncompressed rp1 archive to the given writer.
|
||||
/// Write an uncompressed tar archive to the given writer.
|
||||
fn write_archive<W: Write>(path: &Path, writer: W) -> io::Result<()> {
|
||||
let root_dir = if let Some(parent) = path.parent() {
|
||||
parent
|
||||
|
|
|
@ -174,7 +174,7 @@ to use them for more than that.</p>
|
|||
<p>Let's move out of the REPL and create our first Roc application!</p>
|
||||
<p>Make a file named <code>main.roc</code> and put this in it:</p>
|
||||
<samp><span class="kw">app</span> <span class="str">"hello"</span>
|
||||
<span class="kw">packages</span> <span class="brace">{</span> pf: <span class="str">"https://roc-lang.org/basic-cli/1.0.0/oUkxSOI9zFGtSoIaMB40QPdrXphr1p1780eiui2iO9Mz.rp1"</span> <span class="brace">}</span>
|
||||
<span class="kw">packages</span> <span class="brace">{</span> pf: <span class="str">"https://roc-lang.org/basic-cli/1.0.0/oUkxSOI9zFGtSoIaMB40QPdrXphr1p1780eiui2iO9Mz.tar"</span> <span class="brace">}</span>
|
||||
<span class="kw">imports</span> <span class="brace">[</span>pf.Stdout<span class="brace">]</span>
|
||||
<span class="kw">provides</span> <span class="brace">[</span>main<span class="brace">]</span> <span class="kw">to</span> pf
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue