Skip to main content

Seshat library manager.

Project description

slm - Seshat library manager

slm (seshat library manager) is a tool for managing C/C++ library, inspired by npm.

Usage

To initialize with slm, just type

$ slm init

This command will create library.yml file in current working directory.

library.yml

This file is a library spec file just like package.json file in JavaScript package.

The file format is a valid YAML syntax.

An example of library.yml file.

name: myawfullibrary
description: Description of the library.
version: 1.2.10
license: MIT
scripts:
  configure: ./configure.py
  make: make

Built-in variables

There are some variables send to your build tool when run build scripts.

LIBRARY_NAME

A string exactly name field in library.yml file.

LIBRARY_VERSION

A string exactly version field in library.yml file.

SONAME

lib{LIBRARY_NAME}.so.{MAJOR VERSION}

MAJOR VERSION is the first part of LIBRARY_VERSION which is separated with . character.

e.g. libmyawfullibrary.so.1

SemVer

All slm libraries should follow Semantic Versioning 2.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

slm-0.0.4.tar.gz (3.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page