Skip to content

Commit

Permalink
QDK_VERSION=2.3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
rednoah committed May 8, 2021
1 parent 960b521 commit 4326de8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
include *.conf


build:
docker build -t docker-qdk .

Expand All @@ -8,10 +11,16 @@ extract:
docker run -v $(PWD)/qpkg:/src --rm docker-qdk --extract '*.qpkg'

example: build
rm -rvf example
rm -rv example
docker run -v $(PWD):/src --rm docker-qdk --create-env example
docker run -v $(PWD)/example:/src --rm docker-qdk .

pull:
curl -o QDK.tar.gz -L "https://github.com/qnap-dev/QDK/archive/refs/tags/v${QDK_VERSION}.tar.gz"
rm -rv QDK/*
tar -xvf QDK.tar.gz -C QDK --strip-components=1
rm -v QDK.tar.gz

clean:
git reset --hard
git pull
Expand Down
2 changes: 1 addition & 1 deletion qdk.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
QDK_VERSION=2.3.10
QDK_VERSION=2.3.11
QDK_PATH_P=/usr/local/QDK
QDK_PATH="${QDK_PATH_P}/shared"

0 comments on commit 4326de8

Please sign in to comment.