GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: The Nu programming language.
Homepage: http://programming.nu
Clone URL: git://github.com/timburks/nu.git
Added nuke task to build installer packages: "nuke installer".
timburks (author)
Wed Sep 26 23:06:53 -0700 2007
commit  73565290b91d6355be62f88e143f191b2cc04777
tree    9c96a274513134edcc06e76aab467d1dfff06cfe
parent  8e46f57e0c9280852f6fbc6da5487c2863868c1f
...
101
102
103
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
104
...
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
0
@@ -101,3 +101,20 @@
0
       (SH "mkdir dmg; cp -Rp '#{@framework}.framework' dmg")
0
       (SH "hdiutil create -srcdir dmg '#{@framework}.dmg' -volname '#{@framework}'")
0
       (SH "rm -rf dmg"))
0
+
0
+(task "installer" => "framework" is
0
+ (SH "sudo rm -rf package dmg Nu.dmg")
0
+ (SH "mkdir -p package/Library/Frameworks")
0
+ (SH "mkdir -p package/usr/local/bin")
0
+ (SH "mkdir -p package/usr/local/share")
0
+ (SH "cp -pRfv #{@framework}.framework package/Library/Frameworks/#{@framework}.framework")
0
+ (SH "cp -pRfv share/nu package/usr/local/share")
0
+ (SH "cp -pRfv examples package/usr/local/share/nu")
0
+ (SH "cp nush package/usr/local/bin")
0
+ (SH "cp tools/* package/usr/local/bin")
0
+ (SH "sudo chown -R root package")
0
+ (SH "sudo chgrp -R admin package")
0
+ (SH "/Developer/Tools/packagemaker -build -f package -p Nu.pkg -d pkg/Description.plist -i pkg/Info.plist")
0
+ (SH "mkdir dmg; mv Nu.pkg dmg")
0
+ (SH "hdiutil create -srcdir dmg Nu.dmg -volname Nu")
0
+ (SH "sudo rm -rf dmg package"))
0
\ No newline at end of file

Comments

    No one has commented yet.