aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/asdf.sh18
-rw-r--r--docs/info.txt22
-rw-r--r--docs/random-ideas-for-packages.txt1
3 files changed, 40 insertions, 1 deletions
diff --git a/docs/asdf.sh b/docs/asdf.sh
new file mode 100644
index 0000000..4eb9fe8
--- /dev/null
+++ b/docs/asdf.sh
@@ -0,0 +1,18 @@
+#!/bin/bash
+. $FILE
+
+configure
+echo 1 > 3
+build
+echo 2 > 3
+install
+echo 3 > 3
+
+
+mango: done
+autotools: installing
+make: configuring
+swenu: building
+emacs: configuring
+vim: installing
+queued: ghc clang llvm
diff --git a/docs/info.txt b/docs/info.txt
new file mode 100644
index 0000000..1a75a38
--- /dev/null
+++ b/docs/info.txt
@@ -0,0 +1,22 @@
+
+# bash
+ setting BASH_ENV sources it before
+
+execve("/bin/bash", { "/bin/bash", "build.sh", NULL }, { env..., "BASH_ENV=file", NULL});
+
+
+build() {
+}
+package() {
+}
+
+default: /tmp
+
+--noclean:
+check for $snagcache/$packagename/
+if not exist full clean build
+if exist then just run build and install
+
+
+open log file - fd 3
+splice(child stdout, fd 3)
diff --git a/docs/random-ideas-for-packages.txt b/docs/random-ideas-for-packages.txt
index fc83978..2307277 100644
--- a/docs/random-ideas-for-packages.txt
+++ b/docs/random-ideas-for-packages.txt
@@ -11,4 +11,3 @@ Ideas:
- Dynamic linking could be reserved for system packages (probably, maybe it's simpler to just use static linking)
- User apps are packages are directories with resources and local storage, sandbox
- Dynamically linked apps dependencies can be detected by their soname, and be downloaded by the package manager (similar to windows with their libc's)
-