Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
com.ccwangluo.accelerator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sheteng
com.ccwangluo.accelerator
Commits
505e40eb
Commit
505e40eb
authored
May 23, 2016
by
Mygod
Committed by
Max Lv
May 23, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Integrate bash scripts into sbt (#692)
parent
a1871f79
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
7 deletions
+13
-7
.travis.yml
.travis.yml
+2
-3
README.md
README.md
+1
-4
build.sbt
build.sbt
+10
-0
launcher.sh
launcher.sh
+0
-0
No files found.
.travis.yml
View file @
505e40eb
...
...
@@ -13,7 +13,7 @@ addons:
-
libncurses5:i386
scala
:
-
2.11.
7
-
2.11.
8
before_cache
:
-
find $HOME/.sbt -name "*.lock" | xargs rm
...
...
@@ -34,5 +34,4 @@ before_install:
-
cp local.properties.travis local.properties
script
:
-
./build.sh > /dev/null
-
sbt android:package-release
-
sbt native-build android:package-release
README.md
View file @
505e40eb
...
...
@@ -26,12 +26,9 @@ A [shadowsocks](http://shadowsocks.org) client for Android, written in Scala.
```
bash
git submodule update
--init
# Build native binaries
./build.sh
# Build the App
sbt clean android:package-release
sbt
native-build
clean android:package-release
```
#### BUILD on Mac OS X (with HomeBrew)
...
...
build.sbt
View file @
505e40eb
...
...
@@ -53,3 +53,13 @@ proguardOptions in Android ++= Seq("-keep class com.github.shadowsocks.** { <ini
"-dontnote com.j256.ormlite.**"
,
"-dontnote org.xbill.**"
,
"-dontwarn org.xbill.**"
)
lazy
val
nativeBuild
=
TaskKey
[
Unit
](
"native-build"
,
"Build native executables"
)
lazy
val
launcher
=
TaskKey
[
Unit
](
"launcher"
,
"Generate launcher icons"
)
nativeBuild
:=
{
"./build.sh"
!
}
launcher
:=
{
"./launcher.sh"
!
}
laucher.sh
→
lau
n
cher.sh
View file @
505e40eb
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment