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

janet: Add version 1.13.1 #5334

Closed
wants to merge 9 commits into from
Closed
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions bucket/janet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"version": "1.13.1",
"description": "Lisp-like, embeddable, functional and imperative programming language and bytecode interpreter",
"homepage": "https://janet-lang.org",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://github.com/janet-lang/janet/releases/download/v1.13.1/janet-v1.13.1-windows-x64-installer.msi",
"hash": "ef5d32257594c8ab54aaa52fe8e84bb951a4883bbb6f6848e845759122d33a35"
},
"32bit": {
"url": "https://github.com/janet-lang/janet/releases/download/v1.13.1/janet-v1.13.1-windows-x86-installer.msi",
"hash": "627a0dccef7815fdde735caf3ea2eb3e16f2ec26ac3d0cc365cf8ea67589d5e3"
}
},
"extract_dir": "Janet",
"bin": [
"bin\\janet.exe",
"bin\\jpm.bat"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://janet-lang.org/docs/index.html

If you want to use jpm to install native extensions, you will also need to install Visual Studio, ideally a recent release (2019 or 2017 should work well). Then, running jpm from the x64 Native Tools Command Prompt should work for a 64-bit build, and from the Developer Command Prompt should work for 32-bit builds. Using these specific command prompts for jpm simply lets jpm use the Microsoft compiler to compile native modules on install.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have two (decent) options I guess.

  1. Put a note in notes section about jpm depending on Visual C
  2. Remove jpm.bat shim

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bakpakin What do you suggest?

],
"env_set": {
"JANET_PATH": "$dir\\Library",
},
"persist": "Library",
"checkver": {
"github": "https://github.com/janet-lang/janet"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/janet-lang/janet/releases/download/v$version/janet-v$version-windows-x64-installer.msi"
},
"32bit": {
"url": "https://github.com/janet-lang/janet/releases/download/v$version/janet-v$version-windows-x86-installer.msi"
}
}
}
}