Rush • A new and improved way of building extensions

If we can use UTF codes someway for special characters, it will be good?

Example:

description: Extension component for TextHighlighter. \u000a  By Kumaraswamy Created using Rush.
1 Like

With this, it won't even let me compile the extension. Although, that's definitely a valid YAML syntax. I guess it's a bug in the YAML parsing library I'm using for the annotation processor... :thinking:

Maybe it would be better if Rush detected the multiline YAML strings and automatically added the <br> tags to the compiled extension. Will try to add this feature in a future release.

This isn't valid YAML, BTW.

2 Likes

:sparkles: Rush 1.1.1 :sparkles:


What's new :face_with_monocle:


  • You can now see how much time each build took.

    timestamp

  • ...umm, yeah. That's it. This is not a major release after all.

Bug fixes :beetle:


  • Fixed the inconsistent behavior of property-type blocks. [ref]

  • Fixed the issue where the extension's assets and the license file won't get compiled within the AIX file.

  • Fixed the unnecessary invalidation of caches while building the extension. This resulted in slightly increased build times.

  • Fixed the issue that sometimes caused the Java warning to show more than once.

  • Fixed some other minor issues.

Internal changes :dart:


  • There's been quite a few improvements in the working of the Rush installer (a.k.a rush-init). You, as an end-user, won't notice many changes (expect the perky progress bar :wink:), but this will lay the foundation for an upcoming feature that will allow you to upgrade Rush without leaving your terminal.

Installation :wrench:


  • If you already have Rush installed on your computer, simply download the Rush installer for your OS from the latest release and run it.

  • If you don't have Rush installed, follow this wiki to install it.


Cheers,
Shreyash
6 Likes

Rush 1.1.2 HOTFIX


With the previous release (v1.1.1), an issue cropped up that caused the APK creation to fail if the extension used any external library.

So, if you recently upgraded Rush to v1.1.1, I urge you to upgrade it to v1.1.2 ASAP.

Bug fixes :beetle:


  • Fixed the issue that caused APK creation to fail when using external libraries.

Installation :wrench:


  • If you already have Rush installed on your computer, simply download the Rush installer for your OS from the latest release (v1.1.2), and then run it (it will only update the affected files).

  • If you don't have Rush installed, follow this wiki to install it.


Cheers,
Shreyash
4 Likes

Greats news ,,:heart_eyes::kissing_heart::smiling_face_with_three_hearts:

I'm try add an ad extension,
I'm still get error if app build sir @shreyash


I'm write extension with assets "audience_network.dex"
I have add config in rush.yml
On line asset
icon : icon.png
other:
- audience_network.dex
File asset in folder asset/auidence_network.dex

Is rush not support other asset like dex file :thinking:

1 Like

Use of DEX files in assets isn't yet supported in Rush. I've got a couple more requests for this feature earlier. I haven't tested anything, but I guess it should be possible to implement it. Although, don't keep your expectations high, I can't promise anything.

6 Likes

Ok sir @shreyash
Rush is Good Work and very helpful ,:+1: :sparkles::sparkles:

:star::star::star::star::star: For Rush :+1::sparkles::kissing_heart::heart_eyes::smiling_face_with_three_hearts:

3 Likes

When I click enter key in rush it closes automatically

2 Likes

As it says in the output, you already have the latest version of Rush on your PC. If you want to create a new extension project, you should run rush create <extension-name>.

1 Like

But when I press enter key oit automatically closes

2 Likes

What you're talking about is Rush's installer (rush-init). You only need to run it once -- for installing Rush, which I guess you've already done.

Now, in order to create a new extension project, you need to run the following command (I assume you've updated the PATH env variable as mentioned here):

rush create <extension-name>

Here, <extension-name> is the name of your extension, for example, dynamic-components.

1 Like

I am talking about rush-int-win.exe

2 Likes

I guess, this is just for installing rush-cli. Run the terminal in the directory where you want to create your extension and use the following command.

2 Likes

Not woking it automatically closes

2 Likes

It's either a language problem, or you're just way too ignorant. Whatever the case is, all I can do is suggest you read the old replies over again. Constantly repeating the same thing, without trying to understand what others are saying, is just entitled and disrespectful.

3 Likes

Are you saying that when you type:

rush create <extension-name>

and press return, your terminal window closes, instead of offering you the extension setup options of package name etc. ?

4 Likes

Yes you are correct

2 Likes

image

Looking from the screenshot he is trying to run Rush from the installer, like @shreyash said, instead of from the installed version. See the last line.

4 Likes

There is no any installed version

1 Like

When reinstalling rush I get this:

1 Like