Skip to content

Commit

Permalink
install and install-examples targets are added
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Kraynyukhov committed Apr 14, 2018
1 parent 2e48cb6 commit 28bdb53
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,15 @@ build-tests: .build-tests-post
.build-tests-post: .build-tests-impl
# Add your post 'build-tests' code here...


install: build
mkdir -p /opt/lapps/{bin,conf,ssl,lib,apps}
install -m 0755 ${CND_ARTIFACT_PATH_${CONF}} /opt/lapps/bin

install-examples: install
mkdir -p /opt/lapps/apps/echo/ssl/
install -m 0644 ${CND_BASEDIR}/examples/echo/ssl/* /opt/lapps/apps/echo/ssl/
install -m 0644 ${CND_BASEDIR}/examples/echo/echo.lua /opt/lapps/apps/echo/

# run tests
test: .test-post

Expand Down

0 comments on commit 28bdb53

Please # to comment.