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 details)

Uploaded Source

File details

Details for the file slm-0.0.4.tar.gz.

File metadata

  • Download URL: slm-0.0.4.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.7.1

File hashes

Hashes for slm-0.0.4.tar.gz
Algorithm Hash digest
SHA256 ad2bd7503c0f85ebce49067786d8d8be90aff4c64062e083064d49d1af26487c
MD5 852ef2352b535f6dccf6485563f58fd9
BLAKE2b-256 fda1714308a2d6d214477eb96a47f59ecccd8ba69262f1fb313f7ab395a3914d

See more details on using hashes here.

Supported by

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