Coder Social home page Coder Social logo

Build project with a fixed path about fireapp HOT 13 CLOSED

kkbox avatar kkbox commented on August 23, 2024
Build project with a fixed path

from fireapp.

Comments (13)

William-Owen avatar William-Owen commented on August 23, 2024

I agree.

It would be fantastic if the current behaviour of creating time-stamped folders could be supplemented with the option to specify a single target build directory, this would then be deleted and re-created on build.

The option to define a path for the time-stamped folders or the target directory would be great.

These options should be set on a per-project basis, possibly as part of config.rb ?

from fireapp.

hlb avatar hlb commented on August 23, 2024

Does "delete and recreate" work for everyone?

from fireapp.

William-Owen avatar William-Owen commented on August 23, 2024

I can't speak for everyone but as an option that would be very useful.

from fireapp.

SimonWpt avatar SimonWpt commented on August 23, 2024

"delete and recreate" for a fixed path? Yes:-)

from fireapp.

William-Owen avatar William-Owen commented on August 23, 2024

Out of interest is there a work around / hack anyone could suggest as a short term remedy? This is killing my workflow.

I have had a dig around for some sort of config change I could make and looked at apps that might watch the folder and check for a new build_xxxxxxxxxxxx directory and then move it but I can't find anything that would do the job.

Any suggestions appreciated.

from fireapp.

hlb avatar hlb commented on August 23, 2024

It might be dangerous if user can specify the build location anywhere. Ex: "/", "~/", "c:", ...

We would like to implement in this way:

  • You can create a "fireapp.config" in your project folder
  • There will be a "random_build_folder" option, default: true
  • If you set random_build_folder = false, Fire.app will always generate the build in "build/" folder, not "build_xxxxxx".

Does it work for you?

from fireapp.

SimonWpt avatar SimonWpt commented on August 23, 2024

Not the easy way, but it is OK for me:)

from fireapp.

William-Owen avatar William-Owen commented on August 23, 2024

I am sure that given the options to allow a build anywhere some people could find somewhere silly to build it, but I think that it should be a allowed as this would allow for the best application flexibility.

Other than that I think it would be cool if the file had the following settings

build_folder_path ""

  • If no set this would default to the /build directory based on the application path

build_to_timestamped_folder = true

  • default behaviour, if set to false the code would be built to the root of the build path folder.

from fireapp.

SimonWpt avatar SimonWpt commented on August 23, 2024

Why not integrating it in the config.rb? There is no need for a new config-file.

from fireapp.

William-Owen avatar William-Owen commented on August 23, 2024

I wondered that but I would guess that its not Ruby that would be doing the work.

from fireapp.

hlb avatar hlb commented on August 23, 2024

@SimonWpt because config.rb is compass's config file, and we don't want to mix it.

from fireapp.

lggarrison avatar lggarrison commented on August 23, 2024

I would like the option to define a path for the time-stamped folders. Thanks.

from fireapp.

hlb avatar hlb commented on August 23, 2024

It is done in Fire.app 1.2, but there is no UI option (yet).

HOWTO: You can add fireapp_build_path="foo" in config.rb, and it will build project to project_path/foo. When Fire.app build a project, it will delete the folder first, then regenerate it.

DANGER: If you add fireapp_build_path="/path/to/build/folder/path" in config.rb, it will build project to /path/to/build/folder/path. If you write "/Users/foo", your home folder may be removed.

from fireapp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.