392
edits
No edit summary |
No edit summary |
||
Line 51: | Line 51: | ||
::::::::: BTW, if you want to return the repository to its pristine state, there are two useful commands: 'git reset --hard' to restore files tracked by Git to their state in HEAD (this is equivalent to 'git reset --hard HEAD') and variants of 'git clean -df'. (use -n to see what would be done without doing it, and see 'git clean --help' for other options). This avoids having to clone the repo more often than needed... | ::::::::: BTW, if you want to return the repository to its pristine state, there are two useful commands: 'git reset --hard' to restore files tracked by Git to their state in HEAD (this is equivalent to 'git reset --hard HEAD') and variants of 'git clean -df'. (use -n to see what would be done without doing it, and see 'git clean --help' for other options). This avoids having to clone the repo more often than needed... | ||
::::::::: --[[User:Rominet|Rominet]] ([[User talk:Rominet|talk]]) 03:21, 8 October 2017 (EDT) | ::::::::: --[[User:Rominet|Rominet]] ([[User talk:Rominet|talk]]) 03:21, 8 October 2017 (EDT) | ||
:::::::::: Well, not exactly ugly, just more hackish and even less user friendly: | |||
cd $FG_SRC_DIR | |||
<nowiki>git clone https://git.code.sf.net/p/libplib/code libplib.git</nowiki> | |||
cd libplib.git | |||
echo "1.8.6" > version | |||
sed s/PLIB_TINY_VERSION\ \ 5/PLIB_TINY_VERSION\ \ 6/ -i src/util/ul.h | |||
git add version src/util/ul.h && git commit --message "Increase tiny version to 6." | |||
mkdir $FG_SRC_DIR/build-plib && cd $FG_SRC_DIR/build-plib | |||
cmake -D CMAKE_INSTALL_PREFIX:PATH="$FG_INSTALL_DIR" $FG_SRC_DIR/libplib.git | |||
make -j2 && make install | |||
:::::::::: --[[User:Flughund|Flughund]] ([[User talk:Flughund|talk]]) 05:40, 8 October 2017 (EDT) |
edits