Skip to main content

A new make script for builds.

Project description

Neomake

基于Python的底层构建系统。

示例

项目目录:

.
├── lib.c
├── main.c
└── nmake.py

nmake.py

#!/usr/bin/python -B
from neomake import *


def make_main(target, deplist):
    C(deplist, target)

main = Target('main', ['lib.c', 'main.c'], make_main)


start_neomake()

if 'build' in sys.argv:
    main.make()

elif 'clear' in sys.argv:
    main.clear()

end_neomake()

构建项目:

$ ./nmake.py build
gcc lib.c main.c --> main

清理生成的额外文件:

$ ./nmake.py clear
removing main

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

neomake-0.0.3.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

neomake-0.0.3-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file neomake-0.0.3.tar.gz.

File metadata

  • Download URL: neomake-0.0.3.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for neomake-0.0.3.tar.gz
Algorithm Hash digest
SHA256 5346c0f0eca3753bc78ac132814cc3f5f80075f6b32844306f96184b7d91e4b8
MD5 2ad239ef7728901fd5a68c259f439587
BLAKE2b-256 9b7e75483e52a20d925ce65d5f4cd4bb924459a72048ba83f47ecc85ae037c37

See more details on using hashes here.

File details

Details for the file neomake-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: neomake-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for neomake-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 700c0f01243ca02b1d52fcbe5a51fa601dbc0a053fd2cfb1884f803d9f9dfdf5
MD5 4809e147962fb2ca1a57c56f7df99427
BLAKE2b-256 35b666fa512624077196963d4e41e094b58c91172c13435d12e9e4837ec1829e

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