diff options
author | Alexandre Flament <alex@al-f.net> | 2021-06-28 10:53:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-28 10:53:32 +0200 |
commit | 30e4a2a2249547c59c1d0b5d5e443e093b311e68 (patch) | |
tree | 69c817fd0f2186ddbd3f3b3c4e5e35394c8eaff2 /docs | |
parent | 7308709b8bfb9eaecaf66ec05c2965942b409c8e (diff) | |
parent | d29094579b335f330a08156c814fcc5fb23f1856 (diff) | |
download | searxng-30e4a2a2249547c59c1d0b5d5e443e093b311e68.tar.gz searxng-30e4a2a2249547c59c1d0b5d5e443e093b311e68.zip |
Merge pull request #174 from searxng/static_script
[mod] add make targets to manage the build files in the /searx/static directory
Diffstat (limited to 'docs')
-rw-r--r-- | docs/dev/quickstart.rst | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/docs/dev/quickstart.rst b/docs/dev/quickstart.rst index 74bb52960..8132bccc4 100644 --- a/docs/dev/quickstart.rst +++ b/docs/dev/quickstart.rst @@ -29,7 +29,7 @@ If you implement themes, you will need to compile styles and JavaScript before .. code:: sh - make themes + make themes.all Don't forget to install npm_ first. @@ -53,3 +53,24 @@ Don't forget to install npm_ first. sudo -H dnf install npm +If you finished your *tests* you can start to commit your changes. To separate +the changed code from the build products first run: + +.. code:: sh + + make static.build.restore + +This will restore the old build products and only your changes of the code +remain in the working tree which can now be added & commited. When all sources +are commited, you can commit the build products simply by: + +.. code:: sh + + make static.build.commit + +Commiting the build products should be the last step, just before you send us +your PR. There is also a make target to rewind this last build commit: + +.. code:: sh + + make static.build.drop |