From cfbf5c94c51083b881b063c9946396c120b2428d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexis=20Laferri=C3=A8re?= Date: Tue, 5 Jun 2018 15:17:49 -0400 Subject: [PATCH] posix: move `posix` out of `core` as its own package MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Alexis Laferrière --- lib/core/core.nit | 1 - lib/posix/package.ini | 12 ++++++++++++ lib/{core => posix}/posix.nit | 4 ---- 3 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 lib/posix/package.ini rename lib/{core => posix}/posix.nit (97%) diff --git a/lib/core/core.nit b/lib/core/core.nit index 54f2550..5261077 100644 --- a/lib/core/core.nit +++ b/lib/core/core.nit @@ -15,7 +15,6 @@ # This module is implicitly imported by every module. module core -import posix import environ import time import file diff --git a/lib/posix/package.ini b/lib/posix/package.ini new file mode 100644 index 0000000..79c6ca1 --- /dev/null +++ b/lib/posix/package.ini @@ -0,0 +1,12 @@ +[package] +name=posix +tags=wrapper,lib +maintainer=Alexis Laferrière +license=Apache-2.0 +desc=Services conforming to POSIX +[upstream] +browse=https://github.com/nitlang/nit/tree/master/lib/posix/ +git=https://github.com/nitlang/nit.git +git.directory=lib/posix/ +homepage=http://nitlanguage.org +issues=https://github.com/nitlang/nit/issues diff --git a/lib/core/posix.nit b/lib/posix/posix.nit similarity index 97% rename from lib/core/posix.nit rename to lib/posix/posix.nit index 2969830..03a8a2e 100644 --- a/lib/core/posix.nit +++ b/lib/posix/posix.nit @@ -1,7 +1,5 @@ # This file is part of NIT ( http://www.nitlanguage.org ). # -# Copyright 2013 Alexis Laferrière -# # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -17,8 +15,6 @@ # Services conforming to POSIX module posix -import text - in "C Header" `{ #include #include -- 1.7.9.5