JSPM

  • Created
  • Published
  • Downloads 155
  • Score
    100M100P100Q80308F
  • License MIT

cross platform gnu make

Package Exports

  • gnumake

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gnumake) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

gnumake

GitHub stars

cross platform gnu make

Please ★ this repo if you found it useful ★ ★ ★

Features

  • supports windows
  • supports osx
  • supports linux

Installation

npm install -g gnumake

Dependencies

Usage

  1. Create a Makefile

Makefile

PLATFORM := $(shell node -e "process.stdout.write(process.platform)")
ifeq ($(PLATFORM), win32)
  SHELL = cmd
endif
.EXPORT_ALL_VARIABLES:

.PHONY: build
build: lib
lib:
    -@rm -rf lib || true
    @babel src -d lib
  1. Reference Makefile from npm scripts

package.json

  "scripts": {
    "build": "make -s build"
  }

Support

Submit an issue

Screenshots

Contribute a screenshot

Contributing

Review the guidelines for contributing

License

MIT License

Jam Risser © 2020

Changelog

Review the changelog

Credits

Support on Liberapay

A ridiculous amount of coffee ☕ ☕ ☕ was consumed in the process of building this project.

Add some fuel if you'd like to keep me going!

Liberapay receiving Liberapay patrons