Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add build.cwd option #46

Closed
4513ECHO opened this issue May 8, 2022 · 1 comment
Closed

Add build.cwd option #46

4513ECHO opened this issue May 8, 2022 · 1 comment

Comments

@4513ECHO
Copy link

4513ECHO commented May 8, 2022

WHAT

(Write what you need)

How about add build.cwd option to change cwd during building?

- name: nkf
  description: Netword Kanji Filter
  url: https://free.nchc.org.tw/osdn//nkf/70406/nkf-2.1.5.tar.gz
  command:
    build:
      cwd: nkf-2.1.5
      steps:
        - make
        - make install prefix=~/.local
    link:
      - from: nkf

WHY

(Write the background of this issue)

Sometimes build.steps requires changing cwd, but cd command is not working.

- name: nkf
  description: Netword Kanji Filter
  url: https://free.nchc.org.tw/osdn//nkf/70406/nkf-2.1.5.tar.gz
  command:
    build:
      steps:
        - cd nkf-2.1.5 # not working
        - make
        - make install prefix=~/.local
    link:
      - from: nkf
@babarot
Copy link
Owner

babarot commented May 28, 2022

Thank you for the suggestion. I added build.directory param in new version. Please try it out.

@babarot babarot closed this as completed May 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants