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

feat: refactor script and add perl as an interpreter #1229

Merged
merged 2 commits into from
Nov 30, 2024
Merged

Conversation

wolfv
Copy link
Member

@wolfv wolfv commented Nov 30, 2024

This adds perl as an interpreter, and I verified that the following "works":

package:
  name: test-perl-exec
  version: "0.1.0"

build:
  script:
    interpreter: perl
    content: |
      use strict;
      use warnings;
      use Config;

      print "Hello World!\n";
      print "Perl prefix: $Config{prefix}\n";

requirements:
  build:
    - perl

We can add support for R, nodejs, and a number of other languages in the same way.

cc @danielnachun

@wolfv
Copy link
Member Author

wolfv commented Nov 30, 2024

This should also help with writing tests for perl (#790)

@wolfv wolfv mentioned this pull request Nov 30, 2024
@wolfv wolfv merged commit 4265e0e into prefix-dev:main Nov 30, 2024
15 checks passed
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

Successfully merging this pull request may close these issues.

1 participant