Skip to content

Commit

Permalink
build(meta): move internal scripts to the meta/ directory
Browse files Browse the repository at this point in the history
  • Loading branch information
gibfahn committed Jan 28, 2022
1 parent a08c443 commit 809e02d
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ The easiest way to build is with docker.
Run this script to build and test locally.

```bash
bin/cargo-docker
meta/cargo-docker
```

#### Cross-Compiled Linux Build
Expand Down
2 changes: 1 addition & 1 deletion docs/RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The Release process is still somewhat manual, and only works on macOS for now.

1. Ensure all changes are pushed, check that CI on the latest commit was green.
You can also check this badge: ![Master CI Status](https://github.com/gibfahn/up-rs/workflows/Rust/badge.svg)
2. Run the [bin/release.sh][] script.
2. Run the [meta/release.sh][] script.
3. Go to the [GitHub Releases][] page and check everything is working properly.

[CHANGELOG.md]: /CHANGELOG.md
Expand Down
2 changes: 1 addition & 1 deletion bin/bootstrap-test → meta/bootstrap-test
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ cd $project_dir

set -x

bin/cargo-docker build --release
meta/cargo-docker build --release

docker run -it --rm -w /root \
-v "$PWD"/target/x86_64-unknown-linux-musl/release/up:/usr/local/bin/up \
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions bin/release → meta/release
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,14 @@ main() {
# Check the documentation is buildable.
log_and_run cargo doc
# Tests musl static Linux binaries.
log_and_run bin/cargo-docker
log_and_run meta/cargo-docker
# Runs end-to-end bootstrap tests.
log_and_run bin/bootstrap-test
log_and_run meta/bootstrap-test

# Build Darwin release binaries (without the CI feature).
log_and_run cargo build --release
# Builds musl static Linux release binaries.
log_and_run bin/cargo-docker build --release
log_and_run meta/cargo-docker build --release

latest_crate_version=$(curl https://crates.io/api/v1/crates/up-rs | jq -r .crate.newest_version)
if [[ $latest_crate_version == $new_version ]]; then
Expand Down

0 comments on commit 809e02d

Please sign in to comment.