Skip to content

Commit

Permalink
More target updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
oubiwann committed Nov 21, 2022
1 parent 92e816d commit cefb49a
Showing 1 changed file with 23 additions and 16 deletions.
39 changes: 23 additions & 16 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,18 @@ help:
@echo "the general-purpose update target)."
@echo

init: \
init-go \
init-lisp

push: \
push-go \
push-lisp

pull: \
pull-go \
pull-lisp

#############################################################################
### Erlang Targets ######################################################
#############################################################################
Expand Down Expand Up @@ -75,7 +87,7 @@ init-go: $(GO_BASE)
-@git subtree add \
--prefix $(GO_DIR) \
$(GO_REPO) \
master \
main \
--squash

pull-go:
Expand Down Expand Up @@ -114,18 +126,25 @@ init-lisp:
-@git subtree add \
--prefix $(CL_DIR) \
$(CL_REPO) \
master \
main \
--squash

update-lisp:
pull-lisp:
@echo ">> Updating Common Lisp examples ..."
@git subtree pull \
--m "Updated latest from Lisp $(CL_DIR)." \
--prefix $(CL_DIR) \
$(CL_REPO) \
master \
main \
--squash

push-lisp:
@echo ">> Updating Common Lisp examples ..."
@git subtree push \
--prefix $(CL_DIR) \
$(CL_REPO) \
main

build-cl: | $(CL_DIR)
@echo ">> Building Common Lisp examples ..."
@cd $(CL_DIR) && $(MAKE)
Expand All @@ -137,15 +156,3 @@ quicklisp-link:
@echo ">> Linking Common Lisp examples to local Quicklisp ..."
@cd apps/ports/priv/cl-port-examples/
@ln -s `pwd` ~/quicklisp/local-projects/

#############################################################################
### All Languages #######################################################
#############################################################################

init: \
init-go \
init-lisp

update: \
update-go \
update-lisp

0 comments on commit cefb49a

Please sign in to comment.