Skip to content

Commit

Permalink
fix cargo package
Browse files Browse the repository at this point in the history
  • Loading branch information
d3v-null committed Nov 13, 2024
1 parent 9cf580e commit c0f2186
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Install Cargo Make
uses: davidB/rust-cargo-make@v1

- name: Install Birli Dependencies
- name: Install Dependencies
run: |
cargo make install_deps
Expand Down
8 changes: 1 addition & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ cc = { version = "1.0.99", features = ["parallel"] }
cxx-build = "~1.0.87"

# unicode-width 0.1.14 uses library feature 'mixed_integer_ops', unstable in 1.63
unicode-width = { git = "https://github.com/unicode-rs/unicode-width", tag = "v0.1.11" }
# unicode-width = { git = "https://github.com/unicode-rs/unicode-width", tag = "v0.1.11" }
7 changes: 7 additions & 0 deletions Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,14 @@ dependencies = ["linux_apt_get_essentials"]

[tasks.linux_install_aoflagger]
script = """
# set sudo command if user is not root
[ $(id -u) != 0 ] && export SUDO="sudo" || export SUDO=""
# if ubuntu > 21.04, install through apt
$(source /etc/os-release && dpkg --compare-versions "$VERSION_ID" gt "21.04" &> /dev/null) \
&& $SUDO apt-get install -y aoflagger-dev \
&& exit 0
$SUDO apt-get install -y \
casacore-data \
casacore-dev \
Expand Down
2 changes: 1 addition & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@

# Version 0.1.0 (2021-08-31)

- First release!
- First release!

0 comments on commit c0f2186

Please sign in to comment.