Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Directories in packageMapping #6 #107

Merged
merged 3 commits into from
Dec 19, 2013
Merged

Directories in packageMapping #6 #107

merged 3 commits into from
Dec 19, 2013

Conversation

muuki88
Copy link
Contributor

@muuki88 muuki88 commented Dec 15, 2013

As describe in #6 (Directories in packageMapping) I implemented the API, which can be used:

linuxPackageMappings += packageMapping(
   (target.value / "universal") -> "/opt/universal"
) withContents()

linuxPackageMappings <+= target map { target => 
  val src = target / "universal"
  val dest = "/opt/universal"
  packageDirectoryAndContentsMapping(src -> dest)
}

@@ -53,29 +54,29 @@ object LinuxSymlink {
}
// TODO - Does this belong here?
def makeSymLinks(symlinks: Seq[LinuxSymlink], pkgDir: File, relativeLinks: Boolean = true): Unit = {
for(link <- symlinks) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry. This is just formatting -.-

@jsuereth
Copy link
Member

This looks great! One question and then I'd love to merge this.

@jsuereth
Copy link
Member

Thanks!

jsuereth added a commit that referenced this pull request Dec 19, 2013
@jsuereth jsuereth merged commit 4a457cf into sbt:master Dec 19, 2013
@muuki88 muuki88 deleted the wip_directory_mapping branch December 19, 2013 18:33
@muuki88 muuki88 mentioned this pull request Dec 20, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants