apio
140910763e
All checks were successful
Build and test / build (push) Successful in 1m56s
Why are command-line utilities stored in "apps"? And why are apps like "editor" or "terminal" top-level directories? Command-line utilities now go in "utils". GUI stuff now goes in "gui". This includes: libui -> gui/libui, wind -> gui/wind, GUI apps -> gui/apps, editor&terminal -> gui/apps... System services go in "system".
20 lines
637 B
Bash
Executable File
20 lines
637 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
source $(dirname $0)/env.sh
|
|
|
|
cd $LUNA_ROOT
|
|
|
|
mkdir -p $LUNA_BASE
|
|
mkdir -p $LUNA_BASE/usr/include
|
|
mkdir -p $LUNA_BASE/usr/include/luna
|
|
mkdir -p $LUNA_BASE/usr/include/ui
|
|
mkdir -p $LUNA_BASE/usr/include/os
|
|
mkdir -p $LUNA_BASE/usr/include/moon
|
|
|
|
cp --preserve=timestamps -RT libc/include/ $LUNA_BASE/usr/include
|
|
cp --preserve=timestamps -RT libluna/include/luna/ $LUNA_BASE/usr/include/luna
|
|
cp --preserve=timestamps -RT gui/libui/include/ui/ $LUNA_BASE/usr/include/ui
|
|
cp --preserve=timestamps -RT libos/include/os/ $LUNA_BASE/usr/include/os
|
|
cp --preserve=timestamps -RT kernel/src/api/ $LUNA_BASE/usr/include/moon
|