Skip to content

Commit 1138727

Browse files
committed
Updated building scripts execution
1 parent 6b4f2f0 commit 1138727

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/build-aloha-editor.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ run_command() {
3434
echo
3535
}
3636

37-
run_command "Installing dependencies..." "npm install -SD --no-fund --no-audit"
37+
run_command "Installing dependencies..." "npm install --no-fund --no-audit"
3838
run_command "Performing linting..." "npx eslint src/lib"
39-
run_command "Building Aloha-Editor $BUILD_PROFILE..." "npx r.js -o 'build/aloha/$BUILD_PROFILE.js'"
39+
run_command "Building Aloha-Editor $BUILD_PROFILE..." "./node_modules/.bin/r_js -o 'build/aloha/$BUILD_PROFILE.js'"
4040

4141
run_command "Building Aloha-Editor $BUILD_PROFILE (full)..." "cat build/aloha/license-header.frag target/$BUILD_PROFILE/lib/require.js target/$BUILD_PROFILE/lib/vendor/jquery-3.7.0.js target/$BUILD_PROFILE/lib/aloha.js > target/$BUILD_PROFILE/lib/aloha-full.js"
4242
run_command "Building Aloha-Editor $BUILD_PROFILE (full; minified)..." "npx uglifyjs target/$BUILD_PROFILE/lib/require.js target/$BUILD_PROFILE/lib/vendor/jquery-3.7.0.js target/$BUILD_PROFILE/lib/aloha.js --compress --mangle --source-map --output 'target/$BUILD_PROFILE/lib/aloha-full.min.js'"

0 commit comments

Comments
 (0)