Skip to content

Commit

Permalink
Release packaging automation
Browse files Browse the repository at this point in the history
  • Loading branch information
kishorereddy committed Mar 16, 2017
1 parent 50ebb38 commit 2996b9d
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 8 deletions.
37 changes: 33 additions & 4 deletions build/slatekit-package.bat
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,39 @@ xcopy %SLATE_SOURCE%\src\lib\scala\Slate.Shell\src\main\resources


REM ===============================================
REM copy the license files to releases\{version}\licenses
xcopy %SLATE_SOURCE%\licenses %SLATE_DEST%\licenses\ /s /e /h /y
REM copy the script files to run the sample apps to releases\{version}\
xcopy %SLATE_SOURCE%\scripts\samples %SLATE_DEST%\ /s /e /h /y


REM ===============================================
REM copy the script files to run the sample apps to releases\{version}\
xcopy %SLATE_SOURCE%\scripts\samples %SLATE_DEST%\ /s /e /h /y
REM copy the sample apps to releases\{version}\samples
del %SLATE_SOURCE%\src\apps\scala\Slate.SampleApp\*.jar /f /s /q
del %SLATE_SOURCE%\src\apps\scala\Slate.SampleApp\*.class /f /s /q
xcopy %SLATE_SOURCE%\src\apps\scala\Slate.SampleApp %SLATE_DEST%\samples\ /s /e /h /y
rd %SLATE_DEST%\samples\SampleApp.Batch\.idea /S /Q
rd %SLATE_DEST%\samples\SampleApp.Batch\lib /S /Q
rd %SLATE_DEST%\samples\SampleApp.Batch\project /S /Q
rd %SLATE_DEST%\samples\SampleApp.Batch\target /S /Q

rd %SLATE_DEST%\samples\SampleApp.CLI\.idea /S /Q
rd %SLATE_DEST%\samples\SampleApp.CLI\lib /S /Q
rd %SLATE_DEST%\samples\SampleApp.CLI\project /S /Q
rd %SLATE_DEST%\samples\SampleApp.CLI\target /S /Q

rd %SLATE_DEST%\samples\SampleApp.Core\.idea /S /Q
rd %SLATE_DEST%\samples\SampleApp.Core\lib /S /Q
rd %SLATE_DEST%\samples\SampleApp.Core\project /S /Q
rd %SLATE_DEST%\samples\SampleApp.Core\target /S /Q

rd %SLATE_DEST%\samples\SampleApp.Server\.idea /S /Q
rd %SLATE_DEST%\samples\SampleApp.Server\lib /S /Q
rd %SLATE_DEST%\samples\SampleApp.Server\project /S /Q
rd %SLATE_DEST%\samples\SampleApp.Server\target /S /Q


REM ===============================================
REM copy the license files to releases\{version}\licenses
xcopy %SLATE_SOURCE%\licenses %SLATE_DEST%\licenses\ /s /e /h /y
copy %SLATE_SOURCE%\doc\LICENSE.txt %SLATE_DEST%\LICENSE.txt
copy %SLATE_SOURCE%\doc\README.txt %SLATE_DEST%\README.txt

8 changes: 4 additions & 4 deletions doc/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
@author : Kishore Reddy
@website: www.slatekit.com
@date : Mar 10, 2016
@release: 1.4.0
@build : 1.4.0.2
@release: 1.4.1
@build : 1.4.1.2
----------------------------------------------------------------------------------------



----------------------------------------------------------------------------------------
SLATE KIT
----------------------------------------------------------------------------------------
This is Slate Kit 1.4.0
This is Slate Kit 1.4.1
Slate Kit is a tool kit, utility library and server backend for mobile and web apps.
It is written in Scala and uses Akka-Http for the Server.

Expand Down Expand Up @@ -128,7 +128,7 @@ Info : SUMMARY :
Info : ===============================================================
Info : name = Sample App - Console
Info : desc = Sample console application to show the Slate Kit base app
Info : version = 1.4.0
Info : version = 1.4.1
Info : tags = slate,shell,cli
Info : group = Samples
Info : region = ny
Expand Down

0 comments on commit 2996b9d

Please sign in to comment.