Coder Social home page Coder Social logo

jeremija / buildfile Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 0.0 725 KB

Cross-platform build task executor for Node projects with a syntax similar to Makefile

Ruby 0.53% JavaScript 0.58% TypeScript 98.89%
build buildfile cli command commandline makefile npm npm-scripts parallel run

buildfile's People

Contributors

jeremija avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

buildfile's Issues

can't set environment variables from stdout of a command

version := ${$(git rev-parse --short HEAD):develop}

docker.build:
  
  # pull the cached layers 
  docker pull ${repo}:builder || true

  # rebuild it. if nothing in these layers
  # have changes, this should be very fast.
  docker build \
  --cache-from ${repo}:builder \
  --file ./tools/docker/app/Dockerfile \
  --tag ${repo}:builder \
  --target install \
  .

  # # pull the latest image
  docker pull ${repo}:latest || true

  # rebuild it using cache layers from:
  # - builder
  # - latest
  docker build \
  --build-arg COMMIT=${version} \
  --cache-from ${repo}:builder \
  --cache-from ${repo}:latest \
  --file ./tools/docker/app/Dockerfile \
  --tag ${repo} \
  --target prod \
  .

Investigation: execute with parro-it/px

Was previously using tusk, found your project... looks very well crafted.

I've not looked closely enough at your execution strategy, but one query I have is what was your dream/vision for supporting windows/mac/linux etc?

I make this ticket in the hopes that some investigation/discussion can occur around a good fit with your vision and the needs of the real world, (hopefuly they align).

my first suggestion would be to investigate using https://github.com/parro-it/px to execute a tasks command so that &&, ||, ;, & all work regardless of the platform.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.