Skip to content
This repository has been archived by the owner on Sep 28, 2023. It is now read-only.

GMake2 Roadmap #5

Open
3JoB opened this issue Feb 16, 2023 · 7 comments
Open

GMake2 Roadmap #5

3JoB opened this issue Feb 16, 2023 · 7 comments
Assignees
Labels
enhancement New feature or request

Comments

@3JoB
Copy link
Owner

3JoB commented Feb 16, 2023

v2.5.0: Support adding --tag parameter assignment after the command line. Example

v2.6.0: Support command line to execute multiple command groups at the same time (executed in sequence). Example

v2.7.0: Support using @import keyword to import GMakefile. Example

v2.8.0: Support deb, rpm packaging.

The roadmap is subject to change at any time.

@3JoB 3JoB added the enhancement New feature or request label Feb 16, 2023
@3JoB 3JoB self-assigned this Feb 16, 2023
@3JoB 3JoB pinned this issue Feb 16, 2023
Repository owner locked as off-topic and limited conversation to collaborators Feb 16, 2023
@3JoB 3JoB unpinned this issue Feb 16, 2023
@3JoB 3JoB pinned this issue Feb 16, 2023
@3JoB
Copy link
Owner Author

3JoB commented Feb 17, 2023

Tag Example

CMD

gmake2 --tags="golang=1.20,pwd=14bh2 32v"

GMakefile

all: |
  @echo {{.golang}}
  @echo {{.pwd}}

output

1.20
14bh2 32v

Since it is a variable, it can also be used for other purposes, such as assigning a value when compiling a golang program.

@3JoB
Copy link
Owner Author

3JoB commented Feb 17, 2023

@import Example

GMakefile.yml

var:
  message: GMake2!!!

all: |
  @import Droot
  @run Droot.my_name
  @echo {{.Droot.date}}

Droot.yml

var: 
  date: 1936

my_name: |
  @echo My name is GMake2
  @echo {{.main.message}}

Only GMakefile files with suffix yml are allowed to be imported.

Spaces are common to each GMakefile.

The namespace of the main GMakefile defaults to main, and the namespace of the sub-GMakefile cannot contain variables or command groups that already exist in the main namespace (such as main)

@3JoB
Copy link
Owner Author

3JoB commented Feb 17, 2023

@import Example

GMakefile.yml

var:
  message: GMake2!!!

all: |
  @import Droot
  @run Droot.my_name
  @echo {{.Droot.date}}

Droot.yml

var: 
  date: 1936

my_name: |
  @echo My name is GMake2
  @echo {{.main.message}}

Only GMakefile files with suffix yml are allowed to be imported.

Spaces are common to each GMakefile.

The namespace of the main GMakefile defaults to main, and the namespace of the sub-GMakefile cannot contain variables or command groups that already exist in the main namespace (such as main)

@import can import GMakefiles from other directories.

all: |
  @import test/dists
  @import ../dust
  @import /tmp/gmake_light

All of the above are fine

@3JoB
Copy link
Owner Author

3JoB commented Feb 23, 2023

Execute multiple command groups simultaneously

CLI

gmake2 main example free

Repository owner unlocked this conversation Feb 24, 2023
@3JoB
Copy link
Owner Author

3JoB commented Feb 24, 2023

Work on v2.5.0 has begun

@3JoB
Copy link
Owner Author

3JoB commented Feb 26, 2023

v2.5.0 has been completed, the relevant functions have been tested, and it will be released soon.

@AndrewLaganaro
Copy link

v2.5.0 has already been launched?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants