Sencha Cmd: direct build output to multiple folders - extjs

sencha app build command has an option --destination, -des:
--destination, -des - The directory to which the build output is written
Is there a convenient way to direct the build output into two (or more) separate folders?
It's possible to copy all build artifacts into desired location(s), but if there're multiple apps being built and assembled in the same output folder, one will have to selectively choose artifacts .html, .js, app.json, CSS files in resources, etc. that belong to a particular app.

Related

how to remove files from build using vite react

I have few files in diferent folders (for example: tranlations..js, constants..js). I want to remove files from my build, because one customer doesn't need know about another customers, but you can see variables in Source page. So, i need to config build and remove files witch are for another customer, how I can do it by Vite in react app?
I didn't find solution or library that can help me

How to put all react production build files in single level root folder without keeping directory tree in static

This is my first time I am working with IPFS together with React.
Judging from the reactjs examples, the code to run the website itself does not different from non-IPFS-based website.
As per documentation of the hosting I use (www.unstoppabledomains.com), in order to be compliant to IPFS, I need to have all files in same directory level.
The command npm run build produces default react directory structure with static folder and its child folders for css, js and media.
Therefore, how to achieve that all files, produced by build target, is in same level (a.k.a there is no folder static and no subfolders)?
There's no requirement for any specific directory setup to use IPFS, you can structure your project however you see fit.
Are you seeing an error message or other problem?

Angular 4 ng build with one environment file for different environments

In our project ng build run 4-5 minutes at least. For creation builds for 5 environments we need wait 20-25 minutes.
ng build command create dist directory.
If it possible to run ng build for one environment, but in the environment. ts file gets properties from a JSON file.
In this way, I will create one build and will add for each environment only JSON file. This needs to be more quickly because I only create zip files from dist directory with different JSON file. and not make build 5 times.
Any idias?
Thanks

Adding additional libraries to solr's war file

To simplify process of deploying my applications i want to add some libraries to war file.
I expect to have all-in-one war file which i deploy under tomcat, and separated solr core directory in another location. Currently im using war file from dist directory and separated directory with these libraries linked in solrconfig.xml, but due to differences between production and development enviroment it's not possible to mantain such configuration without pain.
I want to distribute single war-file with all libraries compilled.
It is possible, if yes, how?
Place your libs into WEB-INF/libs folder in .war archive.

TeamCity - Copy files from commit that triggered build

I am using the "VCS Trigger" trigger: "Triggers one build per each VCS check-in".
I have two Build steps:
One that runs the .sln file
Another that copies files to the destination webroot.
Is there a way to configure TeamCity so that it only copies to the destination webroot the files that were part of the commit that triggered the build process?
I would not recommend that, since .net solutions are bundled together so that files from one build may not work in another build. At least that is my experience...

Resources