Skip to content

Commit

Permalink
build: remove the Makefile in favor of the Taskfile.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
eitsupi committed Jan 3, 2024
1 parent 3bf4f94 commit c45f8f8
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 110 deletions.
8 changes: 7 additions & 1 deletion .github/actions/setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,17 @@ runs:
run: |
rustup update
- name: Install Task
uses: arduino/setup-task@v1
with:
version: 3.x
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Rust nightly toolchain
if: inputs.rust-nightly == 'true' || env.RPOLARS_FULL_FEATURES == 'true'
shell: bash
run: |
make requirements-rs
task setup-rust-toolchain
- name: Set up Rust target
if: inputs.target != ''
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,11 @@ jobs:

- name: Get requirements
run: |
make requirements-r
make requirements-py
task setup-r-tools
task setup-python-tools
- name: Build docs
run: make docs
shell: bash
run: task build-website

- uses: webfactory/ssh-agent@v0.8.0
env:
Expand Down
6 changes: 4 additions & 2 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ install some tools outside of R.
- macOS: Make sure [Xcode](https://developer.apple.com/support/xcode/)
is installed.
- Install [CMake](https://cmake.org/) and add it to your PATH.
- If generate the website locally, please
install [Quarto CLI](https://quarto.org/) and add it to your PATH.

Note that the `Makefile` in the root directory of the repository provides some
useful commands (e.g. `make requirements` to install the required version of
Note that the `Taskfile.yml` in the root directory of the repository provides some
useful commands (e.g. `task setup-dev` to install the required version of
Rust toolchain and dependent R packages).

About Rust code for R packages, see also
Expand Down
101 changes: 0 additions & 101 deletions Makefile

This file was deleted.

2 changes: 0 additions & 2 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ tasks:
- setup-python-tools

setup-r-tools:
internal: true
env:
PKG_SYSREQS: FALSE
desc: Install R packages for development.
Expand Down Expand Up @@ -74,7 +73,6 @@ tasks:
- python3 -m venv {{.VENV_DIR}}

setup-python-tools:
internal: true
desc: Install Python tools for development.
deps:
- setup-venv
Expand Down

0 comments on commit c45f8f8

Please sign in to comment.