Add core library to avoid having to explicitly import a bunch of

common libraries
This commit is contained in:
Bruce Hill 2025-04-01 15:34:24 -04:00
parent da4d18e7e8
commit a32c374756
2 changed files with 11 additions and 2 deletions

View File

@ -107,8 +107,8 @@ clean:
examples: examples/base64/base64 examples/ini/ini examples/game/game \
examples/tomodeps/tomodeps examples/tomo-install/tomo-install examples/wrap/wrap examples/colorful/colorful
./build/tomo -qIL examples/patterns examples/time examples/commands examples/shell examples/base64 examples/log \
examples/ini examples/vectors examples/game \
examples/http examples/tomodeps examples/tomo-install examples/wrap examples/pthreads examples/colorful
examples/ini examples/vectors examples/game examples/http examples/tomodeps examples/tomo-install \
examples/wrap examples/pthreads examples/colorful examples/core
./build/tomo examples/learnxiny.tm
deps: check-gcc

9
examples/core/core.tm Normal file
View File

@ -0,0 +1,9 @@
# This file just uses all the most commonly used standard
# library modules so you don't have to import them one-by-one
use patterns
use commands
use shell
use colorful
use log
use pthreads