Skip to content

Commit 4f9ebfc

Browse files
committed
updates to dist process
1 parent 6bded39 commit 4f9ebfc

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

dist/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,9 @@ When doing a release, do the following:
4747
* Update the requirejs-nuget directory (DO ON WINDOWS)
4848
* Update the require.js and r.js versions in content/Scripts using `volo add -nostamp -f`
4949
* Update Package.nuspec to rev version number.
50-
* NuGet.exe Pack Package.nuspec
51-
* NuGet.exe Push RequireJS.0.0.0.nupkg
50+
* .\nuget.exe pack Package.nuspec
51+
* .\nuget.exe push RequireJS.0.0.0.nupkg API_KEY -Source https://www.nuget.org/api/v2/package
52+
* Update alameada, alameda-prim if appropriate
5253

5354
Now pull down the tagged version to do a distribution, do this in git/ directory:
5455

dist/dist-build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ cp $myDir/../require.js $version/comments/require.js
3333

3434
# Minify any of the browser-based JS files
3535
cd $version/comments
36-
java -jar ../../../r.js/lib/closure/compiler.jar --js require.js --js_output_file ../minified/require.js
36+
37+
uglifyjs require.js -mc --comments -o ../minified/require.js
3738

3839
cd ../../../

0 commit comments

Comments
 (0)