Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pinstbuild parser #7

Open
ThePerkinrex opened this issue Sep 30, 2018 · 0 comments
Open

Add pinstbuild parser #7

ThePerkinrex opened this issue Sep 30, 2018 · 0 comments
Labels
doing enhancement New feature or request
Milestone

Comments

@ThePerkinrex
Copy link
Owner

ThePerkinrex commented Sep 30, 2018

Add a pinstbuild parser, which is like a makefile, but made for pinst
it will have the following actions

  • mv <oldpath> <newpath>
  • rm <path>
  • run <command>
  • download <url> <path>
  • unpack <path>
  • varname="vartextvalue"

And it will have multiple configurations:

  • (default): run on all systems
  • windows: run on windows
  • unix: run on unix-like systems
  • linux: run on linux
  • osx: run on osx

and architecture dependent configs

  • windows-arch
  • linux-arch
    where arch can be:
  • x86
  • x86_64
  • mips
  • powerpc
  • powerpc64
  • arm
  • aarch64

or the target triple as a config

  • machine-vendor-operatingsystem

Example

version="v2.0.0"
download "https://commmon.download" "common.zip"
windows{
      download "https://windows$[version].download" "windows.zip"
      unpack "windows.zip"
}
unix{
      download "https://unix.download$[version]" "unix.tar"
      unpack "unix.tar"
}
@ThePerkinrex ThePerkinrex added the enhancement New feature or request label Sep 30, 2018
@ThePerkinrex ThePerkinrex added this to the 0.4.0-alpha milestone Sep 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doing enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant