aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin/janet-pm
diff options
context:
space:
mode:
Diffstat (limited to 'bin/janet-pm')
-rwxr-xr-xbin/janet-pm13
1 files changed, 13 insertions, 0 deletions
diff --git a/bin/janet-pm b/bin/janet-pm
index 2f66430..5106f46 100755
--- a/bin/janet-pm
+++ b/bin/janet-pm
@@ -52,6 +52,11 @@
Create an environment with which one can install Janet
dependencies and scripts in an isolated manner.
+ full-env name
+ Similar to `env name`, but also copies a snapshot of the Janet
+ interpreter, headers, pkgconfig, and shared objects. Useful when
+ using multiple Janet versions.
+
new-project name
Create a new Janet project in a directory `name`.
@@ -121,6 +126,7 @@
JANET_BUILD_TYPE
What kind of build to make when building a bundle that has a
project.janet. Should be "develop", "release", or "debug".
+ Defaults to "release".
JANET_CURL
Where to get the "curl" command when handling project.janet.
@@ -269,6 +275,12 @@
[path]
(pm/scaffold-pm-shell path))
+(defn new-full-venv
+ "Create a new virtual environment, capturing snapshots of the janet interpreter and shared libraries as well."
+ [path]
+ (pm/scaffold-pm-shell path)
+ (pm/vendor-binaries-pm-shell path))
+
(defn quickbin
"Create an executable file"
[entry output]
@@ -297,6 +309,7 @@
"deps" deps
"hook" do-hook
"env" new-venv
+ "full-env" new-full-venv
"new-project" new-project
"new-simple-project" new-simple-project
"new-c-project" new-c-project