From 0f0fb2256a46a8808794d7d4746d112278da3730 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 10 Jan 2019 16:33:37 -0800 Subject: Major overhaul of how modules and environments work, along with some steamlining and tweaks to the makefile. Version bump: 6.14.13.8 --- lib/os.nom | 9 --------- 1 file changed, 9 deletions(-) (limited to 'lib/os.nom') diff --git a/lib/os.nom b/lib/os.nom index 916f18c..87b3426 100644 --- a/lib/os.nom +++ b/lib/os.nom @@ -2,21 +2,12 @@ # This file defines some actions that interact with the operating system and filesystem. -test: - assume (nomsu files for "core") - externally (files for $path) means: $files = (=lua "Files.list(\$path)") if $files: $files = (List $files) return $files -externally (nomsu files for $path) means: - for $nomsupath in ($package.nomsupath, all matches of "[^;]+"): - $files = (files for "\($nomsupath)/\$path") - if $files: - return $files - externally (=sh $cmd) means: lua> (" local result = io.popen(\$cmd) -- cgit v1.2.3