mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 20:28:02 +00:00
cli example removal cleanup
examples/cli was removed in https://github.com/roc-lang/roc/pull/6921
This commit is contained in:
parent
a0de21d7d7
commit
d4cd3cd50b
3 changed files with 7 additions and 7 deletions
|
@ -12,7 +12,7 @@ mkdir -p $1 $1/examples $1/crates/compiler/builtins/bitcode
|
|||
mv target/release-with-lto/{roc,roc_language_server,lib} $1
|
||||
mv LICENSE LEGAL_DETAILS $1
|
||||
|
||||
mv examples/{platform-switching,cli} $1/examples
|
||||
mv examples/{platform-switching} $1/examples
|
||||
|
||||
mv crates/roc_std $1/crates
|
||||
mv crates/compiler/builtins/bitcode/src $1/crates/compiler/builtins/bitcode
|
||||
|
|
|
@ -3728,9 +3728,9 @@ enum ShorthandPath {
|
|||
root_module: PathBuf,
|
||||
},
|
||||
RelativeToSrc {
|
||||
/// e.g. "/home/rtfeldman/my-roc-code/examples/cli/cli-platform/"
|
||||
/// e.g. "/home/username/roc/examples/platform-switching/zig-platform/"
|
||||
root_module_dir: PathBuf,
|
||||
/// e.g. "/home/rtfeldman/my-roc-code/examples/cli/cli-platform/main.roc"
|
||||
/// e.g. "/home/username/roc/examples/platform-switching/zig-platform/main.roc"
|
||||
root_module: PathBuf,
|
||||
},
|
||||
}
|
||||
|
|
|
@ -171,8 +171,8 @@ fn write_archive<W: Write>(path: &Path, writer: W) -> io::Result<()> {
|
|||
builder.append_path_with_name(
|
||||
&path,
|
||||
// Store it without the root path, so that (for example) we don't store
|
||||
// `examples/cli/main.roc` and therefore end up with the root of the tarball
|
||||
// being an `examples/cli/` dir instead of having `main.roc` in the root.
|
||||
// `examples/platform-switching/zig-platform/main.roc` and therefore end up with the root of the tarball
|
||||
// being an `examples/platform-switching/zig-platform/` dir instead of having `main.roc` in the root.
|
||||
path.strip_prefix(root_dir).unwrap(),
|
||||
)?;
|
||||
}
|
||||
|
@ -247,8 +247,8 @@ fn add_source_files<W: Write>(
|
|||
builder.append_path_with_name(
|
||||
path,
|
||||
// Store it without the root path, so that (for example) we don't store
|
||||
// `examples/cli/main.roc` and therefore end up with the root of the tarball
|
||||
// being an `examples/cli/` dir instead of having `main.roc` in the root.
|
||||
// `examples/platform-switching/zig-platform/main.roc` and therefore end up with the root of the tarball
|
||||
// being an `examples/platform-switching/zig-platform/` dir instead of having `main.roc` in the root.
|
||||
path.strip_prefix(root_dir).unwrap(),
|
||||
)?;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue