We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
rename
1 parent 219c7c2 commit 9081c6aCopy full SHA for 9081c6a
playground/update.sh
@@ -36,4 +36,5 @@ cp -r $GOROOT/pkg/darwin_amd64_js_min/* $PKG
36
rm -r /tmp/gopherjsplayground_goroot
37
rm -r /tmp/gopherjsplayground_gopath
38
39
-rename 's/\.a/\.a.js/' $(find $PKG -name "*.a")
+# Rename all *.a files in $PKG to *.a.js.
40
+find "$PKG" -name "*.a" -exec sh -c 'mv $0 $0.js' {} \;
0 commit comments