builder

package builder
Log | Files | Refs | Submodules | README | LICENSE | git clone https://git.ne02ptzero.me/git/builder

commit 789679cf7181cd99ee8f73f5dacfbbd2ad3fd4cc
parent a967363d9cc1a8dbc17126b9ef9f46bf44d0e50b
Author: Jules H├ęzard <hezardj@gmail.com>
Date:   Wed, 22 Feb 2017 02:52:53 +0100

Merge pull request #1 from Morphux/unstable

Add(Apache License)
Diffstat:
MMakefile | 2+-
Minc/args.h | 26+++++++++++++++-----------
Minc/builder.h | 26+++++++++++++++-----------
Msrc/args.c | 26+++++++++++++++-----------
Msrc/main.c | 26+++++++++++++++-----------
Mtests/Makefile | 16++++++++++++++++
Mtests/main.c | 16++++++++++++++++
Mtests/test.h | 16++++++++++++++++
8 files changed, 109 insertions(+), 45 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,5 +1,5 @@ ################################# LICENSE #################################### -# Copyright 2016 Morphux # +# Copyright 2017 Morphux # # # # Licensed under the Apache License, Version 2.0 (the "License"); # # you may not use this file except in compliance with the License. # diff --git a/inc/args.h b/inc/args.h @@ -1,14 +1,18 @@ -/* ************************************************************************** */ -/* */ -/* ::: :::::::: */ -/* args.h :+: :+: :+: */ -/* +:+ +:+ +:+ */ -/* By: jhezard <jhezard@student.42.fr> +#+ +:+ +#+ */ -/* +#+#+#+#+#+ +#+ */ -/* Created: 2017/01/21 19:21:05 by jhezard #+# #+# */ -/* Updated: 2017/01/21 19:30:05 by jhezard ### ########.fr */ -/* */ -/* ************************************************************************** */ +/*********************************** LICENSE **********************************\ +* Copyright 2017 Morphux * +* * +* Licensed under the Apache License, Version 2.0 (the "License"); * +* you may not use this file except in compliance with the License. * +* You may obtain a copy of the License at * +* * +* http://www.apache.org/licenses/LICENSE-2.0 * +* * +* Unless required by applicable law or agreed to in writing, software * +* distributed under the License is distributed on an "AS IS" BASIS, * +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * +* See the License for the specific language governing permissions and * +* limitations under the License. * +\******************************************************************************/ #ifndef ARGS_H # define ARGS_H diff --git a/inc/builder.h b/inc/builder.h @@ -1,14 +1,18 @@ -/* ************************************************************************** */ -/* */ -/* ::: :::::::: */ -/* builder.h :+: :+: :+: */ -/* +:+ +:+ +:+ */ -/* By: jhezard <jhezard@student.42.fr> +#+ +:+ +#+ */ -/* +#+#+#+#+#+ +#+ */ -/* Created: 2017/01/21 17:43:23 by jhezard #+# #+# */ -/* Updated: 2017/01/21 19:30:53 by jhezard ### ########.fr */ -/* */ -/* ************************************************************************** */ +/*********************************** LICENSE **********************************\ +* Copyright 2017 Morphux * +* * +* Licensed under the Apache License, Version 2.0 (the "License"); * +* you may not use this file except in compliance with the License. * +* You may obtain a copy of the License at * +* * +* http://www.apache.org/licenses/LICENSE-2.0 * +* * +* Unless required by applicable law or agreed to in writing, software * +* distributed under the License is distributed on an "AS IS" BASIS, * +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * +* See the License for the specific language governing permissions and * +* limitations under the License. * +\******************************************************************************/ #ifndef BUILDER_H # define BUILDER_H diff --git a/src/args.c b/src/args.c @@ -1,14 +1,18 @@ -/* ************************************************************************** */ -/* */ -/* ::: :::::::: */ -/* args.c :+: :+: :+: */ -/* +:+ +:+ +:+ */ -/* By: jhezard <jhezard@student.42.fr> +#+ +:+ +#+ */ -/* +#+#+#+#+#+ +#+ */ -/* Created: 2017/01/21 19:20:41 by jhezard #+# #+# */ -/* Updated: 2017/01/21 19:37:34 by jhezard ### ########.fr */ -/* */ -/* ************************************************************************** */ +/*********************************** LICENSE **********************************\ +* Copyright 2017 Morphux * +* * +* Licensed under the Apache License, Version 2.0 (the "License"); * +* you may not use this file except in compliance with the License. * +* You may obtain a copy of the License at * +* * +* http://www.apache.org/licenses/LICENSE-2.0 * +* * +* Unless required by applicable law or agreed to in writing, software * +* distributed under the License is distributed on an "AS IS" BASIS, * +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * +* See the License for the specific language governing permissions and * +* limitations under the License. * +\******************************************************************************/ #include <builder.h> diff --git a/src/main.c b/src/main.c @@ -1,14 +1,18 @@ -/* ************************************************************************** */ -/* */ -/* ::: :::::::: */ -/* main.c :+: :+: :+: */ -/* +:+ +:+ +:+ */ -/* By: jhezard <jhezard@student.42.fr> +#+ +:+ +#+ */ -/* +#+#+#+#+#+ +#+ */ -/* Created: 2017/01/21 17:04:29 by jhezard #+# #+# */ -/* Updated: 2017/01/22 13:44:33 by jhezard ### ########.fr */ -/* */ -/* ************************************************************************** */ +/*********************************** LICENSE **********************************\ +* Copyright 2017 Morphux * +* * +* Licensed under the Apache License, Version 2.0 (the "License"); * +* you may not use this file except in compliance with the License. * +* You may obtain a copy of the License at * +* * +* http://www.apache.org/licenses/LICENSE-2.0 * +* * +* Unless required by applicable law or agreed to in writing, software * +* distributed under the License is distributed on an "AS IS" BASIS, * +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * +* See the License for the specific language governing permissions and * +* limitations under the License. * +\******************************************************************************/ #include <builder.h> #include <sys/types.h> diff --git a/tests/Makefile b/tests/Makefile @@ -1,3 +1,19 @@ +################################# LICENSE #################################### +# Copyright 2017 Morphux # +# # +# Licensed under the Apache License, Version 2.0 (the "License"); # +# you may not use this file except in compliance with the License. # +# You may obtain a copy of the License at # +# # +# http://www.apache.org/licenses/LICENSE-2.0 # +# # +# Unless required by applicable law or agreed to in writing, software # +# distributed under the License is distributed on an "AS IS" BASIS, # +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # +# See the License for the specific language governing permissions and # +# limitations under the License. # +################################################################################ + NAME = test CC = gcc CFLAGS = -Wall -Wextra -Wno-unused-result -g -O3 -I../lib/inc -lmorphux diff --git a/tests/main.c b/tests/main.c @@ -1,3 +1,19 @@ +/*********************************** LICENSE **********************************\ +* Copyright 2017 Morphux * +* * +* Licensed under the Apache License, Version 2.0 (the "License"); * +* you may not use this file except in compliance with the License. * +* You may obtain a copy of the License at * +* * +* http://www.apache.org/licenses/LICENSE-2.0 * +* * +* Unless required by applicable law or agreed to in writing, software * +* distributed under the License is distributed on an "AS IS" BASIS, * +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * +* See the License for the specific language governing permissions and * +* limitations under the License. * +\******************************************************************************/ + #include "test.h" TEST(main) { diff --git a/tests/test.h b/tests/test.h @@ -1,3 +1,19 @@ +/*********************************** LICENSE **********************************\ +* Copyright 2017 Morphux * +* * +* Licensed under the Apache License, Version 2.0 (the "License"); * +* you may not use this file except in compliance with the License. * +* You may obtain a copy of the License at * +* * +* http://www.apache.org/licenses/LICENSE-2.0 * +* * +* Unless required by applicable law or agreed to in writing, software * +* distributed under the License is distributed on an "AS IS" BASIS, * +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * +* See the License for the specific language governing permissions and * +* limitations under the License. * +\******************************************************************************/ + #ifndef TEST_H # define TEST_H