Skip to content

Commit

Permalink
Move common parts out from this project
Browse files Browse the repository at this point in the history
  • Loading branch information
Marek Skalický committed May 12, 2017
1 parent b46d24b commit c9dc22a
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 128 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "common"]
path = common
url = https://github.com/sclorg/container-common-scripts.git
9 changes: 6 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Variables are documented in hack/build.sh.
# Variables are documented in common/build.sh.
BASE_IMAGE_NAME = nginx
VERSIONS = 1.6 1.8
OPENSHIFT_NAMESPACES =

# Include common Makefile code.
include hack/common.mk
# HACK: Ensure that 'git pull' for old clones doesn't cause confusion.
# New clones should use '--recursive'.
.PHONY: $(shell test -f common/common.mk || echo >&2 'Please do "git submodule update --init" first.')

include common/common.mk
1 change: 1 addition & 0 deletions common
Submodule common added at 6be437
99 changes: 0 additions & 99 deletions hack/build.sh

This file was deleted.

26 changes: 0 additions & 26 deletions hack/common.mk

This file was deleted.

0 comments on commit c9dc22a

Please sign in to comment.