mirror of
https://github.com/engineer-man/piston.git
synced 2025-05-07 20:36:26 +02:00
pkg(common): add tar.xz helper
This commit is contained in:
parent
fb8ce57b60
commit
bc0b9741cf
1 changed files with 2 additions and 0 deletions
|
@ -62,6 +62,8 @@ ${INFO_FILE}:
|
|||
# Helpers
|
||||
%/: %.tar.gz
|
||||
cd ${BUILD_DIR} && tar xzf $(patsubst ${BUILD_DIR}%,%,$<)
|
||||
%/: %.tar.xz
|
||||
cd ${BUILD_DIR} && tar xf $(patsubst ${BUILD_DIR}%,%,$<)
|
||||
|
||||
%.json: %.jq
|
||||
jq '$(shell tr '\n' '|' < $<).' <<< "{}" > $@
|
Loading…
Add table
Add a link
Reference in a new issue